To register for an Internet.com membership to receive newsletters and white papers, use the Register button ABOVE.
To participate in the message forums BELOW, click here


A Flash Developer Resource Site

Go Back   Flash Kit Community Forums > Flash Help > Flash ActionScript

Reply
 
Thread Tools Search this Thread Display Modes
Old 07-10-2006, 08:09 AM   #1
FlashSmashed
Member
 
Join Date: Jun 2006
Location: Leeds UK
Posts: 84
My sound objects are deleting my MCs!!!!!

Hey there

I have managed to come up with another stupid problem in flash!!
I have a lot of different Mcs in my file and some sounds are attached to them, everthing was going fine until I decided to use different sets of sounds,
when I replaced them some of my MCs have disappeared( it seems that new sound objects somehow deletes some of my MCs!!) I don't know if this makes any sense to anybody here but I can't manage to figure out what's causeing this. all of my sounds identifiers have unique names so this shouldn't be the problem, the old sound objects have been unattached and I can't think of anything esle. Anyone has any idea what might be the problem?!!!!

Many thanks in advance.
FlashSmashed is offline   Reply With Quote
Old 07-10-2006, 03:26 PM   #2
madzigian
Can't Re-Member
 
madzigian's Avatar
 
Join Date: Apr 2004
Location: Boston MA
Posts: 2,662
try this:

in your original file, just import the new sounds. Then de-select the old sound linkage IDs, and apply them to the new imported sounds. test your movie. It all should work fine. If it doesn't, then you made changes to your code somewhere that you need to search out.
__________________
Please DO NOT PM me simply for individual help. Post in the public forums...that's what they are for, and they allow others to benefit as well. - Thx
OS X 10.3.9 || Flash MX04 Pro
| del.icio.us || furl || Helpful Source Files || Free Pixel Fonts |
madzigian is offline   Reply With Quote
Old 07-11-2006, 05:29 AM   #3
FlashSmashed
Member
 
Join Date: Jun 2006
Location: Leeds UK
Posts: 84
Hey madzigian!

Thanks for your reply!! I did try what you said ( before I mentioned this on the forum) because that can be the only thing that causing this, anyway it didn't work yesterday so I deleted all the old sounds and attach new ones, now it's working fine. I don't know much about sound object in flash but as far as I know you can add them like any other objects to flash by dragging and dropping from the library or more likely attach them via actionscrpit ( where they exported to the first frame) so I can't figure out how they can possibly affect other objects like MCs in this instance. Any thought on that?

anyways thanks for your reply again I am sorted for now but still wondering!!
FlashSmashed is offline   Reply With Quote
Old 07-11-2006, 03:19 PM   #4
madzigian
Can't Re-Member
 
madzigian's Avatar
 
Join Date: Apr 2004
Location: Boston MA
Posts: 2,662
well.. what i've learned about flash is, once it's working... jump up and down and do a little dance and just be glad it's working...

but as far as sound objects go... I always attach them with actionscript. A lot of times I will place an empty mc on or off the stage somewhere, and attach them to that. If i need multiple sounds... I will attach them to different mc's so i can control the volume of them all separately.

check out these sound object tutorials... they answer pretty much any sound questions related to flash : http://www.kennybellew.com/tutorial/
__________________
Please DO NOT PM me simply for individual help. Post in the public forums...that's what they are for, and they allow others to benefit as well. - Thx
OS X 10.3.9 || Flash MX04 Pro
| del.icio.us || furl || Helpful Source Files || Free Pixel Fonts |
madzigian is offline   Reply With Quote
Old 07-11-2006, 06:06 PM   #5
FlashSmashed
Member
 
Join Date: Jun 2006
Location: Leeds UK
Posts: 84
one again thanks for your reply, I had a bit of searching on sound object in flash myself, result: because flash exports sounds to the first frame this can mess up your action script if you have any on the first frame ( I had loads in my case!!) I don't know why it does it but it does anyway, lesson to be learnt: keep your other action script somewhere else!! I'll take you advice as well for future and thanks for the tutorial.

Cheers
FlashSmashed is offline   Reply With Quote
Old 07-11-2006, 07:14 PM   #6
madzigian
Can't Re-Member
 
madzigian's Avatar
 
Join Date: Apr 2004
Location: Boston MA
Posts: 2,662
keep in mind... you don't HAVE to export your sounds to the first frame.....
__________________
Please DO NOT PM me simply for individual help. Post in the public forums...that's what they are for, and they allow others to benefit as well. - Thx
OS X 10.3.9 || Flash MX04 Pro
| del.icio.us || furl || Helpful Source Files || Free Pixel Fonts |
madzigian is offline   Reply With Quote
Reply

Go Back   Flash Kit Community Forums > Flash Help > Flash ActionScript

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 12:18 PM.


internet.commerce
Be a Commerce Partner
 »  »  »  »  »  »  »
 »  »  »  »  »  »
 

    

Acceptable Use Policy


The Network for Technology Professionals

Search:

About Internet.com

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.