A Flash Developer Resource Site

Search:

Type: Posts; User: Jeremyx

Search: Search took 0.02 seconds.

  1. Replies
    13
    Views
    1,333

    Whre you use the line "movie.getBounds()",...

    Whre you use the line "movie.getBounds()", replace "movie" with the name of this movie clip the mouse needs to be in range of to work, which I think would be "this" in this case. So use...
  2. Replies
    13
    Views
    1,333

    The getBounds() method is different than most...

    The getBounds() method is different than most methods in that it returns an object instead of just one value. It returns an object that holds multiple values. You can access these values via the...
  3. Replies
    7
    Views
    856

    Exxxxxxxcccceeeellllllennnnnnnnnttt!

    Exxxxxxxcccceeeellllllennnnnnnnnttt!
  4. Thread: Variables ASP

    by Jeremyx
    Replies
    23
    Views
    4,287

    One good tip I picked up is: If you have...

    One good tip I picked up is:

    If you have variables all over the place in different timelines in your movie, you can submit them to an ASP page in one simple action like this:

    ...
  5. Replies
    4
    Views
    858

    I think I remember reading on the Colin Moock...

    I think I remember reading on the Colin Moock site that Flash Player on IE 4.5 for Mac does not support the POST method. Is this what you are using?
  6. Replies
    7
    Views
    594

    I think you are right about not including the...

    I think you are right about not including the dot, becasue what the code is doing is looking at the array of Movie Clips on the root timeline.......

    I know I'll get blasted for this but you could...
  7. Replies
    7
    Views
    856

    I understand what you are saying FlashGuru, but...

    I understand what you are saying FlashGuru, but this command is in the pull down list of built in commands for the FSCommand. You can see it if you are in Normal mode in the actionscript editor. ...
  8. Replies
    7
    Views
    594

    ...ahab's code looks better than what I said. I...

    ...ahab's code looks better than what I said. I got the syntax for targeting wrong. It should be:

    _root.["MC" + j]

    Sorry.
  9. Replies
    7
    Views
    594

    Try this: var j=1 for(j=1;j

    Try this:


    var j=1
    for(j=1;j<3;j++)
    {
    mc[j].play();
    }

    I do not think you can tell a MC to "goToAndPlay" a certain frame within it's own timeline because that action (from the help file)
  10. Try doing stuff with the vars in the handler...

    Try doing stuff with the vars in the handler onClipEvent(data). Here is abit from the actionscript dictionary about this event:



    -Jeremyx
  11. It may also be that you are loading a cached...

    It may also be that you are loading a cached version of the txt file with the variables, so no update is happening. (I know this sometimes happens when you try to load vars from a script).

    To...
  12. Replies
    13
    Views
    1,333

    The advantage to using onClipEvent(mouseDown)...

    The advantage to using onClipEvent(mouseDown) instead of a transparent button is that you will not have the cursor change into a hand when the user clicks. To me this is important becuse the cursor...
  13. Replies
    13
    Views
    1,333

    I posted the reply in the other forum: ...

    I posted the reply in the other forum:

    ----------------------------------------------------------
    Try this:

    You can get the bounds of any movie clip by calling the getBounds() function, then...
  14. I have found that it does not work either,...

    I have found that it does not work either, although I have not tried to rebuild it....
  15. Thread: mc hot spot?

    by Jeremyx
    Replies
    3
    Views
    749

    Try this: You can get the bounds of any movie...

    Try this:

    You can get the bounds of any movie clip by calling the getBounds() function, then detect if the mouse is in the area of the movie clip before performing an action. Say you have a movie...
  16. That's right. When you load variables in Flash,...

    That's right. When you load variables in Flash, it looks to see if it has any varibles of the same name on _level0. If it does, it populates them with values from the script. If no matching...
  17. Actually you can do a load movie command (w/ send...

    Actually you can do a load movie command (w/ send variables) and point to a script (asp, perl, etc) This load movie action will BOTH post any variables from the movie to the script AND recieve any...
  18. Replies
    2
    Views
    538

    Right click on the movie clip on the stage and...

    Right click on the movie clip on the stage and choose action. Try something like:

    onClipEvent(load){
    function doSomething(var){
    //code here use var if you want
    }
    }

    On a...
  19. Replies
    2
    Views
    631

    Try this: Create a new movie with a text box...

    Try this:

    Create a new movie with a text box on the stage. Make it a dynamic text box and give it the name "outPut". In the first frame assign the following script:

    -----------------------...
  20. When you call the load variables action in your...

    When you call the load variables action in your movie, try appending a "?" and random number to the end of the URL. This will stop the browser from caching the page:

    "whatever.asp?534187453"
  21. Does that require LiveConnect? Or: Does it work...

    Does that require LiveConnect? Or: Does it work on IE 4.5 on the Mac? (Wait, nothing works on IE 4.5 on the Mac :)
  22. You could always do that with an FS command. For...

    You could always do that with an FS command. For example: Create a button that has the FS command "open_notepad" and the arguments "c:\windows\notepad.exe". If you are hosting the active x flash...
  23. Replies
    4
    Views
    945

    Flash --> client-side JavaScript = LiveConnect ...

    Flash --> client-side JavaScript = LiveConnect

    IE 4.5 or IE 5 on Mac = no LiveConnect

    IE on Mac = ****ty

    (You cannot communicate between Java applets and Javascript either which is what...
  24. The only way I know of is to append a URL encode...

    The only way I know of is to append a URL encode string to the source attribute of the OBJECT/EMBED tags on the page that will display the movie.

    ...src=movie.swf?variable=value&variable=value......
Results 1 to 24 of 24




Click Here to Expand Forum to Full Width

HTML5 Development Center