Re: [flexcoders] Is SWFObject ready for prime time?

2008-04-23 Thread Tom Chiverton
On Tuesday 22 Apr 2008, Richard Rodseth wrote:
 I'm drawn to SWFObject because the wrapper code looks so much cleaner,
 but the following does not display at all in Firefox 2.0.0.14 on Mac.

We use 1.x a lot, and I'm trying the 2.x beta at home, but it looks like it 
might have problems resizing Flex content.

-- 
Tom Chiverton
Helping to authoritatively exploit value-added relationships
on: http://thefalken.livejournal.com



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at 
Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB.  A list 
of members is available for inspection at the registered office. Any reference 
to a partner in relation to Halliwells LLP means a member of Halliwells LLP.  
Regulated by The Solicitors Regulation Authority.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 2500.

For more information about Halliwells LLP visit www.halliwells.com.



--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! 
Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/



Re: [flexcoders] Is SWFObject ready for prime time?

2008-04-22 Thread Carlos Rovira
I tried to switch to SWFObject 2.0 but I was not be able to get it work so I
switch back to 1.5

Something weird is happening with 2.0, and it's not working as expected.

anyone knows why 2.0 it's not valid?

Thanks for point this issue


Best.

C.


2008/4/22, Richard Rodseth [EMAIL PROTECTED]:

   I need a simple template for embedding a Flex app such that it takes
 up the whole window, no scroll bars, and resizes with the window, and
 takes a couple of Flashvars.

 I'm drawn to SWFObject because the wrapper code looks so much cleaner,
 but the following does not display at all in Firefox 2.0.0.14 on Mac.

 I'd appreciate any advice on the current best choice for deployment.

 Thanks
 - Richard

 !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Strict//EN
 http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd;
 html xmlns=http://www.w3.org/1999/xhtml; lang=en xml:lang=en
 head
 titleSWFObject v2.0 dynamic embed sample page/title
 meta http-equiv=Content-Type content=text/html; charset=iso-8859-1 /
 script type=text/javascript src=swfobject.js/script
 script type=text/javascript
 var flashvars = {
 name1: Hello,
 name2: world,
 name3: foobar
 };
 var params = {movie:${swf}.swf, bgcolor:${bgcolor},
 allowScriptAccess:sameDomain};
 var attributes = {};
 swfobject.embedSWF(${swf}.swf, myContent, ${width},
 ${height}, 9.0.0, expressInstall.swf,
 flashvars,params,attributes);
 /script
 /head
 body
 div id=myContent style=width:100%;height:100%
 h1Alternative content/h1
 pa href=http://www.adobe.com/go/getflashplayer;img
 src=
 http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif;
 alt=Get Adobe Flash player //a/p
 /div
 /body
 /html
  




-- 
::| Carlos Rovira
::| http://www.carlosrovira.com
::| http://formacion.carlosrovira.com/
::| http://www.madeinflex.com