A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Two dumb questions I really need to ask (uploading flash website)

Threaded View

  1. #1
    Member
    Join Date
    Jul 2009
    Posts
    69

    Two dumb questions I really need to ask (uploading flash website)

    Question 1: I have a swf that is 1024px wide by 738px height. And I'm wondering what would happen if, on the html page, I used the following code to embed this swf, using 977px by 575 as the dimensions, using the code below: Would it cut-off parts of the swf or just embed it at a smaller size (p.s. I tested, but the answer wasn't immediately evident to me, plus am wondering if there's any harm to it that I'm not aware of).

    <OBJECT CLASSID="clsid27CDB6E-AE6D-11cf- -6B8-444553540000" WIDTH="977" HEIGHT="575" CODEBASE="http://active.macromedia.com/flash5/cabs/swflash.cab#version=5,0,0,0">
    <PARAM NAME="MOVIE" VALUE="myswf.swf">
    <PARAM NAME="PLAY" VALUE="true">
    <PARAM NAME="QUALITY" VALUE="high">
    <PARAM NAME="SCALE" value="noborder">
    <EMBED SRC="myswf.swf" WIDTH="977" HEIGHT="575" PLAY="true" QUALITY="high" scale="noborder"
    PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">
    </EMBED>
    </OBJECT>


    Question 2. For a few flash games, I have the .swf (to be embedded in html/php), a preloader swf, multiple .as 3.0 files, xml file, various mp3 files that are called in by the xml file (in one I have various .swf files called in by an xml file). I'm learning the process of using flash inside html/php pages ... I know I have to upload to the server the main .swf and the preloader .swf .... do I also have to upload the xml, the .as and all the audio files for things to work well? I know the .fla file doesn't go up there, but does everything else?

    Thank you kindly!

    p.s. everything in my .swf files is vector.
    Last edited by Leftyplayer; 04-01-2011 at 10:35 AM.

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