A Flash Developer Resource Site

Results 1 to 15 of 15

Thread: Jpeg issue

  1. #1
    Junior Member
    Join Date
    Nov 2009
    Posts
    9

    Jpeg issue

    Hi I have a very simple movie where a long horizontal image (a jpeg) scrolls across the screen (via regular motion tween). When I publish the movie, the .swf file looks perfect in my flash player, but when I view the accompanying .html file (into which the movie is embedded), the jpeg just shows up as a red box. Any ideas? Thanks a lot.

  2. #2
    rabid_Delineator AttackRabbit's Avatar
    Join Date
    Dec 2003
    Location
    Orlando, Florida
    Posts
    481
    are you loading the image , or is it imported into the flash library ?

  3. #3
    Junior Member
    Join Date
    Nov 2009
    Posts
    9
    I imported the jpeg to the library.

  4. #4
    Junior Member
    Join Date
    Nov 2009
    Posts
    9
    Also, I am using Flash CS3 and I have flash player 9 installed on my computer.

  5. #5
    rabid_Delineator AttackRabbit's Avatar
    Join Date
    Dec 2003
    Location
    Orlando, Florida
    Posts
    481
    What are your publish settings ? Also , what browser are you testing in this in and what version ?

  6. #6
    Junior Member
    Join Date
    Nov 2009
    Posts
    9
    I tried it with Flash player 3-9. Same thing every time.

  7. #7
    Junior Member
    Join Date
    Nov 2009
    Posts
    9
    Also, tested it with Camino 2.0 and Safari 4.0.4

  8. #8
    rabid_Delineator AttackRabbit's Avatar
    Join Date
    Dec 2003
    Location
    Orlando, Florida
    Posts
    481
    can you post the source ? I cant think of anything of the top of my head. Unless you were masking something , and the mask didnt get applied. Either that or the image is corrupt. Have you tried , disabling / clearing your cache , in safari ? Also delete your aso files within the flash ide, export , and try viewing again.

  9. #9
    Junior Member
    Join Date
    Nov 2009
    Posts
    9
    Sorry it took me so long to respond, I was away ion business. I tried deleting the aso files, but no luck. I don't think the image is corrupt, as I have resaved it several times using different settings in photoshop. It's still just a red block only on the .html page. Very frustrating. If I view the .swf file in the flash player, the whole thing looks perfect, but if I stype the .swf directly into the address bar of either browser, the jpeg turns red.

  10. #10
    Senior Member
    Join Date
    May 2004
    Posts
    226
    What are the dimensions of the image? Have you tries remote debug session?

  11. #11
    rabid_Delineator AttackRabbit's Avatar
    Join Date
    Dec 2003
    Location
    Orlando, Florida
    Posts
    481
    well you really shouldn't be viewing the .swf file directly from a browser. The swf should be written into a div in an html page , or at the very least emebed as an object. I still dont think that would cause your image to turn red.

  12. #12
    Junior Member
    Join Date
    Nov 2009
    Posts
    9
    It is embedded into an html page, I had just viewed it that way to see if it made a difference. I will tried remote debug and let you know.

  13. #13
    Junior Member
    Join Date
    Nov 2009
    Posts
    9
    Also, image is about 250 px tall, and very wide, about 10,000 px

  14. #14
    Ө_ө sleepy mod
    Join Date
    Mar 2003
    Location
    Oregon, USA
    Posts
    2,441
    Please use [php] or [code] tags, and mark your threads resolved 8)

  15. #15
    Junior Member
    Join Date
    Nov 2009
    Posts
    9
    That was it! Thanks a million

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