Archived Months
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
January 2008
June 2008
all groups > flash actionscript > july 2004 > threads for friday july 16

Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31

Problems attaching mc.onPress function to clip
Posted by michaelp767 at 7/16/2004 10:34:24 PM
Hello, I am working on a photo gallery where I am trying to get the thumbnails to dynamically generated from a file. I have got that working properly (thanks kglad), but I can not get the mc.onPress function to render onto each clip. I have attached the code that generates the clip, ...more >>


fast forward & rewind
Posted by ~x~ at 7/16/2004 10:22:55 PM
Hello, I am working on flash video presentation and would like to give users full control over the movie playback. Play, pause and stop are no problem, but what about "fast forward" or "rewind" playback controllers? How do I code it? If play is: on (release) { play(); } how do...more >>

setRGB on MC button roll-over
Posted by Rob at 7/16/2004 9:59:27 PM
I have a movieclip with an instance name of buttonMC. I'd like it to change color when moused over. This is the script I'm trying but it isn't working: buttonMC.onRollOver = function() { _root.buttonMC.setRGB(0xff0000); }; Any suggestions on what I'm doing wrong? Thanks! Rob ...more >>

Controlling Sound (avi's mpegs)
Posted by IwannaFlashU at 7/16/2004 9:58:50 PM
I am trying to make a video player in flash and am almost done. The last thing I need to do is add a mute button and a volume control. The problem is, all of the commands that I have found, deal with controlling sound objects. I am trying to mute/unmute and vary the volume of the audio track...more >>

cellEdit event on custom cell renderer
Posted by bobpf at 7/16/2004 9:47:18 PM
All, I have a custom cell renderer (a checkbox) in which I fire an event (cellEdit) and expected it to traverse back to the listener object. I never see the message come through. Any help would be appreciated. See code below (lots of code chopped out for clarity) class myClass{ ...more >>

PLAYING EXTERNAL FLV on a CD presentation
Posted by raulcenteno at 7/16/2004 9:33:47 PM
Hi i'm from Mexico, my english is not good but i'll try to expose my problem: I'm trying to develope a CD presentation, this presentation includes Video. I use the media display component to play an external FLV file. Until this point everything is OK, the video plays very good, i mean exc...more >>

glint text
Posted by davidrule at 7/16/2004 9:15:51 PM
I try to make a glint text effect following this article : http://www.flashkit.com/tutorials/Text_Effects/Making_T-Beyond_S-525/index.php I am sure I have followed every steps. The summary of the process is: 1)make a layer with some texts 2)make a layer with a rectangle. 3)change the ...more >>

array question
Posted by DJAnim8 at 7/16/2004 8:36:17 PM
I was trying to do a search but its saying its temporarily unavailable.. so sorry if this is a duplicate. We're loading a variable in from ASP and its coming in as html code ie: Line1<br>Line2<br>Line3<br> etc.. I want to be able to take the <br> and use that as a breaking point for an ...more >>



search for string in text
Posted by smfteacher at 7/16/2004 8:29:45 PM
I am trying to create a script that will search for a number within a text field. I want to make sure the text the user inputs contains a number. I don't care where the number is within the input text just that it is there. I found http://www.macromedia.com/cfusion/webforums/forum/messageview....more >>

Setting color of a mouse-over using a variable
Posted by Rob at 7/16/2004 7:31:41 PM
Hi, I'm trying to use a variable to set the color of a button's mouse-over state and I'm having some trouble. I am loading a variable called 'accentColor' from an external text file. I have been able to succesfully change the color of the screen border with this code; myColor = new Color(...more >>

browser control
Posted by tweakend at 7/16/2004 7:14:21 PM
can someone tell me the script to control the browser window? i'm looking to have a flash nav bar that loads html pages. thanks for the help....more >>

count lines of actionscript code
Posted by jmurphy02 at 7/16/2004 6:22:21 PM
Is there an easy way to count the total lines of code in a fla file. Thanks...more >>

Scramble & visibility problem with script
Posted by kouki2 at 7/16/2004 6:20:25 PM
I'm having a problem with my code, and I was wondering if someone could help me correct it: - I have one MC (placeHolder) on the timeline, that has 5 MC children (photo1-5) - I have the following code which is supposed to randomly select 1 of the 5 MCs and play them (or turn the visibili...more >>

Filing to a cgi-bin?
Posted by Rob NO[at]SPAM marsh at 7/16/2004 6:12:59 PM
How do I save a file or a Flash MX document to a cgi-bin or a folder on my server If I am viewing it online??????...more >>

Problems with Sound
Posted by suicidePills at 7/16/2004 5:51:19 PM
What might cause a downloaded mp3 file which is loaded into a flash movie via soundObject.loadSound() to be played faster than it was recorded? The mp3 file seems to be playing at 3 times the speed. thanks ...more >>

actonscript: Looping sounds
Posted by wildteen88 at 7/16/2004 5:25:33 PM
Hello flash expertz, I am completely new to flash. I have just got the the basics to flash, (which I am using the help topics in flash to help me with my animations or my lil apps I make.) My question to you is this. I am trying to make a small sound remix app. In this app I have 4 ...more >>

new does not work
Posted by bobpf at 7/16/2004 5:09:35 PM
What would be possible causes of the following: var myObject:myClass = new myClass(); trace("myClass = " + myObject); <==== This prints "myClass=undefined"!!!! class myClass{ public myClass(){} ...other methods... } ...more >>

Stopping an MC on current frame??
Posted by Neil at 7/16/2004 5:07:34 PM
Hi there, i have a movie clip (scroller) which has a tween within it which is portion of text which scrolls accross the screen (it has my song title). I have buttons on my main stage, these are contained within an mc called (buttons). I want it so that when i click the stop button, it sto...more >>

Accessing my Variable - Very Simple Problem ??
Posted by Joe at 7/16/2004 5:04:15 PM
Hi there, i have a movie clip on my stage: - scroller this contains another mc: - text and within this there is a dynamic text field: - text i also have an mp3 which is loaded within another mc on my stage called: - music the script to load this is (frame 1): stop(); ...more >>

scrolling movie clip
Posted by JackFoley3215 at 7/16/2004 4:51:11 PM
Hi. I have a horizontal movieclip that I want to scroll. I want to use two arrows that I've made; one facing left and one facing right. When I click down on the arrows I want the movie clip to continue to scroll till either it gets to the end or till the user releases the arrow. Anyone kno...more >>

Debugging
Posted by bobpf at 7/16/2004 4:07:39 PM
How do I debug into a custom component?...more >>

reset dateField
Posted by Jeremy J. at 7/16/2004 4:05:13 PM
How do I set the dateField text to nothing? I have tried dateField.text = ""; and dateField.value = ""; but that does not seem to work. Any suggestions would be greatly appreciated....more >>

Can't get indexOf to work
Posted by mheddle at 7/16/2004 3:57:01 PM
I have a function that takes input text and searches a text string for the indexOf of that imput and then traces it. There is no code errors, but it doesn't display anything. Here's the code: function searchText() { var Input:String = tiSearch.text; var nIndex1:Number = _global.tex...more >>

Text Highlight Color in Input Fields
Posted by GifBoy111 at 7/16/2004 3:56:16 PM
Is there any way to change the highlight color of input text? I have an input field on a black background, and the highlight color is black, so you can't tell if the text is highlighted! I can't seem to find a property to modify for this... ...more >>

Prompt up a new windows
Posted by treotreo at 7/16/2004 3:42:36 PM
I want to know how to make a button/ text into the Flash movie and after the click it will be prompt up a new window!! How to make it? ...more >>

JPEG from library
Posted by lanuk at 7/16/2004 3:39:05 PM
I'm making a simple image gallery. Most advice I can find online focuses on how to grab external JPEGS (using loadmovie) to create a gallery. For various reasons, I can't have external files. I've included all the JPEG images into my library. I can't for the life of me figure out how to grab t...more >>

Frames set navigation tell movie which frame from HTML help...
Posted by J formerly private news at 7/16/2004 2:55:03 PM
Hi all, I have a website under development http://www.itfutures-uk.com/test/testind.htm and frames OMGG are used, to compensate for crappy search engine ratings as a result im setting up a spoof 'noframe' site that means the 'user' or 'spider' will be able to navigate arround all the pag...more >>

_visible utilisation
Posted by Fel_911 at 7/16/2004 2:54:57 PM
I want to set the mc "usinage" visible when I rollover a button. It stay visible until I roll over a ohter button that will set anoher mc visible. ex "hydraulique". My var is right I used this code on the first frame: usinage._visible = 0; if (right = "1") { usinage._visible = 1; ...more >>

line flows
Posted by firetoady at 7/16/2004 2:54:23 PM
Has anyone out there come up with a better way to flow a line from point a to point b to point c(point c being a downward flow) than by using masking or the shape tween? Is there a script out there perhaps? If anyone has any ideas I'd be happy to try it out. thanks firetoady. ...more >>

Positioning A New WIndow
Posted by mattinmich at 7/16/2004 2:53:23 PM
In the past I've used the following block of script to make a button open a new window. How can I modify it to make the window open in the upper right hand corner of the screen? on (press) { param = "www.thebob.com/Emails/BLISSBIG1.swf"; sUrl = "http://"+param; wdth = "640"; hdth = ...more >>

.leading textformat property failing
Posted by amacdonald at 7/16/2004 2:53:00 PM
// set text formatting object var format = new TextFormat(); format.size = 16; format.leading = -5; // create textfield this.createTextField("tfield",1,0,0,0,0); this.tfield.autoSize = true; this.tfield.wordWrap = true; this.tfield.multiline = true; this.tfield.text = "This is an e...more >>

getting nodeValue from xml document
Posted by mheddle at 7/16/2004 2:35:26 PM
I have text from an xml document that I am trying to display. I used the code: textarea = lvMod.firstChild.childNodes[3].lastChild.nodeValue(); trace(textarea); but I keep getting null How do I get the text to display? ...more >>

loadMovieNum and unload at a different point
Posted by Lmad at 7/16/2004 2:27:53 PM
I have one main .swf and am trying to load an external .swf (game.swf) full screen which contaiins a button to unload it, this works fine using the loadMovieNum command. BUT when the the game .swf unloads the main movie needs to have moved on to the next scene and play immediatley. Below is th...more >>

Button Issue
Posted by bigjrb at 7/16/2004 2:25:33 PM
I am having a problem with a button flashing. When I place the cursor on the button everything looks great. If I move the cursor above the button it starts flashing. The button is nested in a mc on the stage. I have checked the properties and all appear to be correct. I have placed a small sam...more >>

Loading variables
Posted by ecuafencer at 7/16/2004 2:23:56 PM
I am making flash movie that loads 4 different other swf filesand displays them on the screen. The problem that I have is that I also need to load some text from a .dat file and display in in the loaded movies. I tred loading them from the imported movies and from the main movie but I can't ge...more >>

loadSound issues
Posted by schk at 7/16/2004 1:23:43 PM
I'm new to actionscript and just started to code an mp3 player in actionscript 2.0 and have the latest flash player installed on both my mac and pc. The problem is that I have no control on terminating a download of an mp3 file that has started to load via loadSound. Since I have previous and ...more >>

Run C++ from Flash
Posted by Kev P at 7/16/2004 12:21:15 PM
Does anyone know how i would run a C++ program in the form of a .exe and pass it parameters and retrieve the output so i could display it on the movies layer in a text field?...more >>

Drag N' Drop Help
Posted by GladLock at 7/16/2004 12:19:52 PM
Okay, I'm creating a drag n' drop type game and everything works fine except for the fact that once an item is dropped into the correct spot the user can still move the item around. I want the user not to be able to move an item if they got the positioning correct. Any ideas? Attached is th...more >>

Window component
Posted by vasuk at 7/16/2004 11:29:30 AM
I am able to display new windows(more than one) using Window component dynamically in actionscript. But not able to switch between them. I have to close top window to activate below window. Is there a solution to this problem? Thanks in advance. ...more >>

Cache
Posted by vasuk at 7/16/2004 11:20:50 AM
How do i disable cache from action script? I tred by adding below tages in HTML page, but no use. <META HTTP-EQUIV="PRAGMA" CONTENT="NO-CACHE"> <META HTTP-EQUIV="Expires" CONTENT="Mon, 04 Dec 1999 21:29:02 GMT"> Thanks in advance. -kv ...more >>

Flash and CSS tooltips
Posted by Edwin Merced at 7/16/2004 11:14:19 AM
Does Flash support CSS tooltips? Any examples out there? ...more >>

Saving text to disk
Posted by Fagerheim at 7/16/2004 11:08:24 AM
Hello I have made a projector file that will run on a local computer. The flash file is a quiz for use on a product marked, and the question is ; when the users answer corect, is it possible to save the persons name and adress to the local disk without having a database ? ...more >>

Accesing clips from main movie
Posted by Edwin Merced at 7/16/2004 10:18:47 AM
How can I acces child clips from an attached movie? I create an empty Movie clip and load swf into them How do I access child clips of the imported swf from the main movie? ...more >>

stand alone flash player download
Posted by _frula at 7/16/2004 10:17:58 AM
Hy, I need web adress where I can downlod Stand Alone Flash Player. thanx in advance, _frula ...more >>

How-to? loadmove after mc position chng
Posted by waveturtle at 7/16/2004 10:05:14 AM
I have a movie clip that slides along the x axis when a button is pressed. A swf is loaded when the button is pressed as well. Can someone give me an idea on how I could make the swf NOT load UNTIL the sliding movie clip has stopped? I've tried using setInterval, but the swf doesn't alw...more >>

Arrays in Classes are Static
Posted by colic at 7/16/2004 8:38:07 AM
I have come across a problem implementing an array within a Class. I was trying to create a Class which has an array within it (array of players within a Team instance). The problem is that the array is shared across both instances of the Team class, even though i have not explicitly defined...more >>

Track 'n' Field type powerbar. How?
Posted by mrdogcat at 7/16/2004 8:27:58 AM
Remember those old arcade games like Track 'n' Field, where you had to basically smash your keyboard to bits to gain enough speed to make your little athlete run and win the 100 meters race Good weren't they? I need to create a powerbar along the same principle, so when I'm banging the ...more >>

Track 'n' Field type powerbar. How?
Posted by mrdogcat at 7/16/2004 8:27:53 AM
Remember those old arcade games like Track 'n' Field, where you had to basically smash your keyboard to bits to gain enough speed to make your little athlete run and win the 100 meters race Good weren't they? I need to create a powerbar along the same principle, so when I'm banging the ...more >>

ActionScript to login into Cold Fusion Program
Posted by springdotnet at 7/16/2004 4:45:18 AM
on (release, keyPress "<Enter>") { // var status = ""; if (IssueUserName ne "" && IssuePassword ne "") { loadVariablesNum("http://localhost/dvillusion/ClientLogin.cfm?Act=Login&IssueU serName="+IssueUserName+"&IssuePassword="+IssuePassword+"&time="+getTimer(), "0", "POST"); // if ...more >>

Text Color Again
Posted by Baxeru at 7/16/2004 1:34:54 AM
Sorry for the mistake How can i change the text color of my text area? Sugggestion will be appreciated ...more >>

Text Color
Posted by Baxeru at 7/16/2004 1:30:21 AM
Now that i learned to make transparent backgrounds, How can i change my text of my textarea box? advice will be appreciated....more >>

this[] doesnt wokr...help
Posted by smartbei at 7/16/2004 1:18:59 AM
hi, in the mini-game im developing i have a small square that you have to move to the objective but not touch any of the obstacles. to check if the square has hit any obstacles (which are named "lines0_mc" to "lines15_mc"), i currently have: for (var i=0; i <16; i++) { if (ball_mc.hit...more >>

Accessing component inside AttachMovie
Posted by maulia at 7/16/2004 1:16:13 AM
// I'm attaching a movie dynamically _root.attachMovie("mcA","mcA",10); mcA movieclip contains a List (lbAddress), ComboBox (cmbAge) and Text (txtName) // this works _root.mcA.txtName.text = "Tom"; // but these does not _root.mcA.lbAddress.removeAll(); _root.mcA.lbAddress.addItem...more >>

Background color & formatting of dynamic textbox
Posted by Francesca NY at 7/16/2004 1:03:50 AM
Hi there, I have a dynamic textbox that loads from a .txt file which i have scripted to scroll wit the helpof a tutorial that did most of the coding for me. Is there a way to format this so that it's background is not white???? I want my text box the same BG color as my movie etc. Than...more >>


DevelopmentNow Blog