Psst! Did you know DevelopmentNow is a mobile web site design agency?

Contact us for help mobilizing your site, or to sign up for our beta Mobile Web SDK!


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 > february 2007

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

How Do I change "all files" to "mp3"?
Posted by akakjb at 2/28/2007 11:51:59 PM
I am working on a page that has a lot of audio and have set each button to right click and "save audio" but when it saves the file on the computer it comes out as a "file" and most audio players don't recognize it. How do I specify that the file being downloaded in the "download window" is an...more >>

Size Limit of FLV Video?
Posted by Axoncom at 2/28/2007 10:50:28 PM
Can a FLV video w/ a frame size of 800x450 reliably play off of a CD-ROM? (It has a simple voiceover audio track, and will be around 5 minutes long. The FLV will be embedded in an 800x600 flash movie.) ...more >>

Size Limit of FLV Video?
Posted by Axoncom at 2/28/2007 10:47:16 PM
Can Can a FLV video w/ a frame size of 800x450 reliably play off of a CD-ROM? (It has a simple voiceover audio track, and will be around 5 minutes long. The FLV will be embedded in an 800x600 flash movie.) ...more >>

Re: setMask in a custom class
Posted by SymTsb at 2/28/2007 10:44:42 PM
I second that notition. Use the MovieClipLoader class and use the onLoadInit handler to apply the mask once the image is loaded....more >>

Handle/icon instead of progress/bar
Posted by veverica at 2/28/2007 10:06:00 PM
Anybody got a tip for connecting just a little icon instead of having the seek/progress bar. I want to replace the normal _xscale property with just an _x coordinate to move the icon as the progress bar would. I'm almost there but... var handlePos:Number = (_root._xmouse-loadBar._x); ...more >>

Flash Chaching for Images
Posted by McArger at 2/28/2007 9:47:40 PM
I am trying to preload images that are used throughout a flash slideshow. I have a preloader that takes an array of filenames (imageArray) and uses that to load an image into a movie clip. Each movie clip has an image, all movie clip images are held within one other movieclip. So... hol...more >>

smarter way to load levels
Posted by JoeyJon at 2/28/2007 9:36:36 PM
Briefly, I have four buttons which open new sections on a website in levels. Each .swf has a preloader on it. So each time I press a button it will open that level with the preloader regardless of whether it has previously been opened. So I guess what I'm asking is whether I can put an 'if'...more >>

setMask in a custom class
Posted by pickle jar at 2/28/2007 9:23:56 PM
Gosh I am having a nightmare I am trying to set a mask on an img I have loaded into a movieclip in a custom class. But no matter what it ain't working, any ideas. Here is essentially what I am trying to do: this.my_mc = this.createEmptyMovieClip("my_mc", this.getNextHighestLevel()); ...more >>



[Flash 8 Actionscript] _x property of dynamically created movieclip
Posted by Johnny Rodgers at 2/28/2007 9:22:47 PM
Hi everyone. I'm having trouble with how Flash sets the _x property of a dynamically created movieclip. If I create a rectangle on the stage using the Drawing API: Code: //for the purposes of this example, assign a value to i var i:Number = 0; //assign var squareName var s...more >>

Swap Depths on buttons
Posted by antewik at 2/28/2007 9:22:05 PM
Hi. I did just realise that swapDepths() doesnt work with buttons. Is there any other way to change depths for buttons /Antewik...more >>

Attaching Problem
Posted by Tyler1128 at 2/28/2007 8:26:45 PM
I am trying to attach many instances of a MovieClip to an array so when the mouse is pressed it puts the image on the stage and "fires" it in a line to the ground. It goes into the array fine but also attaches one at (0, 0) making it run slower and slower. I need a way to attach an instance an...more >>

Right mouse click
Posted by rc3rdmd at 2/28/2007 7:09:09 PM
Is there a way to track the right mouse button in an onRelease function ? Thanks. Rob Childress...more >>

Exact same action scripting and frame setup totally different behavior
Posted by Peacebean22 at 2/28/2007 6:47:05 PM
Hey Folks I've got four flv files I need to play I put the first on in with no issues. Set up the frames and the scripting w/out difficulty. On a rollover it goes to a still when you press the button it goes to the flv. I went to set up the others the same way but for two of the videos y...more >>

cant find file
Posted by jonnybennett at 2/28/2007 6:45:26 PM
I am creating a dynamic slideshow, that allows users to use pictures that are from external urls. However if the picture for some reason should be removed from a url, it stops the rest of the slideshow loading, because it gets stuck trying to load a file that doesn't exist. Therefore is the...more >>

Flash Player 6 Action Scripts update help.
Posted by Melissa Sweeney at 2/28/2007 6:08:14 PM
I have some code that needs to be updated to work in Flash Player 8. I've received advice, but because I'm still learning Action Script I'm not able to make sense of it. Here's the code that needs to be updated: on (rollOver) { _root.caption("view project", 2); } on (rollOut, dragOut...more >>

Easiest Button ? of all time
Posted by La Bestia at 2/28/2007 5:52:46 PM
OK I have a basic button that on the down state I want to do an animation that I have set up. It works but only by holding down the button. So what I need is some sort of actionscript that will play a movie clip within the down symbol. I hope I explained that ok. Thank you for any help in adva...more >>

where to find the script
Posted by bigshadow at 2/28/2007 5:50:24 PM
Hello, I'm a newbie so please dont laugh, I'm trying to learn by example. i have a sample code downloaded from the web. when I click a button it goes to a page, i'm trying to find the code that controls the action of this button. I have looked under actions for that button but ...more >>

Attaching MovieClips from in an external SWF
Posted by batgeek at 2/28/2007 4:47:54 PM
I have a "player" SWF that is loading an external SWF for playback. From within the ActionScript in the player SWF I would like to be able to attach MovieClips that reside within the library of the external SWF. Is this possible? ...more >>

Clearing Dynamic Flash Text Fields
Posted by nIvelyx at 2/28/2007 4:21:50 PM
Hello, What I'm Attempting To Do:: I'm trying to make textfield1_txt & textfield2_txt Clear, once the submit button is released. --- A description of my Flash File is as follows: I have 2 text fields on my Flash stage: - textfield1_txt - textfield2_txt I also have a ...more >>

Converting String to Object
Posted by Erez Carmel at 2/28/2007 4:20:13 PM
Hi all. I'm trying to convert a String into an Object, but it's not working. When I'm trying to make the String become an Object, it's still remains a String. I've also tried using the eval function, but it did nothing, and only returned "undefined". How can I make this String become...more >>

new with flas, need help plz
Posted by quli at 2/28/2007 3:28:19 PM
hi, i am new with flash never used before need a bit of small help, i need to make a flash movie introduction kind of thing but having a bit of difficulty, basically what i want to do is make my back ground flash 2 or 3 time and then stop but cant figure it out what effect it needs or how to d...more >>

delay and cancel delay
Posted by chrissp2681 at 2/28/2007 3:26:43 PM
Hello, I'm having some trouble delaying single keyframes keyframe in flash. I'm making a 5 slide slideshow over 5 frames. Each frame needs to last about 4000ms, although this is flexible. BUT the 4000ms delay must be able to be reset when a button is pressed. There are 5 buttons on t...more >>

AttachMovieClip Issues
Posted by srib at 2/28/2007 3:11:42 PM
Hi All, I am attaching a movie clip from the library. The movie clip has a FLVPlayer inside it. The instance name of the player is "myPlayer" _root.attachMovie("play_mc", "playClipmc", _root.getNextHighestDepth()) after attaching that i am loading the video inside the attached movi...more >>

action script help please
Posted by mark--38 at 2/28/2007 2:41:50 PM
I have made a small flash movie to run a few games off a disc for my daughter ( it autoruns when disc is put in drive) .It has a button for every game. I need to find out what action script i use to make each button run the selected game. The disc will also be used in different PC's with dif...more >>

action script help please
Posted by mark--38 at 2/28/2007 2:41:35 PM
I have made a small flash movie to run a few games off a disc for my daughter ( it autoruns when disc is put in drive) .It has a button for every game. I need to find out what action script i use to make each button run the selected game. The disc will also be used in different PC's with dif...more >>

Accordion Component collapsed by default
Posted by kryha at 2/28/2007 9:22:25 AM
Is there any way to keep the Accordion Component collapsed by default? ...more >>

Preloader starts late
Posted by pandx at 2/28/2007 4:55:03 AM
Hi, I've created a preloader for my 1mb+ flash movie. However, when I tried to load it, the screen was empty for a few seconds before the preloader suddenly pops up. By then, it had already loaded about 50%. I thought it was supposed to start immediately from 0% and load till 100%? In the...more >>

getURL problem
Posted by realtime158 at 2/28/2007 3:38:37 AM
How can i use getUrl or its it another command to open this stream in windows media player Thanks... getURL("mms://draco.streamingwizard.com/lifefm");...more >>

MovieClipLoader
Posted by jlucchesi at 2/28/2007 2:59:33 AM
Hi - In over my head (as usual) but here goes... I have a master.swf that will be the container and background for other swfs....most notably the "splash.swf" . Splash is the container for all the navigation (external text files loaded into dynamic text boxes) - so its important that it be...more >>

Problem loading external sounds
Posted by Rory Carlton at 2/28/2007 2:01:28 AM
I have a movie which loads external sound files into an array and then plays them at specific points in the movie. Someone on this forum helped me get the scripting right. Now I have just one problem: the movie plays fine and loads the sounds when I try it in the Flash authoring environmen...more >>

login - password protected content/page
Posted by Freeky Bonjela at 2/28/2007 12:00:22 AM
I scanned the net for the best way to provide a login protection for the site I am working on. One that enables those with the relevant username and password to access a page that holds protected content. The method I have put in place is inherently coded in flash and utilises a separate tex...more >>

Flash Project not playing when users go to site
Posted by em_shomer at 2/28/2007 12:00:00 AM
Alright heres my problem. I have a large flash website, that was originally a template and I added to it. I have been able to upload it to my server, but there is at least several minutes wait time before the preloader came up. So in an effort to fix this I created a Master file with 10 fra...more >>

OnEnterFrame interrupted by OnPress
Posted by Nico22_be at 2/28/2007 12:00:00 AM
Hi, In a class file, I have defined an onEnterFrame function, an onPress function and an onMouseMove function. The onEnteFrame function works fine, except when the onPress function called. What happens then is that when I click and maintain the click on the movie clip, the onPress function...more >>

little help on Flash 100% width
Posted by routhu at 2/28/2007 12:00:00 AM
Hi to all, I am new in actionscrip. I have developed this code for variable width gallery. But I want the Image to be changed proportional with respect to window, No Stretching will be happen while dragging the window. Below code belongs to that one. Can any one Please Help me to...more >>

Dynamic GetURL Problem
Posted by phil ashby at 2/28/2007 12:00:00 AM
Hi guys and gals, I've got a database of objects - textareas, images etc that I'm pushing into and Array (pageElements) and then displaying on the screen. When It comes to images, I want the user to be able to set the image as a link hot spot, so they can click the image and it goes to a ...more >>

Changing HTML Frameset using Flash
Posted by Zero-Space at 2/28/2007 12:00:00 AM
Hello fellow flashers! I have watched all the tutorials and viewed many forums but no matter how I write my Action Script I can not control my html frames using Flash & Dreamweaver. What I want to achieve is what the following site has done (there is also a tutorial at the bottom of this p...more >>

Basic Depths and linkage
Posted by xenolith5 at 2/28/2007 12:00:00 AM
Basic help please with depths..I have two movie clips in the library (flash8) "C1" and "C2" . I want to place them both on the stage at runtime so that through script I can move them about but.......! What am I doin wrong here that is causing C1 to be replaced by C2? stop(); this.creat...more >>

Adding to a variable problem
Posted by TheScarecrow at 2/28/2007 12:00:00 AM
I have a variable called currentNumber. If I try and add to it I get a strange results and I wonder if anyone knows how to fix it. for example. if currentNumber = 4. I would say (currentNumber+1).. I get the result of 41... why is that? shouldnt it be 5?? ...more >>

days countdown from text file
Posted by NuggetMan at 2/28/2007 12:00:00 AM
hi all. I'm using this script Code: this.createEmptyMovieClip("loader_mc", 0); loadVariables("assets/flash/splash/deadlines2.txt", loader_mc); // Variables declaration year; month; day; desc; // Check if variables text file are loaded function varLoaded() { if (loader_m...more >>

hitTest but not for boundaries
Posted by MajiDfn at 2/28/2007 12:00:00 AM
Hi all As you know hitTest for two Movieclips just test hit of both boundaries, so when you have two circled movieclips you have some collisions where there is no overlap in real. what do you suggest me to do when real overlap detection of two non-square objects is needed ?! regards ...more >>

how to get global (x,y) from child mc location (x,y)
Posted by Sean.Rock at 2/28/2007 12:00:00 AM
Hi, is there an easy way to translate a child's x,y into global x,y coordinates? for example mc2 is a child clip of mc1. mc2 is at 50,50 relative to mc1. what i would like to do is to be able to translate mc2's x,y to a global x,y, e.g. 50,50 in mc1 is where in the main movie. Thanks ...more >>

Flash MP3 Player "Most Played" list?
Posted by ladyguitarplayer at 2/28/2007 12:00:00 AM
Hello, all, I hope this is the right forum for this. I have built a Flash-based MP3 player for a client that gets song information from an XML file. It works fine. No problems there. However, now that my client's work has expanded, he would like to have an automatically updating "most ...more >>

initiate key pressing tab key
Posted by christlmuc at 2/28/2007 12:00:00 AM
it there a code for initiate key pressing...once i start the flash application pressing the "tab" key code should automatically be initiated. i don't want to do something while pressing the tab button. the tab button just has to be "pushed" automatically since this step is necessary in or...more >>

Drop Down Menu
Posted by srirama.83 at 2/28/2007 12:00:00 AM
I'm creating a drop down menu where initially four movieclips wil be there on the stage. when the user mouse over on these a drop down will be generated which takes the values from XML(these may be movie clips dynamically loaded). When I again mouse over these items a submenu will be generated...more >>

Skip Track
Posted by Flakx at 2/28/2007 12:00:00 AM
Well, after altering my music player so it plays through 1 frame instead of 1 frame plays 1 track and so on. I'm having a problem now with how to skip tracks. Previously i would skip tracks by simply having a button direct to the next frame, but now i have the actionscript so 1 song plays af...more >>

Unloading FLV's Help!!
Posted by dj10bear at 2/27/2007 11:15:51 PM
hello. here is my situation: please read on, i tried to make it and easy read... i have a 2 buttons that have this code on them: on (release) { stopAllSounds(); unloadMovieNum("50.swf", 50) unloadMovieNum("50.swf", 51) loadMovieNum("http://www.mysite.com/flash/50.swf", 50); } ...more >>

Visibility swapping instances Play/Stop button?
Posted by kptgreg2 at 2/27/2007 10:54:32 PM
I am a little new to actionscript and don't know how to do something. I wrote a program that gets mp3s from an XML file and loads them in a custom designed mp3 player. I need to create a Play button that after being pressed switches to a Stop button (different graphic) which I cna then use ...more >>

Help needed with Flash intro
Posted by rigte056 at 2/27/2007 10:26:05 PM
Hi, I've made a little Flash intro for a site I built in Golive. I have no knowledge of Flash whatsoever and I need some help to make sure that as soon as the intro finishes the visitor is redirected to the homepage. I made the intro in Imageready (so all frames ended up being bitmaps in F...more >>

Special Characters
Posted by SymTsb at 2/27/2007 10:13:21 PM
I have a text field I'm loading text into. This text is has an amp symbol in (&) denoted in html as &. Basically, I need to know the requirements for special characters and how they are rendered in flash. Especially when they are being pulled from an external file that has multiple vari...more >>

XML Loading Status
Posted by mrSparkleS0ap at 2/27/2007 8:24:09 PM
I am trying to figure out the best way to Monitor the status of loading of an ASP generated XML file. I created a class that handles the loading of the XML but because it continuously being updated I need to monitor its loading status. import mx.utils.Delegate; class WeatherStati...more >>


DevelopmentNow Blog