Tough question...


i build apps loader loads main.swf movie clip

. structure this

 

mainloader.swf contains mainbackground.swf.

 

then sub pages, i.e. home, about... loaded mainbackground.swf clip there.

 

the reason use mainloader shows user , nothing export background has loader before preloader shows.

 

however, tlf text must use safeloader class work properly.

 

so when want popup cover stage must fire event on background.swf. i'm trying use custom eventtype class because need pass variable popup. sub page, home, firing event , background.swf receiving event , popup works fine. except when go loader.swf file , start there. when developing develop background.swf. conversion error:

 

typeerror: error #1034: type coercion failed: cannot convert com.richardsongraphics::eventtype@3e9ccfd1 com.richardsongraphics.eventtype.
@ flash.events::eventdispatcher/dispatcheventfunction()
@ flash.events::eventdispatcher/dispatchevent()
@ mepreparation_fla::maintimeline/btnpressed()

 

any ideas on happening , if should change make work correctly?

are dispatching event

 

dispatchevent(new eventtype(eventtype.whatever, prop));

 

or write

 

dispatchevent(e)

 

where e event?



More discussions in ActionScript 3


adobe

Comments

Popular posts from this blog

How to decompile jsxbin to jsx

Gavik Photoslide GK2: Not able to upload photos - Joomla! Forum - community, help and support

Phoca Guestbook logger registret bruger af - Joomla! Forum - community, help and support