Good day! Probably the question is stupid, but something I can not google the solution. There is an as3-проект (in FlashDevelop ). The resource is in /lib . Design:

 [Embed(source = "lib/std.png", mimeType = "application/octet-stream")] 

Embeds it in the movie? And how to use it after that (say, shove it in Sprite)? Thanks in advance. Since there is a feeling that something is not doing globally. Or not looking.

    1 answer 1

    Everything. I recognize the ram.

     [Embed(source = '../lib/Parallax-scroll-example-layer-0.gif')] private var layer0Class:Class; private var layer0:Bitmap = new layer0Class(); 

    Then everything is obvious.