Indigo Rose Software

Professional Software Development Tools

 
Results 1 to 2 of 2

Thread: Help

  1. #1
    Join Date
    Mar 2006
    Posts
    4

    Help

    Hi !!
    e.g:
    I have file flash(visible = false),button1 and button2. When I press button1, file flash(visible = true) begin to play and button1 hide. After the time is 7 minute 5 second, file flash stop playing and hide, button1 appear again.
    If file flash is playing and button1 is hiding, I press button2, file flash stop playing and hide, button1 appear again, and jump the other page. My English is not good. I hope you understand.
    Thank you.

  2. #2
    Join Date
    Nov 2005
    Location
    Banned by moderator.
    Posts
    264
    so, what's wrong? If you need the code, here it is:

    BUTTON 1 --> ON CLICK:
    Code:
    -- flash work
    Flash.SetVisible("flash1", true);
    Flash.Play("flash1");
    -- button work
    Button.SetEnabled("button1", false);
    Button.SetVisible("button1", false);
    Button.SetEnabled("button2", true);
    Button.SetVisible("button2", true);
    BUTTON 2 --> ON CLICK:
    Code:
    -- flash work
    Flash.SetVisible("flash1", false);
    Flash.Stop("flash1");
    -- button work
    Button.SetEnabled("button1", true);
    Button.SetVisible("button1", true);
    Button.SetEnabled("button2", fase);
    Button.SetVisible("button2", false);
    -- page work
    Page.Jump("page2")
    PAGE --> ON SHOW:
    Code:
    -- flash work
    if Flash.GetState("flash1") == 4 then
    Flash.SetVisible("flash1", false);
    Flash.SetEnabled("flash1", false);
    -- button work
    Button.SetEnabled("button2", fase);
    Button.SetVisible("button2", false);
    Button.SetEnabled("button1", true);
    Button.SetVisible("button1", true);
    end
    I hope this works

Posting Permissions

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