A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: [RESOLVED] flash cs6 about bitmap

  1. #1
    Junior Member
    Join Date
    Apr 2014
    Posts
    2

    resolved [RESOLVED] flash cs6 about bitmap

    Hello.
    I have a picture in my library and I would like put code in actionscript to load (dynamically?)the image.
    Thanks.

  2. #2
    . fruitbeard's Avatar
    Join Date
    Oct 2011
    Posts
    1,780
    Hi,

    You can use something like so with a button perhaps
    PHP Code:

    myButton
    .onPress = function()
    {
        
    attachMovie("library_linkage_name""new_name"level/target);


  3. #3
    Junior Member
    Join Date
    Apr 2014
    Posts
    2
    I searched on Google and I found:
    Need to go to library->property->action script3 and it create a ID(I called Image1);

    var blank_image:BitmapData = new image1(0,0);
    var image:Bitmap = new Bitmap(blank_image);

    Thanks.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center