Member Avatar

Ok here's the deal. How the hell do you centre a flash file in html?

I just can't do it. It's driving me mad. I just want the picture to be centered when I export it to html. And preserve it's scaling when viewed at higher or lower resolutions.

I feel the answer has something to do with this.

File>publish settings>html

Btw I'm using flash pro 8.0

See my zipped file for a demo... (you need to extract it!)

[IMG]http://img20.imageshack.us/img20/4750/crap2qj.png[/IMG]

Member Avatar

Ok I found out how to centre it...


File>publish settings...

dimensions: Percent
width:100
height:100

Html alignment:default
Scale:No scale

Flash alignment:

Horizontal:center

Vertical:top

[IMG]http://img476.imageshack.us/img476/5171/cut20ln.png[/IMG]
Piworld ™
[Tis simple as Pie]

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.