User Profile

Collapse

Profile Sidebar

Collapse
Colazz
Colazz
Last Activity: May 17 '07, 05:59 PM
Joined: May 2 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Colazz
    started a topic Know the dimension of a picture

    Know the dimension of a picture

    Suppose that i load a picture inside my movie clip
    mc.loadMovie("p ic.jpg");

    How can i know the dimension of the "pic.jpg" ?
    I need the info such as the width and height of the pic to continue with my scripting. (such 1024 x 768 or 680 x 480).

    Well, the reason i want to do this is to make a photo gallery and i want to put all pics with different dimensions into the frame that i've created....
    See more | Go to post

  • Colazz
    replied to Load pics with fixed size
    hmm...thx for the site..
    but i'm new to this flash ac..

    i can't figure out what is the meaning of "MovieClip.prot otype.oldLoadMo vie"??

    i tried to copy paste the codes and put in on the first frame, and changed the "myImage1" with my own movieclip. But it doesn't work..><

    Besides, which line of code that load my pics into the frame ??
    really still confused..
    See more | Go to post

    Leave a comment:


  • Colazz
    started a topic Load pics with fixed size

    Load pics with fixed size

    var myMCL:MovieClip Loader = new MovieClipLoader ();
    myMCL.loadClip( "apin.jpg", "container" );
    //container is an instance of a movie clip.

    Now, the size of "apin.jpg" is too large..
    is there any code that i can use to make the pics displayed in certain fixed size ?

    thx before
    See more | Go to post
No activity results to display
Show More
Working...