Set width and height of dynamically loaded SWF file in FLEX
$30-250 USD
Annullato
Pubblicato circa 12 anni fa
$30-250 USD
Pagato al completamento
Hello,
I'm looking for someone who would be able to set width and height of a dynamically loaded SWF movie. The movie is loaded via SWFLoader in Adobe Flex (3.5)
This is the HTML code that works correctly (movie is 320x240 and is displayed correctly):
<!DOCTYPE html>
<html lang="en">
<head>
</head>
<body>
<object width="320" height="240" >
<param name="allowfullscreen" value="true" />
<param name="movie" value="http://www.facebook.com/v/1365218093993" />
<embed src="http://www.facebook.com/v/1365218093993"
type="application/x-shockwave-flash" allowfullscreen="true"
width="320" height="240">
</embed>
</object>
</body>
</html>
and this is the FLEX code (you should see fb screen that is cut-off):
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
<mx:HBox width="320" height="240">
<mx:SWFLoader source="http://www.facebook.com/v/1365218093993" width="320" height="240"
autoLoad="true" visible="true" includeInLayout="true" scaleContent="true" maintainAspectRatio="false">
</mx:SWFLoader>
</mx:HBox>
</mx:Application>
You should prepare Flex code that will make the movie look as in its HTML version (the firs example). It should be done ASAP.
Best Regards!