Adobe Dreamweaver Forums



Last 10 THreads :         Create A Rotator Banner in DW? (Last Post : Twocans - Replies : 1 - Views : 2 )           »          How to Code SWFObject with Alternate Content (Last Post : SRKay62 - Replies : 5 - Views : 6 )           »          While executing error (Last Post : TedMoore - Replies : 0 - Views : 1 )           »          directional movement? (Last Post : clbeech - Replies : 1 - Views : 2 )           »          Populating cfinputs in a form (Last Post : drieh - Replies : 0 - Views : 1 )           »          Autosuggest icon (Last Post : brettcristofer - Replies : 14 - Views : 15 )           »          Flex Session Handling (Last Post : John Hall - Replies : 1 - Views : 8 )           »          Flash Calculations (Last Post : clbeech - Replies : 10 - Views : 11 )           »          Calling Query in Custom Tag (Last Post : JR Bob Dobbs - Replies : 5 - Views : 6 )           »          DW 8 on two computer? (Last Post : Jeepbull - Replies : 2 - Views : 3 )           »         


Home Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
User Info Statistics
Go Back   Adobe Dreamweaver Forums > Other Macromedia/Adobe Products > Flash
 
Tags: ,



Reply
  #1 (permalink)  
Old 09-05-2008, 03:21 PM
eLoCas
 
Posts: n/a
Diggs:
Default Flash Paper

Hello - can anyone tell me how you set the dimensions of a flash paper file (.swf) when loading it into a movie? It seems to default at 550x400. Thanks




Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 09-06-2008, 08:17 PM
DMennenoh **AdobeCommunityExpert**
 
Posts: n/a
Diggs:
Default Re: Flash Paper

You can set the dimensions of an loaded SWF easily using the MovieClipLoader
class:

var myLis = new Object();
var mcl = new MovieClipLoader();

myLis.onLoadInit = function(targ:MovieClip){
targ._width = xxx;
targ._height = yyy;
}

mcl.addListener(myLis);
mcl.loadClip("myFlashPaperFile.swf", holder);



--
Dave -
www.offroadfire.com
Head Developer
http://www.blurredistinction.com
Adobe Community Expert
http://www.adobe.com/communities/experts/


Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



© Camley Interactive (camley.info) 2008 - all logos and images are copywrite their respective owners.
Proud member of the Camley Interactive Network
All times are GMT. The time now is 07:11 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.
Inactive Reminders By Mished.co.uk