Hi,
Could you put these inside a library swf and use Flash Develop to
compile that with the [Embed] and then expose the instances as public
members of a particular class / clip?
Glen
Patrick Matte wrote:
> Hey I need to use this code but I can't use Flash CS4 so I need to load
> these embedded files instead cause [Embed] doesn't work in Flash CS3. So how
> would I go to do that? Here's the code I need to change...
>
> [Embed(source="../lib/camera_para.dat",
> mimeType="application/octet-stream")]
> private var CameraParameters:Class;
>
> [Embed(source="../lib/mikko.pat", mimeType="application/octet-stream")]
> private var MarkerPattern:Class;
>
> var cameraParameters:FLARParam = new FLARParam();
> cameraParameters.loadARParam(new CameraParameters() as ByteArray);
>
> markerPattern = new FLARCode(16, 16);
> markerPattern.loadARPatt(new MarkerPattern());
>
>
>
> This e-mail is intended only for the named person or entity to which it is
> addressed and contains valuable
> business information that is proprietary, privileged, confidential and/or
> otherwise protected from disclosure.
>
> If you received this e-mail in error, any review, use, dissemination,
> distribution or copying of this e-mail
> is strictly prohibited. Please notify us immediately of the error via e-mail
> to [email protected] and
> please delete the e-mail from your system, retaining no copies in any media.
> We appreciate your cooperation.
> _______________________________________________
> Flashcoders mailing list
> [email protected]
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
>
>
--
Glen Pike
01326 218440
www.glenpike.co.uk <http://www.glenpike.co.uk>
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders