Solved

problem with combobox component on (change), flash mx pro

Posted on 2004-10-29
233 Views
Last Modified: 2008-02-01
Hi,

I've 3 swf's which i want to link with a combo box in each page. I then put the values and the data of the three swf's. Once I test the animation it goes ok but when the new swf is loaded, then the component Combobox is bloked.
Here's the code I put in the component :

on (change) {
  this.loadMovie(this.getValue(),0);
  this._parent.loadMovie(this.getValue(),0);
  this.swapDepths(_root.getNextHighestDepth());
}

Does anyone knows why ??? Thanks in advance
0
Question by:yotsse
    6 Comments
     
    LVL 6

    Expert Comment

    by:nishasrilankan
    drag an instance of the combo box component to root timelien and delete it..that will fix the problem
    0
     

    Author Comment

    by:yotsse
    What do you mean by dragging an instance. Because my combo box is still bloked !?
    0
     
    LVL 39

    Expert Comment

    by:blue-genie
    i had the same problem
    weren't able to really resolve this. ended up reshuffling all my levels until i managed to find a combination of layers that did what i wanted it to.

    :-(

    blu.
    0
     

    Author Comment

    by:yotsse
    Can you see another solution ???
    0
     
    LVL 11

    Expert Comment

    by:muso120999
    I don't know whether this helps at all, but I found this link:
    http://www.actionscript.org/forums/archive/index.php3/t-19809.html

    muso
    0
     
    LVL 6

    Accepted Solution

    by:
    http://chattyfig.figleaf.com/ezmlm/ezmlm-cgi?1:mss:123771:200410:kgjohlehddehgfmhjndn

    http://chattyfig.figleaf.com/ezmlm/ezmlm-cgi?1:mss:102227:200401:amdgpghlfdgjmmbcgobg

    By saying "To drag an Instance" means like say...

    1. The movie which doesnt contain the combo is say MC1.swf
    2. and the movie which contains the combo is MC2.swf
    3. now you are Loding MC2.swf from MC1.swf
    4. what I am saying is jsut drag and drop a instance of the combobox from Components panel to the stage of the MC1
    5. now delete the component from the stage of MC1 and test.

    *** I had the same problem and this method worked and in your situation too, this should work. But I cant explain it
    0

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone. Privacy Policy Terms of Use

    Featured Post

    Threat Intelligence Starter Resources

    Integrating threat intelligence can be challenging, and not all companies are ready. These resources can help you build awareness and prepare for defense.

    This is intended to introduce all collision detection principles in flash, their strengths, weaknesses and workarounds. The main method for Collision Detection in flash is using hitTestObject. But unless you'll be pushing rectangular shapes without …
    In my long career of working as an actionscript developer, I had spent sleepless night often working hard to solve some small problems which actually took a lot of my development time; later found out the solutions to be a line or two. Here are s…
    The goal of the tutorial is to teach the user how to how to load their YouTube profile onto Flash Media Live Encoder.
    This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.

    860 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    13 Experts available now in Live!

    Get 1:1 Help Now