[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

*fla has mad issues*

Posted on 2004-10-12
8
Medium Priority
?
274 Views
Last Modified: 2010-04-03
Hi all,

If you test my fla.  You should see some strange behaviors when selecting from the combobox component.

1. the menu part of the combobox changes positions while the other part stays in place
2. movieclips that i loaded prior don't disapear

I made the firewall component have two different positions in the xml doc to show that the old movieclips are not disapearing.


Any ideas would be great, Thanks :)


http://www.portopen.com/lcdb.rar
 
0
Comment
Question by:gmailrules
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
8 Comments
 
LVL 7

Expert Comment

by:ssdesign
ID: 12295679
ok,
One of your problem was in this XML line:

<component name="class_checkin" visible="true" xpos="40"

It should read:

<component name="class_checkin" visible="true" xpos="4"

Still working on it further.

0
 
LVL 27

Expert Comment

by:negatyve
ID: 12295719
Why do you use gotoAndPlay in a actionscript driven environment to change data and clip assets?
0
 
LVL 1

Author Comment

by:gmailrules
ID: 12302673
" Why do you use gotoAndPlay in a actionscript driven environment to change data and clip assets?"

I don't know, I'm just trying to get it to work.  If you know of a better way that works please tell.
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 1

Author Comment

by:gmailrules
ID: 12302774
I think your talking about this line: <component name="firewall" visible="true" xpos="40" ypos="304"></component>
I made it 40 and not 4 that way you could clearly tell that the old movieclips were not going away.  It shouldnt be causing any problems.

I think there is something wrong with the combobox component.  did you notice that the menu part of it changes positions?
0
 
LVL 1

Author Comment

by:gmailrules
ID: 12310829
ok a friend told me how to fix the combobox component.  all i had to do was give it an instance name.  and he also told me that i could possibly use an array to store all the mc's names so i could manually remove them.  I am going to try that, but if anyone knows a better way or why this problem is happening in the first place.  please let me know.

Thanks :)
0
 
LVL 1

Author Comment

by:gmailrules
ID: 12312034
V2 components have tons of bugs!  jeez...  I found out what the strange behavior was caused by:

http://www.macromedia.com/support/flash/ts/documents/remove_mc_depth.htm?pss=rss_flash_19435

now using this code:

_root[name].swapDepths(1048575);
removeMovieClip(_root[name]);  //_root[name].unloadMovie() <- doesnt work
_root.attachMovie(name + "_mc", name, this.getNextHighestDepth(), {_x:comp.xpos, _y:comp.ypos});


Negatyve, if you could explain this to me:  "Why do you use gotoAndPlay in a actionscript driven environment to change data and clip assets?"  I will accept your anwser.  

Thanks!!!
0
 

Accepted Solution

by:
modulo earned 0 total points
ID: 13130128
PAQed with points refunded (500)

modulo
Community Support Moderator
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This is a very simple example to help those of you who are still migrating from AS2 to AS3 understand the redesigned event model in AS3. In AS2.0, event functions (that is, the function to be performed when an event is fired) were stored as a pro…
The last time I worked with Flash and Socket connections was in AS1. A recent project required flash connecting to a Socket, and sending receiving information - we figured it would be easy enough - we all know about the socket policy documents and c…
The goal of the tutorial is to teach the user how to set there setting in Adobe Flash Media Live Encoder and YouTube for optimal video and audio quality.
The goal of the tutorial is to teach the user how to select the video input device. Make sure you have an input device that in connected and work and recognized by Adobe Flash Media Live Encoder and select it in the “video input” menu.
Suggested Courses

656 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