[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 253
  • Last Modified:

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

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
yotsse
Asked:
yotsse
1 Solution
 
nishasrilankanCommented:
drag an instance of the combo box component to root timelien and delete it..that will fix the problem
0
 
yotsseAuthor Commented:
What do you mean by dragging an instance. Because my combo box is still bloked !?
0
 
blue-genieCommented:
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
[Webinar] Improve your customer journey

A positive customer journey is important in attracting and retaining business. To improve this experience, you can use Google Maps APIs to increase checkout conversions, boost user engagement, and optimize order fulfillment. Learn how in this webinar presented by Dito.

 
yotsseAuthor Commented:
Can you see another solution ???
0
 
muso120999Commented:
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
 
nishasrilankanCommented:
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

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now