A Flash Developer Resource Site

Results 1 to 7 of 7

Thread: Problem with link between scene on SWICH's menu

  1. #1
    Junior Member
    Join Date
    Jun 2004
    Posts
    4

    Problem with link between scene on SWICH's menu

    Hello,
    I do have a little problem with a specific kind of menu.
    I took a sample of menu with a link that I found on your
    web site but my problem is :

    'How to put a link on a button or a sprite when it is already in a sprite?'

    If I want to create an action like : 'on press / go to frame'
    it doesn't give me the opportunity to give a link to an other
    Scene of the same .swi or to a different URL. How could I do it???
    Could you please having a look to the attached file and give me
    a solution to put a link, for exemlpe, on the 'Weddings/ Engagement Sessions' to a second scene for exemple.


    I really thank you for your help and I am looking forward to reading from you.
    Best regards.



    Xavier
    Attached Files Attached Files

  2. #2
    Chief of Molecules wcoleman's Avatar
    Join Date
    Nov 2000
    Location
    Massachusetts
    Posts
    3,975
    Put a stop on frame 1 of scene 1. To the button add a third action - onrelease go to scene 2 and play (or stop). Make sure there is a scene 2, and give it some content.

    Cheers,

    Flick

  3. #3
    Junior Member
    Join Date
    Jun 2004
    Posts
    4
    Dear Wcoleman
    Thanks a lot for your answer but I don't have the possibility
    to choose the "go to scene 2" option ? Every time I want to add an action, it only gives me the choice to add an action in the same sprite on a specific frame but not in an other scene.
    And there is no action that is named "Go to scene", I can only find "Go to frame".

    Maybee I am not looking in the right place?
    What do you think about it?
    Regards



    Originally posted by wcoleman
    Put a stop on frame 1 of scene 1. To the button add a third action - onrelease go to scene 2 and play (or stop). Make sure there is a scene 2, and give it some content.

    Cheers,

    Flick

  4. #4
    Senior Member
    Join Date
    Aug 2000
    Posts
    684
    Hi Xavier,

    You need to use the 'Tell Target' action to communicate with the main timeline, and refer to labels rather than frames.

    If you use Sprites for your images instead of scenes, your menu will always be present; see your edited file attached.

    Regards,
    Dawn
    Attached Files Attached Files
    Last edited by dbd; 06-21-2004 at 11:29 AM.

  5. #5
    Junior Member
    Join Date
    Jun 2004
    Posts
    4
    Dear,
    thanks a lot for your answer.
    I am trying to anderstand the way you manage this menu but it doesn't exactly correspond to the kind of site I am working at (more over when I am playing the scene and when I am rolling over the first step menu it gives me an error message 'can't find the target: /senior...).

    I was really looking for something more simple and for a way to go directly to different scenes (it is easier for pages with effects and actions). Even if I am using Label I can't go to the next scene of a project. I would like to use the sprites separately for menu and for contain. My objectif is to get a menu group comlpletely separate with the rest of the page (I would only have tyo reproduce this group on different scene).

    I know it is not the simpliest way to process and you may be bored about my request. Anyway thank you for your help. I look forward reading from you.

  6. #6
    Senior Member
    Join Date
    Aug 2000
    Posts
    684
    Hi Xavier,

    You still need to use the "Tell Target" command to reference the main timeline. A file with the new actions is attached.

    Regards,
    Dawn
    Attached Files Attached Files

  7. #7
    Junior Member
    Join Date
    Jun 2004
    Posts
    4

    Thanks

    This is great !!!
    exactly what I was looking for :
    Tell target "/" > go to frame.

    Thanks a lot for your help
    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