I'd like to use javascript to determine if a visitor arrived at my website via a specific link (from another website that I have no control over). I've had no problem creating a "back" link that takes a visitor one step back in the history array (so the info is stored somewhere)...
Each time my movie loads, I would like it to start at a random frame. I've used the following code in my movie and it works just fine in flash player. I'm using Flash MX and publishing it in Flash 5 format. However, in my browser, my movie starts at the beginning every time.
Here's what I have...
I have an array in my main timeline, which is added to when the user clicks on certain buttons. I have a print button in my main timeline too, which has an action attached (currently using "print(0, "bmovie")", though variations/simplifications don't seem to make a...
Is it possible to print the current frame through the actionscript print command? I understand that I can use the #p frame label to designate printable frames, but I really only want the user to print the one that's currently being viewed, which could be one of five different frames.
I'm wondering if (and how) it's possible to write a script that returns the index number of a text box or hidden form element. The select object has a selectIndex property, which is exactly the type of property I would like to use in conjunction with a text or hidden form element. Is this possible?
I'm having trouble targeting a movie clip inside a movie clip instance created with the attachMovie() function.
When a visitor presses a button, the attachMovie function is used to create a new instance of MC1, the first one is named MC1a, the second MC1b, etc., etc. The instance name I'm...
More on arrays... :-)
I'd like to delete an item from an array that I've been populating with movie clips. I have a variable, mainMC, that stores the name of the movie clip that the user is currently interacting with. When the user clicks a button, I would like mainMC deleted from the array...
Periodically as my movie runs I'd like to loop through an array of movie clips and change the visibility property of each. I'm having trouble figuring out how to reference each MC in my "for in" loop. (I'll be adding to my array as the movie runs and will have no idea how many MCs my...
I have a window 'Window1' and window 'Window2'. Window1 is NOT the parent window of Window2 (both are child windows of a third window, 'Main').
I would like to close Window 1 with a link on Window 2.
Does anyone know the correct way to do this? Thanks!
My question is about the stacking order of movie clips. I have ButtonA inside MovieClipA. Is it possible to assign an action to ButtonA that brings MovieClipA to the front if it's under, say, MovieClipB? Thanks in advance for any tips!
When a user presses a button I would like MovieClipA to appear. This will be the first and only instance of MovieClipA to appear in my movie. I'm wondering about the best way to go about this. Two approaches I can think of are:
1. Using the DuplicateMovieClip action (even though this will be...
I set a variable called "floorscale" in frame 1 of my main movie timeline. I'd like my movie clips to be able to use this variable. Is this possible? If so, how do I call it from inside my movie clip?
Within a movie clip I have two buttons. I would like to use Button A to set the width (_xscale) of Button B. I haven't had any luck; it seems that I need to reference an instance of Button B, yet I'm unable to figure out how to name anything but a movie clip. My question is whether it's...
I am very new to JavaScript and have tried to create a temporary cookie that affects where clicking on a link will take a visitor. For example, a link called "Products" will take a visitor to the Sporting Goods products page or Food & Drug products page or back to the main page...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.