Old 04-16-2009, 08:47 PM   #1 (permalink)
Junior Member
 
Join Date: Apr 2009
Posts: 8
Default undefined error on load swf

I did the same what you have written here many times but getting error.

IN FLASH ACTIONSCRIPT
menu_mc.onItemClick= function(node:XMLNode, level:Number){
movie_mc.loadMovie(node.attributes.clip);
}

IN XML FILE
<item label="Home" clip="mySwf" />

But when i am publishing movie i am getting undefined error in Flash output window even swf loading is fine without any error so why is this undefined error for? please advice i have been asking this question many times but still no reply, can adrian or anyone please help i ll be thankful
umarmughal is offline   Reply With Quote
Old 04-17-2009, 12:11 PM   #2 (permalink)
Junior Member
 
Join Date: Apr 2009
Posts: 9
Default

Quote:
IN XML FILE
<item label="Home" clip="mySwf" />
you need '.swf ' after mySwf...

<item label="Home" clip="mySwf.swf" />
zenit is offline   Reply With Quote
Old 04-17-2009, 03:03 PM   #3 (permalink)
Junior Member
 
Join Date: Apr 2009
Posts: 8
Default

ofcourse i am using .swf in my file name in XML, i think you dint get my question i said everything is working fine but i am getting undefined error in Flash output window, i hope you understand now.
umarmughal is offline   Reply With Quote
Old 04-17-2009, 08:44 PM   #4 (permalink)
OYXLUSFlash.com Staff Member
 
Adrian's Avatar
 
Join Date: May 2008
Posts: 2,260
Send a message via Yahoo to Adrian Send a message via Skype™ to Adrian
Default

Please post a sample.
Adrian is offline   Reply With Quote
Old 04-18-2009, 02:57 PM   #5 (permalink)
Junior Member
 
Join Date: Apr 2009
Posts: 8
Default

Hi Adrian, i am attaching screenshot i hope you ll understand now, make sure when i am testing movie or publishing not getting any error, but only this undefined error in output window, please advice
Attached Images
File Type: jpg screenshot.jpg (93.8 KB, 9 views)
umarmughal is offline   Reply With Quote
Old 04-21-2009, 10:00 PM   #6 (permalink)
Junior Member
 
Join Date: Apr 2009
Posts: 8
Default

Hello Adrian - I am still waiting for your reply .. thanks
umarmughal is offline   Reply With Quote
Old 04-22-2009, 02:18 PM   #7 (permalink)
OYXLUSFlash.com Staff Member
 
Adrian's Avatar
 
Join Date: May 2008
Posts: 2,260
Send a message via Yahoo to Adrian Send a message via Skype™ to Adrian
Default

I can't figure out where that error is coming from. Please send the files to my email address.
Adrian is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
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
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 07:03 PM.