Solved

*fla has mad issues*

Posted on 2004-10-12
8
229 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
8 Comments
 
LVL 7

Expert Comment

by:ssdesign
Comment Utility
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
Comment Utility
Why do you use gotoAndPlay in a actionscript driven environment to change data and clip assets?
0
 
LVL 1

Author Comment

by:gmailrules
Comment Utility
" 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
Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

 
LVL 1

Author Comment

by:gmailrules
Comment Utility
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
Comment Utility
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
Comment Utility
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
Comment Utility
PAQed with points refunded (500)

modulo
Community Support Moderator
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

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…
This article describes a solution to a problem of subloading one movie into another when they have different SWF versions. Sometime back, I was working on an ActionScript project while I came across an interesting fact which I would like to share…
The goal of the tutorial is to teach the user how to how to load their YouTube profile onto Flash Media Live Encoder.
The goal of the tutorial is to teach the user how to how to record live broadcast.

744 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

17 Experts available now in Live!

Get 1:1 Help Now