dcsimg
A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: HTML version better than .swf

  1. #1
    Member
    Join Date
    May 2001
    Posts
    69

    HTML version better than .swf

    When I open a certain .swf file directly,

    http://www.design4x.com/misc/Camtasia_FlashOutput.swf

    the image quality is mediocre, with the text being hard to read.

    However, when I open the *same* .swf file using an html file,

    http://www.design4x.com/misc/Camtasia_FlashOutput.html

    The image quality is much better thatn just opening the .swf (the size is a larger, but even when I zoom in on the .swf, the quality is still mediocre - and the quality is set to "high").

    Why is this happening?


    (Note: It's an issue because I want to open the .swf with another .swf, rather than opening it up into an external HTML window.)

  2. #2
    PAZ nordberg's Avatar
    Join Date
    Nov 2000
    Location
    east of west
    Posts
    4,704
    i think i know what you are asking about. when you open the .swf in an HTML page, the .swf file is playing at it's intended, fixed size (800 x 600, or whatever you have the movie diminsions set to). when you open the .swf by itself in the browser, it will scale to whatever size the browser is. this will distort text, or any lines for that matter, that are in bitmapped images. you can always add this code to your flash file to keep scaling from happening:
    Code:
    fscommand("allowscale", "false");
    as a side note, we use camtasia as well. i have had very limited success loading a camtasia-generated .swf into another .swf. the player cannot render it properly for some reason.

    hope that helps, nords.

    Ah, these boys is all swelled up. So this was earlier...getting set to trade. Then, woooaaah differences.
    Blog Photos Book

  3. #3
    Spidey wants his icon back! Defyeler's Avatar
    Join Date
    Jul 2002
    Location
    New York City
    Posts
    255
    nordberg got it right, just do what he suggested.

    The tutorial you did is really kool though, good job on that
    Its never.. wow kool I like it, its always.. ok I made this.. how can it be better?

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