setting height and width params w/ percentages

wickwood - January 24, 2009 - 19:11
Project:SWF Tools
Version:6.x-1.3
Component:User Interface
Category:support request
Priority:normal
Assigned:Unassigned
Status:active
Description

I'm trying to set the width and height to a percentage, but when I try to do this, the flash file doesn't show up at all.

This is what I'm entering:

<?php
print swf('sites/default/files/moving_colors.swf', array('params' => array('height' => '100%', 'width' => '100%')));
?>

I have also tried this filter:

<swf file="sites/default/files/moving_colors.swf" flashvars="width=100%&&height=100%">

I've tried using SWFObject 2 and Direct embedding.

Anybody have any ideas?

Thanks in advance!
Steve

#1

washwithcare - February 10, 2009 - 00:05

i have the same problem.

#2

hamsterbacke82 - July 3, 2009 - 07:57

Currently I also have the problem that I can only set the width but not the height at the same time..
nothing shows up

#3

Oscar Illada - November 11, 2009 - 14:14

Same problem. anyone have the solution. Thanx

 
 

Drupal is a registered trademark of Dries Buytaert.