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
all groups > flash actionscript > april 2005 > threads for wednesday april 27

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

Event handlers and LSOs
Posted by Simon Hooper at 4/27/2005 9:28:31 AM
How important is it to use event handlers with local shared objects? I'm creating an app that uses a large number of LSOs and the app will run as a Flash projector. I've never had a problem accessing or writing from/ to a LSO, but I'm wondering if users with slow CPUs will have issues. If I w...more >>


Flash equivalent to
Posted by Richard at 4/27/2005 8:51:52 AM
Is there a Flash equivalent to: <META HTTP-EQUIV="Expires" CONTENT="0"> <META HTTP-EQUIV="Pragma" CONTENT="no-cache"> <META HTTP-EQUIV="Cache-Control" CONTENT="no-store, no-cache, must-revalidate"> That can be added for the Flash Loader: <OBJECT CLASSID="clsid:D27CDB6E-AE6D-11cf-96B8-4...more >>

making a movie clip loop
Posted by JeffSz at 4/27/2005 4:57:12 AM
I know this can't be too hard but I have tried several different methods and I can't seem to make it work. Very simply I want to make a movie clip move across the screen to a certian position and then jump back to the start and do it again, and again. I have no problem making the clip move ...more >>

if statement doesn't terminate
Posted by LSmith4285 at 4/27/2005 12:00:00 AM
Sorry about all the posts on here recently....my honours project is due on friday :( anyway, my latest problem is I have a long if, else if, else if ...... else statement which monitors the location of the counter on my board game. My problem is it doesn't terminate, for example when it ...more >>

Loading External Text & Variables
Posted by Patrick_AK at 4/27/2005 12:00:00 AM
I am hoping that someone can help me with this problem. I would like to load some external text into a dynamic text box. Easy? Sure. BUT.... I'd like to load different text using variables. (see second section of code) The method that I'm using obviously will not work but I'm hoping that...more >>

clearInterval does not run the play();
Posted by borbolla at 4/27/2005 12:00:00 AM
Hi, I just can't get why this is not working, I tried to do it in a new file and works ok, but if using it in a used file does not work, any ideas ? stop(); function ContinuePlaying(){ clearInterval(interID); play(); }; interID = setInterval(ContinuePlaying, 5000); Th...more >>

SharedObject and Array [AS-1]
Posted by norby77 at 4/27/2005 12:00:00 AM
Hi all, I've experience a strange problem with MX2004 - AS 1 - player 6. In my application I've defined some arrays. _root.myarray1 = new Array () _root.myarray1[17] = -1 _root.myarray1[16] = -1 I save it in a local SOL. Cookies = sharedobject.getlocal("game"); Cookies.d...more >>

Adding a item from the library to the screen.
Posted by davidprovost at 4/27/2005 12:00:00 AM
Im trying to get it so that when you push the mouse down it starts adding an mc called "circle" to the screen, and it keeps adding the item to the screen wherever the mouse is at until you release the mouse. So that you can draw stuff. Whats the actioinscript for that? ...more >>



loading random external swf into a flash movie
Posted by Nicole1234 at 4/27/2005 12:00:00 AM
I have searched everywhere for a solution but I cannot seem to find one. I have a flash movie that plays on my html index page. I have three different movies for the homepage that I would like to randomize so that each time you go to the website one of the three movies will play and the websit...more >>

getBytesTotal not working
Posted by domconlon at 4/27/2005 12:00:00 AM
Hi everyone, I am having trouble with a preloader not working. I have an swf file that contains imported video and no other symbols. The preloader assumes that the entire file has loaded immediately and so starts playing the video. Of course the file is fairly large and so the playback fre...more >>

beginGradientFill() question
Posted by jigen3 at 4/27/2005 12:00:00 AM
hi, i looked at the examples for beginGradientFill() and it involves drawing using moveTo(), etc. to draw the actual gradient. however, i'm trying to fill in an already created movieClip, but am having no luck getting any results. here's the code: colors = [ 0x000000, 0xFFFFFF ]; ...more >>

input text box
Posted by Dalis at 4/27/2005 12:00:00 AM
on this site: http://www.dalis.tv/ under mailing list... i'd like to have the input text boxes be transparent, but i can't figure out how - can someone help me? and i'm not very advanced when it comes to scripting, so spell it out clearly.... thanks so much. ...more >>

DuplicateMovie - Depth Question
Posted by Zambino at 4/27/2005 12:00:00 AM
Hi, I have a flash program that I am writing where I have added a movie instances on the stage druring design time and then I duplicate another movie using Duplicate Movie during the run time of the program. The problem I am encountering is that I want the movie that is duplicated during ...more >>

Advancing One Frame
Posted by TechMinister at 4/27/2005 12:00:00 AM
I vaguely remember the ability to advance one frame and stop in previous versions of Flash. I didn't see such a ready-made script in MX Pro. Is there a short way to advance a movie one frame without going through the trouble of naming all of the frames and inserting AS that advances the movi...more >>

replaceSel does not work
Posted by fromsir12 at 4/27/2005 12:00:00 AM
I am trying to use replaceSel but it does not seem to work. Any ideas? I have button and text input field on the stage. Button name is fooButton. Field name is enterText. Code on actions layer: fooButton.onRelease = function(){ Selection.setFocus("enterText"); var len = ...more >>

Multidimensional arrays
Posted by 5D-designer at 4/27/2005 12:00:00 AM
Hi Folks, I have been trying to create a three dimensional array with Flash MX. It seems to me that it does not work. Similar methods to use two dimensional array works just fine. So my question is: is the problemem that I can't do it or is the problem that two dimensions is maximum with F...more >>

Flash Sound Gurus-please help
Posted by UnclePuppy at 4/27/2005 12:00:00 AM
Hey, I have a movie that I am developing that allows the user to start an R/C boat engine and let it run. All fine and dandy so far. Here is a working example: http://www.ccracingengines.com/shopping/aboutus.cfm But I'd like to add functionality to it. Basically, I'd like to add an image...more >>

referring to dynamically created movieclips
Posted by eyal453 at 4/27/2005 12:00:00 AM
Hi. I have an application that recieves information from a database (a list of names of jpg files), it then puts it all in an array, depends on the length of the array, i will create a certain number of movieclip instances on the stage using attachMovie(). after i did that i want to be abl...more >>

Help With Progress Bar
Posted by DaveDmd at 4/27/2005 12:00:00 AM
I have a frame where it calls a load of an external movie clip. The mc has 2 frames. Frame1 is the Component progress bar and frame 2 are layers of graphics and text. I have set up the Progressbar for polled, the source is "_level0". It tells the Progress bar to display the items loading & whe...more >>

Reading Array in Text File
Posted by soft903 at 4/27/2005 12:00:00 AM
Hi All, I want to read an array from text file. myvar=new LoadVars(); myvar.load("Data.txt"); myvar.onLoad=function(success){ trace(this.aryWord[0]); } In Data.txt, I tried 2 versions ver 1: &aryWord=['1','2'] ver 2: &aryWord=new Array("1","2") None work. Should a...more >>

Want to eliminate text in loading movie
Posted by jpodlesnik1 at 4/27/2005 12:00:00 AM
Hello: I created a Flash panel www.veronadesign.biz/cowboy_intro_NEW.html. When you see the loading movie appear, there's annoying black text behind the larger white 'loading' graphic. How do I eliminate this? I want just to keep the larger, white 'loading' text. Any help will be appreciat...more >>

Conditional logic question a quiz
Posted by ichankl at 4/27/2005 12:00:00 AM
I am creating a quiz whereby there are 7 buttons on the "game". 5 out of the 7 buttons are correct answers, which means 2 buttons are incorrect answers. What would be the actionscript if I want to set up the quiz such that if the user clicks on the two "wrong answer" buttons (which "wrong answ...more >>

movieclip._height problem
Posted by RQFlash at 4/27/2005 12:00:00 AM
I'm having a problem with a simple test case that hopefully someone has run into before. The situation is that I have a text field that I converted to a movie clip called 'letters'. If I hightlight the movieclip and look at the properties window in FlashMX, it tells me the height is 100, let...more >>

i got a wierd ?
Posted by fl4sh newbie at 4/27/2005 12:00:00 AM
:confused; I have a really wierd question to ask you all. ok i have my person jump on things fine but like when i land on something i can walk off of it and still be in the air... i really dont know how to explain it. i cant figure out how to post my .swf file so i will post the code. ...more >>

TabIndex for combo box
Posted by Amcasperforu at 4/27/2005 12:00:00 AM
Hi all, I created two text boxes and in between them I have a combo box. My probelm is that I cant jump to the second text box, when my selection or it is focus on my combo box. I use the tabIndex property in my code, but it seems the combo box still gets the focus and never tab to the...more >>

howto detect on of movie loaded into another level
Posted by KelCFM at 4/27/2005 12:00:00 AM
Hello, I load an external swf movie into _level2. When this movie has finished playing, it just stays on-screen. Is there a way I can detect if a movie that's loaded into _level2 has finished? I thought that there may be a function that returns the total duration of the movie, and ...more >>

Problem with sound not playing.Please!
Posted by Eduardo Tavares at 4/27/2005 12:00:00 AM
I have 4 scenes in my movie...and the sounds stops playing when it changes scenes.Why? I preload my sound.swf at the first scene and I start the sound on the second scene...it plays good but when it changes scene to the third or fourth scene the sound just stops plyaing. Can Someone plea...more >>

Registration Point on Dynamic Images
Posted by xdeliriumx at 4/27/2005 12:00:00 AM
I am loading images dynamically and, for the most part, each image is a different size and some are horizontal, some are vertical. Basically, I need to define the registration point of the movie clip so that each clip is CENTERED. This problem is driving me nuts! BTW, I am also using an ima...more >>

Help! Functions too Tedious
Posted by brahill415 at 4/27/2005 12:00:00 AM
Hi I'm looking for a way to make this script more simpler and sophisticated. Now it looks soooooo tedious and redundant. products.mv1.button.onRollOver=function() { products.mv1.gotoAndStop(2); _parent.item_name.gotoAndStop(2);} products.mv1.button.onRollOut=function() { products.mv1...more >>

accessing another movie clip
Posted by druhallen at 4/27/2005 12:00:00 AM
I have a buttonA inside movieclipA on the layerA. I want button a tp tell movieclipB on layerB to play . I wasn't having problemsto make movieclips to play when the button wasn't inside a movieclip. So I believe I'm havin a problem to findthe path to the other movie clip. This is the expressi...more >>

Key Listeners
Posted by Battletards at 4/27/2005 12:00:00 AM
Hello, smart people! Please help me with this. I'm so confused about Key Listeners. Say I type the following into the script for my first frame of the root movie: Key.addListener(_root); _root.onKeyUp = function() { trace(Key.getAscii()); } Okay, simple enough, right? But how ...more >>

Random Pictures
Posted by jimmy_milk at 4/27/2005 12:00:00 AM
I have 6 pictures and i want it so when the user goes into the area it brings one of them up randomly.Can anybody help? Thanks for your time Jason ...more >>

Flash/XML
Posted by AquaBoogie at 4/27/2005 12:00:00 AM
I have never done this before, however, I have just been given a task at work to create a section in our corporate site that loads images and a quote from various employees. I have seen a few tut's on how to create a slide show with next and previous buttons. What I want to do is create a ...more >>

playing audio throughout scenes
Posted by hoopster340 at 4/27/2005 12:00:00 AM
I have a student who has created several scenes. He would like to play one audio file throughout the entire scenes without it starting over at each scene. Thanks. ...more >>

Double zoom tool effect
Posted by doinka at 4/27/2005 12:00:00 AM
I'm having trouble with the zoom in and out on the right hand image. Can anyone give me some help? http://www.keithurbandesign.com/zoom-tool2.fla.zip...more >>

parent node : tree component
Posted by robotstyle at 4/27/2005 12:00:00 AM
How do I find the parent node of a selected tree component item? For example, say I selected item 2: -itemA -----item1 -----item2 itemB -----item3 -----item4 How do I find out that that is under itemA using actionscript? ...more >>

TextArea with embedded font, can it be done?
Posted by mhilliard at 4/27/2005 12:00:00 AM
I'm trying to have all of the XML text rendered to my TextArea component styled on the fly and would like to use the Helvetica Neue Light (helvNeueLt*) font I've embedded into the movie. After beating my head against the keyboard for hours, I'm about ready to give up - but I'm certain someone ...more >>

Flash Games - Steering Wheel
Posted by Tb2k at 4/27/2005 12:00:00 AM
Hi All, We have just revamped our website which is totally different to anything we have seen. I shall post the link at a later date. For now, we are trying to link up a steering column to our driving game in Flash. Does anyone know how to capture the controls of the steering wheel, ...more >>

Linking to an external app
Posted by David Price at 4/27/2005 12:00:00 AM
I would like to create a flash movie with buttons in that will link to external applications such as Word and Excel aswell as document files, i.e. ..doc or .xls files. Does anyone know how this is done, if it is possible at all? Any help would be greatly appreciated (p.s. I am not a programm...more >>

Input Text
Posted by lmy2005 at 4/27/2005 12:00:00 AM
Hi! How can i create a flash program that capture the user input from keyboard and display the result at the same time? Thanks!!...more >>

Object follow Cursor - Need to keep on screen
Posted by tyGossman at 4/27/2005 12:00:00 AM
I've got a flash movie that lazily follows the cursor, the balloon floats across the screen... http://216.255.29.103/preview.htm I have the movie in a 640x100 pixel area banner top of the page and would like the balloon to remain visible. Now when the cursor leaves the banner area the ball...more >>

Referencing component values on timeline
Posted by Stephen San Deigo at 4/27/2005 12:00:00 AM
I was wondering how you can reference different UI components and variables that are on a different frame in the timeline with in the same movieclip. ...more >>

Buttons in Movies to target frames in Movies
Posted by Tej Effect at 4/27/2005 12:00:00 AM
I wonder if anyone can help me I am trying to target a button in a movie to goto to another moive in another scene, but to a spefic frame If anyone has any suggestion ...more >>

Disabling events on layers
Posted by ldicarro at 4/27/2005 12:00:00 AM
I have a movie that has a blank movie clip on the stage in which I load an external swf into. In this external swf that is loaded in, there are buttons with various states. When a button from the loaded swf is clicked, a graphic appears on top of everything and the user can interact with this ...more >>

Transparent SWF's
Posted by davidprovost at 4/27/2005 12:00:00 AM
Ive seen certain ads were you cant see the background of the swf, its like a moving png...how the hell do you do that?...more >>

hitTest of 2 circles does not works
Posted by Nixy at 4/27/2005 12:00:00 AM
I have to check if one shape, actually a circles, enter in collision with another. The 2 objects are moving on the scene. I tried the hitTest like that -> mcCircle.hitTest(mcCircle2); The problem is that does not use only the shape of it. The hitTest is apply on the circle as a square. The hi...more >>

show preloader when loading audio
Posted by skot:317 at 4/27/2005 12:00:00 AM
I have a 'table of contents' that will load a .swf and an .mp3. I have it so that the .swf doesn't show until the .mp3 is loaded. Sometimes there is nothing happening while the .mp3 loads. How do I show a preloader during this time? Here is what I have so far: var audio:Sound = new Sou...more >>

Why doesn't this pause and stop work?
Posted by LSmith4285 at 4/27/2005 12:00:00 AM
Basically I want my code to play a video for timetoplay and then stop the video. It should then wait 1 second and continue onto the if statement. It doesn't wait for the second or do the subsequent code..... any ideas would be greatly appreciated. I have checked all the variables with trac...more >>


DevelopmentNow Blog