A Flash Developer Resource Site

Results 1 to 7 of 7

Thread: SwapDepths issue

  1. #1
    Senior Member ilive's Avatar
    Join Date
    Aug 2006
    Location
    Philippines
    Posts
    195

    Question SwapDepths issue

    hi guys i found this tutorial about tab menu but my problem is that whenever i put swapDepths in the on press function the swapDepths have an error when you click the buttons many times, the swapDepths won't work. I have attached the .fla. Thanks in advance!
    Attached Files Attached Files

  2. #2
    Senior Member vinayak.kadam's Avatar
    Join Date
    Oct 2006
    Location
    gotoAndPlay("Pune");
    Posts
    831
    Hello there,

    Just check if this works fine. I have made some changes. I have created a seperate movie clip called swapDepths_mc at the layers above buttons. I have swapped the depth of button u click with that movie clip.
    Last edited by vinayak.kadam; 08-29-2008 at 12:19 AM.
    As ever,
    Vinayak Kadam

  3. #3
    Senior Member ilive's Avatar
    Join Date
    Aug 2006
    Location
    Philippines
    Posts
    195
    Quote Originally Posted by vinayak.kadam
    Hello there,

    Just check if this works fine. I have made some changes. I have created a seperate movie clip called swapDepths_mc at the layers above buttons. I have swapped the depth of button u click with that movie clip.
    hi vinayak.kadam! i cannot open the file, i am using flash 8.

  4. #4
    Senior Member vinayak.kadam's Avatar
    Join Date
    Oct 2006
    Location
    gotoAndPlay("Pune");
    Posts
    831
    Saved it in Flash 8. Please check now.
    Last edited by vinayak.kadam; 09-04-2008 at 05:39 AM.
    As ever,
    Vinayak Kadam

  5. #5
    Senior Member ilive's Avatar
    Join Date
    Aug 2006
    Location
    Philippines
    Posts
    195
    Quote Originally Posted by vinayak.kadam
    Saved it in Flash 8. Please check now.
    there is also an error. When I try to click button3, button1 is on the top of button2.

  6. #6
    Senior Member vinayak.kadam's Avatar
    Join Date
    Oct 2006
    Location
    gotoAndPlay("Pune");
    Posts
    831
    Well so do u want teh button 1 to go below button 3 ........ I think we need to re-think about the design........ OR let me know how exactly u want it to work ?

    I am not able to read ur mind exactly...
    As ever,
    Vinayak Kadam

  7. #7
    Senior Member ilive's Avatar
    Join Date
    Aug 2006
    Location
    Philippines
    Posts
    195
    Quote Originally Posted by vinayak.kadam
    Well so do u want teh button 1 to go below button 3 ........ I think we need to re-think about the design........ OR let me know how exactly u want it to work ?

    I am not able to read ur mind exactly...
    yes exactly the button1, button 2 and 4 will be under button 3 when I click it and same as the other buttons..but what happen is that there are having problems with your swap Depths..I made some changes around your code but this what happens..see the attached .fla.
    Attached Files Attached Files
    Last edited by ilive; 08-29-2008 at 02:40 AM.

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