dcsimg
A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: help me Musicman-Kenobi you are my last hope

  1. #1
    I remember my first Flash
    Join Date
    May 2001
    Location
    Slovak Republic
    Posts
    143

    help me Musicman-Kenobi you are my last hope

    load jpg question
    Hi,
    is there a way, how to find out the width and heiht of an picture (jpg) that is just loading? }or before loading?) I will create an preloader and place it into the midle of the loading picture, but I don't know how big will the JPG be.

    Thanx.

    nunomira
    actionScript board LocaL

    Registered: May 2002
    Location: snowFlake
    Posts: 1530
    at least, using only flash, you'll be able to know that only after it has loaded



    Aarden
    Member

    Registered: May 2001
    Location: Slovak Republic
    Posts: 72
    hmm...
    and what should I use to know it before?
    Is there some Javascript that can I ask before I load it? (hope I needn't to use any PHP)

    thanx.

    PS: should I better ask in Scripting and... forum?
    Inks! Minks! The old witch winks, that fat beings to fry! No body home but Jumping Joan, father, mother and I! Sticks! Stocks! Stone Dead! Blind men can't see! Every knave will have a slave, you or I must be he!

    Hostess Judy / Ćon Flux.

  2. #2
    Senior Member
    Join Date
    Aug 2000
    Location
    Seoul, South Korea
    Posts
    1,310
    Hi there,
    I don't know of any actionscript functions that can handle this but you certainly can with PHP used in conjunction with Flash.
    The getimagesize() will get your required info.

    Cheers,
    micmac
    !.....................................COMING SOON

  3. #3
    I remember my first Flash
    Join Date
    May 2001
    Location
    Slovak Republic
    Posts
    143
    thanx, that's it.

    hmm, but is there some way only using JavaScript? I'm not sure, if I cann use the php.
    Inks! Minks! The old witch winks, that fat beings to fry! No body home but Jumping Joan, father, mother and I! Sticks! Stocks! Stone Dead! Blind men can't see! Every knave will have a slave, you or I must be he!

    Hostess Judy / Ćon Flux.

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