> 
> WARNING exporter: cannot export name for init actions
> __anonymous.0.c:\program 
> files\....\user_components\TfeResetButton .swc

Wow, that's a pretty obscure problem.  I wrote the code, and even I had
to go dig through the code to see what its doing!

This only gets triggered if the exporter sees an unnamed sprite with
init actions (are you using #initclip?)

It temporarily gives the sprite an export name (code dependencies are
tracked based on names, so we give the unnamed sprite a unique handle),
and then on export it warns you that its stripping out that name.  The
problem with unnamed sprites is that they don't work with the normal SWC
versioning system - if you exported two copies of that SWC and copied
them both to your libpath, it wouldn't be able to determine which was
the newer version of your symbol, so it would end up including both.

Coming up with a coherent message to print given that the thing its
complaining about is an unnamed critter deep in the bowels of a big
opaque file format is hard, so you got the confusing message that you
saw.  However, it is only a warning, it shouldn't affect the behavior of
your app.

Note that importing code from Flash that uses #initclip is quite
dangerous in Flex if the code has any class dependencies.  We only track
class-to-class deps, not codesnippet-to-class deps.

If you want to make the warning go away, make sure that you give your
symbols export names.  Let me know if you need more details.

-Roger

Roger Gonzalez
mailto:[EMAIL PROTECTED]
 


 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to