A Flash Developer Resource Site

Results 1 to 14 of 14

Thread: loadMovie jpg problem ;-)

  1. #1
    Member
    Join Date
    Dec 2000
    Posts
    48
    Hi
    I want to load a jpg into a mc... so
    to test it I put myImage.jpg in the same folder as the swf

    on (release) {
    loadMovie("myImage.jpg", "_root.myMovieClip");
    }

    The script goes OK but the jpg is not visible.
    (I know that because I have graphic in "myMovieClip" disapear... but no jpg)

    do I have to put file:///"myImage.jpg"
    any idea?

  2. #2
    Member
    Join Date
    Dec 2000
    Posts
    48
    oh by the way I got no problem to load a remote jpg file.

  3. #3
    Junior Member
    Join Date
    Mar 2002
    Posts
    23
    umm, I'm not to sure about this but I think you have to use the load movie command and specify a level....

    I forget exactly what it is try using the referenc eto look up the load movie commands, pick the one that loads it to a level for use with a stand alone player.

    hope this remotly helps
    kevin

  4. #4
    Member
    Join Date
    Dec 2000
    Posts
    48
    thanks Kevin
    but I believe the script is ok
    unless there is no way to load a jpg locally in test movie mode... but I doubt it

    heeeeeeeeeelp!

  5. #5
    Member
    Join Date
    Dec 2000
    Posts
    48
    wow
    I have tested 3 jpg images 1 work and the other 2 don't !
    It doesn't seems to be a matter of file size it's the heaviest that works.

    oh please... I need to solve this

  6. #6
    Member
    Join Date
    Jan 2002
    Location
    Dallas, TX
    Posts
    47
    make sure your JPGs aren't saved as "progressive". Flash will not load these.

    good luck,
    John

  7. #7
    Member
    Join Date
    Dec 2000
    Posts
    48
    THANKS VERY MUCH jcd1489

    f... no macromedia technote on this one (again ;-)

  8. #8
    Member
    Join Date
    Dec 2000
    Posts
    48
    ohh it's worth it
    THANKS ONCE AGAIN jcd1489
    (I have to modify 150 images... but it's working !!! )

  9. #9
    Junior Member
    Join Date
    Mar 2002
    Posts
    23
    heh well I tried, well just a warning watch what editor you use,
    I had mad a bunch of thumbnails for my jpeg loader and found out that photo shop 7 saves files as .JPG and not .jpg, so I had 1/2 .jpg's and 1/2 .JPG's, But one good thing is the file browser in ps7 allows batch renaming which is a plus for this kind of stuff

  10. #10
    Member
    Join Date
    Dec 2000
    Posts
    48
    thanks Kevin
    I'll take good note of that too.

    prost!

  11. #11
    Junior Member
    Join Date
    Mar 2002
    Posts
    16

    resolved Again

    Hi Guyz,
    I want do the same function'lty.
    I can't fix it ! I checked my Image.
    It isn't set to "Progressive" tho.
    It's the same the MC just disapears.
    Please helpo me. Thank u

    Just want 2 know is this possible in Fla 5 or only MX?


  12. #12
    Member
    Join Date
    Dec 2000
    Posts
    48
    hi
    it's possible for an F5 movie... if it as been created in flashMX and published as a F5 file.

    be shure your image is in the same folder as your movie if you test it localy in testMovie mode.

  13. #13
    Junior Member
    Join Date
    Mar 2002
    Posts
    16

    Thanx AC

    Thanx AC,
    So do you meant say that F5 (Application itself) can't import Images (Jpg, Gif) to it?
    If you think it's possible, could you pls give me instruction or otherwise.

    --The AS done in F5 (My Flash), the MC simply disapears--

    Assuming I don't have FMX. Thanks again, Infinity



  14. #14
    Member
    Join Date
    Dec 2000
    Posts
    48
    ...if u have flashMX you can publish your movie as an F5 movie and it will load jpg.

    But if you don't have MX you cannot do that, 'cause
    flash5 (the appl itself, isn't capable of producing movies that loads jpg

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