How to dynamicly embed using metatags? (1041: Attributes are not callable.)


hi,

 

i'm trying following:

 

        public function basicflarscene(
            __fpatternfile:class = "@embed(source=_fpatternfile,mimetype='application/octet-stream')",
            __fcameraparamsfile:class = "@embed(source=_fcameraparamsfile,mimetype='application/octet-stream')"):void
        {

            _fmarkerwidth = _fmarkerwidth;
            _fpatternfile = __fpatternfile;

        }

 

but i'm doing wrong i'm getting 1041: attributes not callable. error. i've misunderstood embed metatags completely.

 

i need able decide file get's embedded @ compile time, possible?

 

thanks,

 

eb_dev



More discussions in ActionScript 3


adobe

Comments

Popular posts from this blog

Joomla site hacked, cant see front and - Joomla! Forum - community, help and support

Christian Home School Programs - Joomla! Forum - community, help and support

Trouble with PF_OutFlag_I_USE_AUDIO and PF_CHECKOUT_LAYER_AUDIO