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 > september 2005 > threads for thursday september 22

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

== not working.. bug?
Posted by TiagoRicciardi at 9/22/2005 11:42:58 PM
Hi I'm having a little code problem.. if (success) { var o = this.firstChild.firstChild; while(o <> null){ menuItem = o.childNodes area = menuItem[0].firstChild if (area == 1) { not_titulo = menuItem[1].firstChild not_corpo = menuItem[2].firstChild i+...more >>

Script Newbie needs help =]
Posted by =Slayer= at 9/22/2005 11:08:51 PM
I made a MC which is stopped at the first frame. The MC is duplicated 20 times. They are named s1 to s20. I want one of the MC's to start playing randomly. I put this code in: mcToPlay = "s" add (Math.round(Math.random()* 20)); _root.bg.mcToPlay.play(); I checked the variable mcToPla...more >>

getNextHighestDepth and TextField
Posted by rdw75wu at 9/22/2005 10:54:02 PM
When I use the code listed below, the application won't display both text fields, they are overwriting each other at the same level. When I use specific depths it works fine. In my main code I execute each item sequentially, and the second call displays. When I call only one, everything appear...more >>

looping for x number of seconds
Posted by manhattanmediaworks at 9/22/2005 10:50:35 PM
Folks, I want to load a .swf into main timeline, but only after 10 seconds has elapsed from the time my script begins to run. Would anyone be so kind to give me a hand with a script. I can load the .swf in frame 2 hundred whatever, but that is tacky. Thanks! ...more >>

using Function inside a for statement
Posted by fermer at 9/22/2005 9:55:51 PM
here is the code from the for statement down: for (var i = 0; i<aMenuNodes.length; i++) { var currentName = aMenuNodes[i].firstChild.firstChild; createEmptyMovieClip("clipHolder"+i, i); _root["clipHolder"+i].attachMovie("menuItem_mc", "myMenu"+i, i, {_Y:clipHghtPad*i}); _...more >>

Variable Problem
Posted by gijbelsy at 9/22/2005 9:47:07 PM
I have a button that has the following code below it: on (release) { _root.ClearStage(); _root.myInterval = setInterval(_root.ContentLoad,100,["description.swf","map.swf"], ["200","200"], ["20","300"]); } Each loaded movie ends with following code in the last frame: _root.Sta...more >>

Exporting Animation with ActionScript
Posted by vinnyguido at 9/22/2005 8:45:28 PM
I'm not sure if this is the right group but it involves ActionScript so here it is. I created an animated page with one frame of objects that animate strictly through ActionScript. The code works and the animation runs fine. But now I want to export this to an AVI or MOV file. When I expo...more >>

unload movie
Posted by indyfro at 9/22/2005 7:15:28 PM
I am really struggling with this for some reason. On frame 100 of the main timeline, I have stop and load movie, which loads a SWF onto level 1 of the main timeline. The movie plays. now I can't move on. on the last frame of the loaded swf, I have _parent.gotoAndPlay(101); that doesn't see...more >>



Cool Navigation?
Posted by CJStratis at 9/22/2005 7:10:14 PM
Hi folks, i was wondering if any of you could provide some insight into how the navigation at http://www.pepsi.com/ was created. I have managed to achieve the rotating icons and swapDepth (using actionscript and trig) to have 5 icons rotate along an elliptical path while changing size and ...more >>

BUG: instance variable treated as static if initialized outside of constructor
Posted by Triynko at 9/22/2005 6:15:37 PM
first the innacurate getTextExtent is deprecated with no replacement, initobject doesn't work for attachMovie when attaching buttons, and now this... (no way I'm paying for this software) Try this code yourself. If you make two separate instances of this class, you will see that both hav...more >>

WebServiceConnector caching WSDL
Posted by * at 9/22/2005 1:57:43 PM
I'm using a WebServiceConnector and connecting to my server. The first method call I created worked fine. I've since updated the Web service and Flash isn't seeing the new methods that were added. I've deleted the component, restarted Flash and for some reason I can't see the new operations list...more >>

Combo Box
Posted by has981 at 9/22/2005 10:24:26 AM
Hello forum I have a movie with two frames, each frame has a movie clip, and each movie clip has a combo box. I also have two buttons (next and previous) to navigate between the two frames. I provide data to each one of the combo boxes using a data provider array, and I have a function t...more >>

FileReferenceList and the name property
Posted by ryac at 9/22/2005 10:17:11 AM
Hello, I'm experimenting with the FileReferenceList class and having a bit of trouble getting the full path to the file. I'd like to try to load a swf file inside my movie (locally..can this be done?) by having the user select which file, but when I use loadMovie, I dont get the correct pa...more >>

Programming habits
Posted by mr.eddy at 9/22/2005 10:04:19 AM
Do you create a separate class for each kind of graphical element that has some dynamic content, say Menu, MenuItem, Title, Image, etc? How about settings like menu location, background colors etc., do you have all the settings in some Settings class? Or do you have them hard coded in your ...more >>

slow loading movies - please help!!!
Posted by Westie at 9/22/2005 9:52:41 AM
Hi, (I am less than 24 hours from my deadline now and panicking a lot - any help on this would be great) I am making a (fairly simple) site which uses an XML menu to load movies. http://www.toucandesign.co.uk/online/flash.html For some reason, it takes a few seconds before the prel...more >>

Table in flash
Posted by aetienneVPD at 9/22/2005 9:45:52 AM
i am currently making a ringtone website and want to add a few tables for stuff like top 10 polytones etc etc, what is best to view mySql in flash xml or php. ive got an understanding of exporting data from flash to a database through php so im guessing php might be a better choice but how do ...more >>

currentFrame and total frames
Posted by 400$ at 9/22/2005 9:45:28 AM
Hello , I want to know whether we can find out the current frame and total frame of a preloader in the onLoadProgress. To be clear here is my code masterListener.onLoadProgress = function(target_mc, loadedBytes, totalBytes) { preloader_mc.gotoAndPlay("IN"); var percentage = (l...more >>

"flush" the memory
Posted by SuneHB at 9/22/2005 9:21:10 AM
Hi there, I'm having a few problems when loading SWF's into my main movieclip. It seems when i unload an SWF, and then loads it again, some of my varable-values get "stuck" in the memory. I try running traces on the variables and it shows up as if the are all reset, but my reloaded SWF beh...more >>

Load Variable from Flash to PHP
Posted by sky61084 at 9/22/2005 9:17:55 AM
Hello all I have a little problem. I made a website in PHP with this address: index.php?cust=home In this site there is also a little piece of flash. In this little piece of flash you can click a button, the button has this actionscript: on (press) { getURL("page1.php?cust=<...more >>

Re: disable the maximize button in projector
Posted by nITiNkIlLeRmEeRuT at 9/22/2005 8:56:39 AM
Meenakshi You have to use third party software to create custom projector. like swfkit, jugglor or other....more >>

Ending setInterval issues.
Posted by DadrianKaelan at 9/22/2005 8:01:08 AM
I made a very simple example of what I'm trying to talk about using just a basic fade technique. I'm still learning Actionscript and most of it I'm okay with, but one of the issues I'm having is ending setInterval...because it never seems to stop, even when I tell it to with clearInterval();. ...more >>

loadsound from loadvars
Posted by adamsroy NO[at]SPAM tiscali.co.uk at 9/22/2005 2:08:18 AM
Hi Group I'm trying to use loadvars to load a list of mp3 tracks from a txt file to a flash music player, it works fine when using loadsound and the file names are hard coded eg my_sound = new Sound(this); my_sound.loadSound("http://localhost/myfolder/bday.mp3", true); but when i try to lo...more >>

setInterval, only run through once
Posted by Silencer01 at 9/22/2005 12:00:00 AM
Hi All, I have a function that i want to call after a four second period. setInterval function is working fine except for the fact that it is calling the function every four seconds and i only require it to run through one. I guess i need to use clearInterval() but i'm not sure where, or ...more >>

Problem with refreshing external loaded data
Posted by nomis_take at 9/22/2005 12:00:00 AM
Hi everyone... I'm using this with aguestbook that i'm creating: myloader.load( "loadvalues.asp") Everything works fine and i can post entrys to a access database. The problem is that the new entry in the guestbook doesn apear until i delete al offline files in ie and refresh the site....more >>

play movie once, stop on browser refresh
Posted by mrld at 9/22/2005 12:00:00 AM
want my movie to play only one time per visit to the site. It will play on the home page, and then when a visitor returns to the home page the movie will know it played and goto the last frame. I have found very little regarding this which usually means the answer is obvious. I have had no su...more >>

Syntax help with array elements
Posted by MikeD. at 9/22/2005 12:00:00 AM
I have a multidimensional array where the first element is a movie clip name. I want to be able to make various movie clips visible/invisible based on that name. Please see the attached code, which hopefully explains it better than I can! :-) Thanks for any suggestions! Mike Here ...more >>

Classes may only be defined in external...
Posted by Narven at 9/22/2005 12:00:00 AM
Hi, im new to actionscript 2.0 class... and im trying to learn how to use them. and i made a little class for preloading multiple movies from a list in a xml file ... but im getting this error: "Classes may only be defined in external ActionScript 2.0 class scripts." i dont really un...more >>

Set Expiration Date Question ...
Posted by gravityeyes at 9/22/2005 12:00:00 AM
Hi, I am creating a Flash Projector CD-Rom - Ok, well the client wants the CD(movie) to expire on October, 26th 2005. Ok, i set my clock ahead, and the movie does not advance to the Scene i have designated "Expire" Sorry, i have never coded this type of thing .... attached is the code, i...more >>

Playing a MC in main timeline
Posted by Kainvb at 9/22/2005 12:00:00 AM
Hey guys I am trying to play a Movie clip inside the main timeline but it doesn't work can anyone tell me if this command is wrong in my Actionscript. _root.OpeningDoors.gotoAndPlay(2); Thanks for any help ...more >>

passing a variable inside of one mc to another
Posted by Kainvb at 9/22/2005 12:00:00 AM
Hi guys I am trying to pass a variable from one MC to another MC this is what I tried inside the one MC var page=4; _root.Pages.gotoAndPlay(page); this worked in the one MC but when I move this line to the MC I need it in it no longer works _root.Pages.gotoAndPlay(page); Seen as I ...more >>

Input field loosing formating onFocus
Posted by joeisgreat at 9/22/2005 12:00:00 AM
Hi ! I'm having trouble with my input fields. I'm trying to set the text value to "" onFocus, but this seems to erase all previous formating on the field. It seems it is impossible to keep formating on an empty input field. Any ideas ? Thanks Joseph ...more >>

loadSound() in external .as file
Posted by nici123 at 9/22/2005 12:00:00 AM
Hi, I have used the follwowing code to load mp3 but it doesn't work... I placed the code in an external .as file, "test.as" and set linkage to a movie clip. class test extends MovieClip{ public function test(){ loadmusic(); } public function loadmusic():Void{ var mysound1...more >>

getting the movie to scale
Posted by MichaelBlum at 9/22/2005 12:00:00 AM
When I open the .swf in IE, the movie scales properly when the window is resized. It's great! When the movie is embedded as an object in an html file and the html file is opened in IE, the movie stays the same size as the document size regardless of how the window is sized. Is there a way t...more >>

How to make scrolling images based on mouse movement
Posted by AudreyWalker1 at 9/22/2005 12:00:00 AM
How would you make scrolling images like on this site http://www.kateryaninc.com/detected.php?page=&pass= pick a photographer, and see the scrolling on the right side? I know how to scroll images when you click on something. But I want the user to be able to hover over a button and have the ...more >>

MovieClipLoader and Passing Information
Posted by CodeBreak at 9/22/2005 12:00:00 AM
I may simply be trying to do something that Flash won't allow (wouldn't be the first time), but I would like to see if anyone else has run into this. Here's what I'm trying to do: I have created a MovieClip with and attached AS 2.0 class. I exported this clip to a SWF file. I then use th...more >>

streaming video
Posted by leo2006 at 9/22/2005 12:00:00 AM
Hi everybody, I have to put a couple of videos into a website and they are 2-5 mb of size. if I select the 'streaming' option in flash mx it still stops three or four times to reload new context. is there a way to get around it, so it streams in constantly and without interruption ?? thank...more >>

Mouse over effect ....like studio 8 site
Posted by billy nugz at 9/22/2005 12:00:00 AM
I want to create a page similar to the studio 8 site (link found below) http://www.macromedia.com/software/studio/experience/ When you move the mouse it scrolls through the room (left, right, up, down) with a different timeing it seems for different layers. I have tryed a bunch of diff...more >>

movieclip as button - navigation issues
Posted by neightball at 9/22/2005 12:00:00 AM
My goodness I need help. I am the UI designer helping a .net programmer with a piece that I concocted in Flash. We need to know how to get a movieclip to function as a button so we may continue our project. We can't navigation from Scene1 to "dataenglish" scene via a movieclip command. Buttons...more >>

dynamic line goes behind the background image
Posted by abhuj at 9/22/2005 12:00:00 AM
hi i am facing very strang problem. i have draw the line dynamically in my flash movie, it working fine but when i import any image as a background then those lines go behind that. any help welcome thanks in advanced ...more >>


DevelopmentNow Blog