Thanks for the response. Unfortunately I don't have control over the exact link the other website uses to get to our home page. So, if their link to my site is simply http://www.mysite.com is there a way - using a script on my home page - to find out where the vistor came from? I'd only need to...
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)...
After giving up in frustration a couple of months ago, I have returned to this problem. (THANK YOU oldnewbie, BigBadDave, frihi and rgstewart for posting responses!).
I'm tempted to think that I'm encountering a bug in flash MX with the gotoAndPlay action. Below are the links to both my swf and...
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.
Yes--definitely helpful! Thanks!! I thought I'd post where I've ended up, in case anyone is curious:
Function:
function clickedElm(element)
{
var index = 0;
// I ran into trouble using an equal sign in the condition statement of the for loop so rather than trace the infinite loop problem, I...
My dynamically generated web page contains a form. The number of form fields will depend on a number of variables (server side scripting, user input) and so I have no way of knowing how many fields my form contains. I would like to attach some script to a button that manipulates the text fields...
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...
Thanks for the response! However, I won't know the how many movie clips there are in the array. These MCs are created with the attachMovie action as a result of a button push. So, the array may contain MC1 and MC2... or it might contain 100 movie clips, MC1 through MC100.
As suggested, I could...
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...
Thanks for the response, Barbie. However, I must be overlooking something. When I use your code, I open and close a new window. I would like an existing window to close. Could I be missing a step? Thanks!
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...
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.