ActionScript 1/2 :: Var Not Being Picked Up In URL?
Apr 7, 2009
I'm trying to load an external SWF into an MC. The SWF is determined by a variable in the main MC. The first frame of my main MC contains a preloader, in the second I have added the following line of actionscript code decalaring the variable;var dealershipName = "bellville";From the main menu a seporate MC is loaded onto level 1, from within this MC depending on the var declared in my main MC the external SWF is loaded into an MC called staff. The actionscript code used for this is as follows;loadMovie("http://www.baronsbellville.starterweb.co.za/staff/"+_root.dealershipName+"/nvss.swf", this.staff);To the best of my limited knowledge at runtime the "+_root.dealershipName+" should be replaced with bellville and the file should load. This is not the case though. If I replace the "+_root.dealershipName+" with bellville in the above url it works fine.
View 3 Replies
Mar 7, 2011
I'm trying to do an eventDispatch but the event isn't getting picked up.The dispatch is coming from swf B, and the listener is in swfNot sure if it's an issue because they are 2 files. Does anyone know of a solution?
View 1 Replies
Jan 6, 2011
I can set them up and even partially delete items (there value is replaced with "undefined") in the array but not thier index. What i want to accomplish is to have a number of words in array that are randomly chosen one at a time and only one time each on the press of a btn.
So if the array contains the words; the, go, see, a
The first press of the button might choose the word "the". Which would remove it from the list and the next press of the button would randomly choose one of the remaining words; go, see, a.
View 1 Replies
Sep 25, 2006
I have a little application running and I want the Page Up and Down Buttons to do something when pressed. For some reason though, when I am testing the movie and I press the buttons nothing will happen. I can't even trace anything.It seems to be the case with all of the "Document Keys" (Home, End, Delete, PgUp, PgDown), but not with any of the others.
View 4 Replies
Oct 21, 2010
To dispatch an event with custom paramaters to be picked up in a parent class what do I do to this?
say I want to pass an integer
[Code]...
View 8 Replies
Mar 5, 2011
I have 40 frames that I want the player/user to go through. The 40 frames shoud be shown in a random order and no frame shown more than once.
How do I go about making the random function discard frame numbers already picked?
View 9 Replies