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 > january 2006 > threads for wednesday january 18

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

Preloader does not execute
Posted by stever4633 at 1/18/2006 10:36:02 PM
I have created a simple preloader that looks at the number of frames loaded and compaires it to a preset number. I am using FlashMX. The Movie is made up of two scenes. The first "PreLoader" which has two frames, First frame has the folllowing Action Script: nBytesLoaded = this.getBytesL...more >>


Is this correct?
Posted by RnV at 1/18/2006 10:19:25 PM
I want to preload the movie buth with the extern xml files included. is this actionscript correct? myXml = new XML(); myXml.load("xmlDATA.xml"); this.onEnterFrame = function () { pour = Math.floor(_root.getBytesLoaded() / _root.getBytesTotal() * 100); percentText = !isN...more >>

URL Encode ?
Posted by yevri at 1/18/2006 10:01:43 PM
Hi all, I have a link with a ? in it and it won't work. So I read the help file about URL encoding and saw a post on this site about it as well. So I used %3F instead of the ? in the code. But it still doesn't work. Is there something I'm missing? Do I need to write a line of code about co...more >>

Masking with action script
Posted by dkmanley at 1/18/2006 9:55:47 PM
I saw this mask effect using action script, but i don't know how to edit the mask parameters, such as blur or fade on mask edge. Here is the script. flower_maskee.setMask(oval_mask); (flower_maskee) being the image masked. (oval-mask) being the shape used to create a mask that fades at ...more >>

Problem w/ custom class & loadvars - Help!
Posted by Ma? at 1/18/2006 9:49:22 PM
Hola! I'm trying to use loadVars from inside a custom class to load values for the instance variables, so I load the data from an external txt file, and in the constructor I assign the values to the variables. The problem is that when I try to access the values of the public variables ...more >>

Flash 8 problem w/ remoting (More)
Posted by clem_c_rock at 1/18/2006 9:25:01 PM
Hello, I was trying to convert some flash projects that use remoting from flash mx 2004 to flash 8. I first recieved this error w/ the old header includes: #include "NetServices.as" #include "NetDebug.as" Which I fixed by changing them to this: import mx.remoting.NetServices; i...more >>

loadClip() Problems
Posted by supdun at 1/18/2006 9:13:30 PM
I haven't ran into a problem like this before. My external asset does not load after I instatiate my ImageReveal class and then use a loadImage method that is actually wrapping around 'MovieClip.loadClip();'. Please review my code and check if you see any errors in my syntax. Hoping someone ca...more >>

how to open a .pdf from .swf file
Posted by cre8ive1974 at 1/18/2006 9:09:56 PM
I am building a website and will have several .pdf pages within the site. But I am not sure how to open a .pdf from within a .swf file. I would like the file to open in a seperate window. Can anyone help me out with this.. Kind of a newbie. thanks! D ...more >>



Loading an external SWF using a button
Posted by Matt-R at 1/18/2006 8:30:19 PM
I want to load an external SWF into my original SWF by clicking a button. So far I have tried it 2 ways: 1. USING LEVELS on (release) { loadMovie("external.swf", 1); } 2. USING A CONTAINER on (release) { loadMovie("external.swf", "container"); } Both ways load the externa...more >>

Calling .exe. from swf (flash mx 2004)
Posted by sugardaddy123 at 1/18/2006 7:40:31 PM
I am trying to call an exe file from my flash projector .exe file. Using get url i can run the exe but not without the dialog box (run, save, etc...)popping up. I need to bypass the dialogs. I've used 'get url' and 'fscommand' code below, still can't get it to work: on (release) { ...more >>

xml parsing won't work after certain point
Posted by DrEv1l at 1/18/2006 7:20:20 PM
it seem that when I use the xml to load in the pictures there is no problem. But in the onRelease event it seems not to work anymore. I get undefined in item_txt makeimages = function (data) { for (i = 0; i<data.firstChild.childNodes.length; i++) { item = root.createEmptyMovieClip("...more >>

ComboBox Open Direction
Posted by InoventivGamble at 1/18/2006 7:11:10 PM
Is there any way to force the combobox to open UP rather than down? I have searched the component and come up with nothing. I tried placing the box at the bottom of the stage to no avail and I was hoping there is a way to do it other than build my own. ...more >>

XML Preloader?
Posted by kdev at 1/18/2006 7:01:51 PM
I've created a course that dynamically loads content into Flash. The course works fine on my desktop however once loaded into the LMS some of the objects never load. I also get an error that says "script causing Flash Player to run slow." I think I need to preload the XML though I'm not sure h...more >>

Why is mailform function not working with my CFM?
Posted by Henrikson at 1/18/2006 6:18:14 PM
:confused; The sendAndLoad does not connect with the cfm script. I tried just using gatherForm.send and the blank CFM page appears. This e-mail works for my PHP script but with with the CFMAIL below?? Please have mercy anyone. Henrik The CFMAIL is: <CFMAIL to="henrik@toad.net" from="#F...more >>

Can one script detect the content of another?
Posted by JJudge at 1/18/2006 6:01:15 PM
Anyone know if a movieclip can detect what is in a frame script in the main timeline? In other words, I have a movieclip on the stage that has a script in it. I want it to be able to check the value of: _level0.layer[6].frame[2].script and see if it equals a certain command, but don't know...more >>

HELP NEEDED
Posted by sunny_designer at 1/18/2006 5:51:24 PM
i'm making an e-card 4 my friend. i drew her, and i want to make her choose her hair style and outfit and shoes etc... i want her to be able to choose a certain hair or shoes etc, but that she will be able to change it whenever she wants. i thought of using scenes for each "look", but it's...more >>

an onRelease in a forLoop
Posted by DrEv1l at 1/18/2006 5:46:32 PM
I can't seem to get this onRelease function to work in the forloop. I make some movieclips and put pics in them and they need to be clickable makeimages = function (data) { for (var i = 0; i<data.firstChild.childNodes.length; i++) { item = root.createEmptyMovieClip("item"+i+"_mc", roo...more >>

WHO KNOWS???
Posted by sunny_designer at 1/18/2006 5:44:04 PM
how do i make a close button to the flash movie, so that the viewer can close it. (useful for when the movie is maximised on the screen) thanx....more >>

Button issue
Posted by mselim at 1/18/2006 3:41:00 PM
Whenever I take a JPEG or a GIF and try to make it into a button, when it gets published, it always looks distorted. Help me Obi-Wan, you're my only hope. -MM...more >>

How to import complicated Illustrator drawings?
Posted by thejokerman05 at 1/18/2006 3:27:35 PM
Flash makes the drawing into a lot of small .png files in the library. I flattened transparency in Illustrator to 100% vector but still Flash wont do it right. Anyone know the problem?...more >>

Font Styles In Flash Components Quiz
Posted by shubz at 1/18/2006 3:19:52 PM
For some reason when my quiz rendors the font goes from changes from times to arial, I can't seem to figure out why? Checkbox1.setStyle("fontSize",14,"fontFace",Arial); is this the corect code to make this not happen? shubz ...more >>

getURL("javascriot:somefunction();") & flash 8
Posted by MOLOKO at 1/18/2006 3:01:26 PM
for those of you struggling with this, there's a detailed explanation of why this doesn't work over at the flash DevNet. I scanned through a bit and the explanations are good, but I haven't yet managed to get many of the workarounds to actually work - for example the bit about changing the a...more >>

copy scene in flash 8
Posted by veiky at 1/18/2006 2:06:14 PM
how can i copy a scene in flash 8? In flash mx i can do it with modify -- copy scene... ...more >>

removeMovieClip not working
Posted by OniLink at 1/18/2006 12:39:50 PM
I use this code to attach two movie clips: for (var i = 0; i<display; i++) { // attach item movie clip trace(display) // equals 2 var item_mc:MovieClip = _root.attachMovie("item_shell", "item"+i, _root.getNextHighestDepth()); } ...and this code to attempt to remove the movie ...more >>

Scroll Pane
Posted by nvinod at 1/18/2006 12:14:07 PM
I have a scroll pane and I attached a movie clip with dynamically drawn some data. Could some one help me to get the thump position of the vertical scrollbar? What I really want to do is I have a movie clip attached to the scrollpane, in that clip it has a transparent clip that I want to m...more >>

loop 3x
Posted by Greg Wilker at 1/18/2006 11:51:56 AM
can anyone give me the script for having a movie loop 3x and then stop? TIA, Greg ...more >>

Calling function in scene2 FROM scene1
Posted by wiredsc at 1/18/2006 11:45:03 AM
making a section of a site where news is shown and old news is archived, I am working with scenes and wish to click a read more button from scene one which loads scene 2 up with a list in one text box of old news and a text box on the right with the chosen article. I have a function in sce...more >>

How to stop/restart loading an external movie
Posted by caroline elisa at 1/18/2006 11:31:53 AM
I would like to be able to pause and then resume the loading of external movies. I did not want to use unloadMovieNum() as this will, well, unload them! Thanks! Caroline ...more >>

What Does checking detect flash version really do?
Posted by flash8_ at 1/18/2006 10:34:35 AM
curious what checking detect flash version in flash 8 puclish settings really does. Does flash 8 trigger an autoupdater like i have seen on some of the new flash 8 sites or is that something else? ...more >>

getting your instructions into the Flash help menu?
Posted by Sunny at 1/18/2006 10:27:12 AM
Has anyone had experience with packaging help files with there component so that they install and appear in the Flash component help menu tree? Also, is this called stub code? What are your favorite tools to create Help content that is readable by the Flash help panel? Thanks, -- ...more >>

Problems with javascript
Posted by Mike Indidginus at 1/18/2006 10:19:58 AM
Hi all, I seem to be having problems getting my buttons to open pop-up windows. I have downloaded the tutorials (How to create pop-up browser windows in Flash) from here, & none of them seem to work for me! Is there some bizarre setting somewhere that I need to change? I am using Flash 8 P...more >>

loadmovies & synchronization
Posted by mpg5 at 1/18/2006 10:13:45 AM
Dear, I'm looking for a solution in order too synchronizes two loadMovies: for example: loadMovie ("small.swf"); loadMovie ("aeds2.swf"); in order to aeds2.swf play only after small.swf. Do you have some idea ? Note: My player is gflashplayer, the linux/debian player of macr...more >>

Volume Slider.
Posted by DadrianKaelan at 1/18/2006 9:35:49 AM
I've created two movies clips - one is a simple bar that's 200 pixels wide and 20 pixels tall; the second mc is a small ball that's going to act as the slider. What I'd like to know is, how can I control a sound's volume by where the user drags the ball mc from left to right and vice versa acr...more >>

100% Height Firefox Bug???
Posted by sampurtill at 1/18/2006 6:59:36 AM
Hey, It seems that Firefox is turning the 100% height flash content into 33%. It's happened even on some FWA sites. Any help? Sam...more >>

Disabling a script depending on selection
Posted by simonAnderson at 1/18/2006 5:45:05 AM
Hi all, I am making a small app where people build their own sign. I have found a source .fla where it allows scaling of Movie Clips on the stage. My issue is that I will need to scale different objects as they appear on the stage. The way the script works is that it applies the behavi...more >>

About External SWFs loading.........
Posted by Kaay at 1/18/2006 2:48:08 AM
My problem is that iam working on flash photo gallery and I want: >onReleased load kk.swf at level 10 >onReleased load bb.swf at level 10 But i want kk.swf dont get unload unless bb.swf is completelly loaded, however I would like to see the preloader for bb.swf on the kk.swf. So user dont n...more >>

direct reach with the URL
Posted by ][shadow][ at 1/18/2006 1:51:21 AM
hi to all . frist am glad to be a new member in this great Forum . i have some littel problem i hope to find the answer and help for it here. some time when i visit some site i find the Url changing when press any button and the page never change also the main flash movie is still in the...more >>

How to add an event to a button in an attaching movieclip?
Posted by Loamlo at 1/18/2006 12:48:04 AM
When I attaching a MovieClip by using the following code, I can't add event to the button in it. // ActionScript 2.0, Flash MX 2004 Pro, Windows 2000 // I have changed the <Instance Name> of the button in myMC( Linkage Name) to "myBt". _root.attachMovie("myMC","myMC",1); _root.myMC.myBt.onRe...more >>

Load movie
Posted by designu at 1/18/2006 12:46:44 AM
Hi I'm using the "loadMovie" command to load JPEG's into a movieclip. But sometimes de JPEG doesn?t show and the movie goes on playing. My question is: is there anyway to check if the movie (jpeg) has really loaded? My goal is to give an action if it is true (go on with the movie) and if not g...more >>


DevelopmentNow Blog