• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Anyone know Flash?

l6873

Senior member
I'm trying to embed test.swf, which consists of a black box with the following properties:
width:100, height:100; x:100, y:100

I also have this actionscript linked to it:

w = Stage.width;
h = Stage.height;

theBox._width = w;
theBox._height = h;

theBox._x = 0;
theBox._y = 0;

If I specify 400 and 300 as the width and height when embedding, the width is shown correctly but for some reason the height becomes 291. How would I go about correcting this?
 
:music:Flash - a-ah - saviour of the universe
Flash - a-ah - he'll save everyone of us
Ha ha ha ha ha ha ha ha ha
Flash - a-ah - he's a miracle
Flash - a-ah - king of the impossible

He's for everyone of us
Stand for everyone of us
He'll save with a mighty hand
Every man every woman
Every child - with a mighty flash

Flash - a-ah
Flash - a-ah - he'll save everyone of us

Just a man
With a man's courage
He knows nothing but a man
But he can never fail
No one but the pure in heart
May find the golden grail
Oh oh - oh oh
Flash
:music:
 
Originally posted by: troytime
can you show the example?

how are you determining the 291px height?

Taking a screenshot and measuring. The flash object is in fact 300px in height, but there are two white bars at the top and the bottom which occupy the remaining 9 pixels. I thought setting the X and Y coordinates to 0 would solve this.

As for the example, like I said, it's basically just a black box that's 291px X 400px with white space at the top and bottom.
 
While we're at it, how would you even get an sfw to have certain dimensions? If I have the above box with no action script, it becomes much smaller than 100X100 once embedded. I've played around with the Publish Settings but that hasn't helped a whole lot either.
 
Back
Top