A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: change number when...

  1. #1
    Member
    Join Date
    Dec 2000
    Posts
    99

    change number when...

    Hi,

    I have a filme with 50 Pictures on it, what i want is that when i pass in the picture 13 for exemple the number apears in a text box or something like that. Everytime i pass in a picture with the mouse the number changes acording with the number of the picture
    How do i do this ?

    I know it souds easy but... dont remenber what to do

    Best Regards

  2. #2
    doesn't use scenes either
    Join Date
    Feb 2002
    Posts
    194

    ok..

    you put all of the pictures into a movieclip named "mcA"
    after that you'll put a hotspot(a button with just the active area filled) over all the pictures.
    the action on these hotspots could look like this:

    on (rollOver) {
    _root.textfield.t="1";
    }


    on the main stage you'd put a movieclip with a dynamic text field inside. The movieclip is called "textfield" and the variable name set to "t".

    that should do it.


    cheers,
    -----va

  3. #3
    Member
    Join Date
    Dec 2000
    Posts
    99
    I didnt understant well that ((
    Where do i put the

    on (rollOver) {
    _root.textfield.t="1";
    }

    ????????????????
    And the text field ?

    Lets se, i select all the images and put them in a movieclip mca.
    (do i covert to symbol all the images inside mca to lets se image1 image2 image3 ???)

    Edit select mca, there i put the hotspots(convert to symbol as button, button1 button2... ????) ?

    Then where i do a movieclip with a dynamic text field inside ?
    In the main a movieclip ? what mvie clip ?
    I put a textfield and convert to symbol ?

    arggggg i'm a bit lost

    Best Regards

    btw thanks for trying to help :-)

  4. #4
    doesn't use scenes either
    Join Date
    Feb 2002
    Posts
    194

    try....

    ..this:
    Attached Files Attached Files

  5. #5
    Member
    Join Date
    Dec 2000
    Posts
    99
    I cant be more lost !!!!!

    "variable name set to "t"."
    What this means ?
    What is t ?????
    Where do i put it ?

    Best Regards

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center