Solved

*fla has mad issues*

Posted on 2004-10-12
8
266 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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

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…
I have found that much of my time doing support ends up being a constant repetition of the same steps to different people.  Early on I stated using web pages with Frequently Asked Questions (FAQs) to alleviate most of the burden.  Sometimes this jus…
In this tutorial viewers will learn how to create a basic shape tween animation in Flash including shape hints for smooth animation Open a new document in Flash: Draw a shape: Select another frame (how long you want the tween to be): Right click and…
The goal of the tutorial is to teach the user how to use the auto adjust feature and what the different options do. When your video is not working right you can choose the auto adjust feature to help choose your settings.

726 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