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 > december 2004 > threads for tuesday december 14

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

Controlling loaded movie without affecting main time line
Posted by dsgnermom at 12/14/2004 11:38:19 PM
I have a main movie, in it is a frame with this action: { loadMovie("PreTest.swf", LoadMovie); } The movie that is loading is coming into a blank movie clip with an instance called "LoadMovie". The movie that is loading is called PreTest.swf and it is a quiz from the templates in MX ...more >>


how to scroll faster
Posted by Longarrow at 12/14/2004 11:33:08 PM
Anyone, How do you make the scrollpane move faster? Thanks B...more >>

Trying to display ? sign in flash movie! HELP PLEASE!
Posted by Cloudette12 at 12/14/2004 11:13:29 PM
Please HELP!! I am trying to display special characters like ? in my flash movie. I am reading the values from an external text file. But any URL encoded characters that should start with an & dont want to come through properly. What is going on??? For example ? url encoded looks like this &...more >>

code for open pdf file in action script?
Posted by raynoon at 12/14/2004 10:58:03 PM
what code do I use for instead of "get URL" in order to open a pdf file from a button. all will be located on a CD and not on a web site therefore getURL does not apply. thanks...more >>

Supported HTML tags - what am I doing wrong?
Posted by FF at 12/14/2004 10:54:14 PM
I haven't been able to get the basic example in the online documentation entitled "Overview of using HTML-formatted Text" to work (Flash MX 2004 Pro). I create a text field and name it the same name as in the examples and then paste example code into frame 1 of timeline. Nothing works. Here's the...more >>

Dynamic Text questions
Posted by mp0510 at 12/14/2004 10:41:17 PM
I am passing a variable (name) from one slide in Flash Pro to another and displaying it in a dynamic text box. The problem is tracing the variable shows it is there, but the text box is empty. Any ideas? Thanks, Mike ...more >>

preloader not working correctly
Posted by vigormusic at 12/14/2004 10:29:42 PM
Hi, I am developing a website for my interactive multimedia class. I decided to put it online. So now I decided that I need a preloader because it is rather large in size. This is the last step to completing my site. I have my preloader all set up, but it is not working correctly. First off, a...more >>

Closing a popup window with a button in flash?
Posted by beema at 12/14/2004 10:23:31 PM
Ok, I am making a site where the main portion of the site is a flash movie contained within a popup window that is popped-up from the splash page. I made a close/exit button in the flash movie and added this actionscript to it: on(release) { getURL("javascript:window.opener=self; wind...more >>



what tree event is flagged after refresh?
Posted by sneakyimp at 12/14/2004 10:13:53 PM
I have a tree...i have some functions that let users create new nodes and stuff...the flash movie interacts with a database and gets redrawn after edits. Each time the tree gets redrawn, all of the folders are closed. i have set up a data structure to remember which items are open and which ...more >>

Pop-Up Window Properties
Posted by Mikeb88_69 at 12/14/2004 9:43:54 PM
I have a bunch of small pictures that are on a site and when a person click on them I want them to open a new browser window, but with no scrollbar, no nav bar, no nothing, except a title and then the picture....Can I do this all in flash or do I somehow have to combine flash and dreamweaver...more >>

Mozilla Compatiblity Problem
Posted by lovegerbottle at 12/14/2004 9:35:53 PM
There is a problem with my flash movie not being able to play in Mozilla's Firefox browser. Does anyone know the code to embed it? Thanks!...more >>

Multiple ComboBox Question...
Posted by tomyknoker at 12/14/2004 9:02:40 PM
Hi Guys, OK am trying to make 3 combo boxes which run across three scenes. Each combo Box's contents takes you to a specific Frame Label wihin a Specific Scene. I know I need a function but am totally confused, and just can't seem to get it to work. Thanks, Tom:confused; ...more >>

Create White background in Webcam Video?
Posted by Trial_User99 at 12/14/2004 6:01:36 PM
Hi there, I guess this is a stupid question and I'm not sure if I am in the write place to have it answered but I wanted to find out if there was any trick to creating a whitebackground while recording a streaming video of yourself using a webcam? Reason I ask, I am recording video's with a w...more >>

loadMovie - lose attachSound functionality
Posted by jp77_sa at 12/14/2004 5:49:51 PM
Hi all, I have a preloader which uses loadMovie. I am loading an external swf into an empty target movieclip. In the external swf I have used this code to identify and play sound clips that are stored in the external swf's library: _root.m1_sound = new Sound(); _root.m1_sound.attachSound('01...more >>

Flash Project
Posted by Anthony DeCilio at 12/14/2004 5:29:04 PM
Ok., here is the project I was assigned. I need to make a flash animation, where the client picks a size for his envelope. 8.5x11 or 11x17. From here, he is able to type in company name, address zip etc... Then he is able to put in the recipiants address. Once this is in the system, he cli...more >>

alternative to if else (swich case???)
Posted by Mike7222 at 12/14/2004 5:01:13 PM
Hello, thanks for reading this. I have 6 objects that I want to drag and be able to drop them at numerous (10) locations on the main movie. Is there a way to use case/switch instead of wring loads of if;else statements? I have looked at the switch/case useage but cant figure out how i...more >>

How to overlap movie clips
Posted by Fatmat at 12/14/2004 4:55:35 PM
I'm trying to create a movie that has photos (12) fade in and out, but instead of having 12 layers in one, big long movie clip, I'd like to have 12 movie clips, say 40 frames long, and have these overlap one another. So the effect will be that as the first clip is staring to fade out the secon...more >>

ActionScript for Preloader Needed
Posted by jjkaljdlboonicknames at 12/14/2004 4:23:41 PM
I just need action script that read the last frame to see if it's loaded while looping through the frist couple of frames. I've already made an animation and i just the script...more >>

How to duplicate an object instance ?
Posted by Sces Stone at 12/14/2004 4:23:28 PM
i want to duplicate a class something like this : class abc { private static var a = 1; private static var b:Array; public var c:MovieClip; public var root; public abc(mc:MovieClip) { root = _root; c = mc; } } Here is a instance of this class : i = new abc(mc); and I want to duplicate an in...more >>

Problem with Slider
Posted by penciline at 12/14/2004 4:14:41 PM
Dear Users: I have a slider with the following code: onClipEvent(enterFrame){ newX=_x; // trace (newX); for (i=1;i<=15;i++){ if (i<10){ if(newX>0){ newFrame=Math.floor(20/(50/_x)) _root['rect_0'+i+'_mc'].gotoAndStop(newFrame); trace(newX+' '+newFrame); }else if (new...more >>

loadvars cache problem!!!
Posted by aquarian911 at 12/14/2004 4:13:59 PM
i have written a simple code which loads from a ASP script using loadvars.load and wrks perfectly fine but when tested on the network the browser shows the cache version of the swf file and does not reload from the database(MSAccess).?? any ideas for reloading the swf file from the server e...more >>

getURL query string problem
Posted by abugovx NO[at]SPAM yahoo.com at 12/14/2004 3:31:20 PM
I am trying to do a simple task, so it seems: when a button is clicked i want to open a new browser window with the query string: "index.html?image=01" i tried several methods, but all returned the same result: opening a new window WITHOUT the query string: "page.html" all the foll...more >>

Dynamically Loading External SWF
Posted by Chris Hayes at 12/14/2004 2:42:45 PM
Ok, so I'm having a hell of a time accomplishing this small task. (MX2004/AS2) We dynamically load swfs into a movieclip (contentMC) using MovieClipLoader(), like this: var my_mcl:MovieClipLoader = new MovieClipLoader(); my_mcl.loadClip(fileName, contentMC); //filename is the name of the ...more >>

spacbar to play movie clip
Posted by mickobrien99 at 12/14/2004 2:23:45 PM
Hi, I have a movie clip which is a small lesson to teach arrays in Java. I want it to stop as it runs so that the user can read everything on the screen and then when the user is ready he/she can press space to continue with the movie. Unfortunatly I cant get this to work. I have start and...more >>

spacbar to play movie clip
Posted by mickobrien99 at 12/14/2004 2:23:42 PM
Hi, I have a movie clip which is a small lesson to teach arrays in Java. I want it to stop as it runs so that the user can read everything on the screen and then when the user is ready he/she can press space to continue with the movie. Unfortunatly I cant get this to work. I have start and...more >>

pan aroun a picture....
Posted by johnny truant at 12/14/2004 2:19:32 PM
Ok heres my problem. I am goin to have a masked area which is masking a picture, which will be a fair bit bigger than the mask. I want it so when you move your mouse down, it pans to the bottom of the bitcture and side to side etc, so it looks like the user is looking around the (room) photo...more >>

Embed font outlines
Posted by Dennis, I Sioux at 12/14/2004 2:09:50 PM
Hey guys, Probably a easy one for most of you.. but as a newby to mx 2004.. it got me wondering.. I'm trying to embed fonts outlines... The only way i can find how to do this is by specifying a textfield and selecting "character.." .. and select the ranges of glyphs i want to use.. no...more >>

MovieClipLoader instance name
Posted by Deco Oliveira at 12/14/2004 1:08:33 PM
I loaded multiple .jpg images using the MovieClipLoader and I want to control them after they're loaded. I tried to give an instance name to each jpg loaded, but I could not do it. Someone can help me? // this function loads the jpg images and attach them to function posBtn(xmlDoc_xml) ...more >>

MovieClipLoader instance name
Posted by Deco Oliveira at 12/14/2004 1:07:41 PM
I loaded multiple .jpg images using the MovieClipLoader and I want to control them after they're loaded. I tried to give an instance name to each jpg loaded, but I could not do it. Someone can help me? // this function loads the jpg images and attach them to function posBtn(xmlDoc_xml) { ...more >>

retrieving a query string and getting it into flash
Posted by mauganh at 12/14/2004 11:41:34 AM
Hi, I'm having some problems with retrieving a query string from the browser and loading it in to flash. I've got a some javascript that gets the query string and I?ve managed to call the that function from flash but still no luck on actually getting the values into flash, any ideas. T...more >>

Easing out a rotation function?
Posted by Aaron Freeman at 12/14/2004 11:16:31 AM
What would be the best way to add an ease-out function to this rotation function? ---------- function rotate(mc, dest){ mc.onEnterFrame = function() { this._rotation = dest; if (Math.round(this._rotation) == [dest]) { trace("rotating done"); this.onEnterFrame = undefined; } ...more >>

Substrings / Eval / Mc's?
Posted by runaway_vibrator at 12/14/2004 9:50:54 AM
I have the following trace(this); // returns _level0.pattern.clip2.empty how do I use substrings etc to obtain a variable with _level0.pattern.clip2 ? ...more >>

Hide close button on Window component
Posted by luciewong at 12/14/2004 6:09:01 AM
Hi everyone, I would like to hide the closebutton on the window component and I want it only appear, when the window should be closed. Can I do this?...more >>

how do you set button functions in a popup window???
Posted by sneakyimp at 12/14/2004 5:48:43 AM
i have followed all the instructions in the documentation for creating a popup window object. i created a movie dlbPrompt which had an input text field, an OK button, and a CLOSE button. i cannot for the LIFE of me figure out how to arm those buttons for meaningful interaction. How do you a...more >>

Open Browser Window
Posted by RoyMunson2004 at 12/14/2004 1:55:58 AM
Can I open a browser window with specific dimensions using get url from a button in flash ? any help would be appreciated cheers...more >>

Open Browser Window
Posted by RoyMunson2004 at 12/14/2004 1:55:55 AM
Can I open a browser window with specific dimensions using get url from a button in flash ? any help would be appreciated cheers...more >>

Multiple arguments for the asfunction?
Posted by Leppy at 12/14/2004 1:31:47 AM
Hey everyone, i've recently started to use the asfunction and I stumbled upon a problem (DUH). The only examples i can find is the asfunction with 1 argument. Is it possible to use multiple arguments in the asfunction? If so, how? glenn_v_a@hotmail.com ...more >>

how to set tab sequence of inputs?
Posted by sneakyimp at 12/14/2004 1:18:09 AM
i have a simple form with three input text boxes on it. when the form gets shown and you hit TAB to get from input to input, the sequence is wrong. how do i change this?...more >>

Constraining/Object Collisions
Posted by Rob_jones732000 at 12/14/2004 12:42:08 AM
The floor is basically a diamond shape with walls at the top, it also has objects on the floor. How do i stop a character from walking through the floor, walls and objects. I find this kind hard to get my head around so can you be specific!! Thanks ...more >>

YamzBrowser browse.fla file
Posted by maulia at 12/14/2004 12:19:06 AM
When I downloaded the yamzbrowser example.zip on the SourceForge website, I only got browse.swf and not the browse.fla. I need that .fla to change the filetypes and other minor issues. Does anyone happen to have it? ...more >>


DevelopmentNow Blog