dcsimg
A Flash Developer Resource Site

Results 1 to 7 of 7

Thread: telltarget problems

  1. #1
    Hey, I'm making a new version 2 for my shinedesign.org site (looks totally different...with most of the site done in actionscript) Anyway, I'm having some troubles. I want a movieclip to open when the user releases on a button. Currently, this is what my code on the button looks like:

    on (release) {
    telltarget ("/profile_movieclip") {
    play()
    }
    }

    This code isn't working though. What is another way to do this? (I know this sounds juvenile, but for some odd reason, I can't figure it out!!!) Thanks.

  2. #2

    continued

    maybe I should clarify my problem more....
    I have the movie clip already on the stage, and the first frame of that movieclip has nothing on it with a stop command. So when I use the

    on (release) {
    telltarget ("profile_movieclip") {
    play();
    }
    }

    action, I want it to play the movieclip that is already on the stage. Thanks.


  3. #3
    Senior Member
    Join Date
    Mar 2001
    Posts
    164

    Re: continued

    You came to flash5 as forum so I will give you a flash 5 as forum answer....use dot syntax


    on (release) {
    _root.whattever.gotoAndPlay (5);

    }


    whattever being the instance name of the instance your are TARGETING.

  4. #4
    Junior Member
    Join Date
    Nov 2000
    Posts
    16
    I assume you have named your instance of the movie clip (ie. "profile_movieclip") on the stage.
    It's then just a matter of using the crosshair (bottom right on the object actions panel) to set the target (using telltarget action of course).

  5. #5
    Senior Member
    Join Date
    Mar 2001
    Posts
    164
    Wrong dont do it that way. that is old (deprecated)syntax. its best to use dot syntax the way i showed you before believe me. If your serious about flash and want to learn it the right way use dot syntax. dont take the easy way out.

  6. #6
    Junior Member
    Join Date
    Nov 2000
    Posts
    16
    It does use dot syntax!

  7. #7
    Opal Technologies aqeel's Avatar
    Join Date
    Apr 2001
    Location
    England
    Posts
    267
    yes DOT is HOT....

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