Skip to main content
Inspiring
February 25, 2013
Question

Please can somebody, explain me about the swfObject

  • February 25, 2013
  • 1 reply
  • 734 views

Really, i am very new in this theme, i really don't understand why to embed swf flash as3 in html when i have seen videos where we can upload the swfs in a domain, please, i hope don't say something wrong.

Thanks in advance

Regards.

Joselyn

This topic has been closed for replies.

1 reply

Inspiring
February 26, 2013

The html Wrapper for any flash file is basically a method to alert the user if he has no flash player installed or the false version to play the content and directing him to a global page where he can update accordingly.

You could a swf play directly but it is not recommended if you don`t know the source is trustworthy(this is why air files must include a certificate)

Joselyn6Author
Inspiring
February 26, 2013

Thanks for your respons Moccamaximum, thats explain why the swfs can`t test as html from flash? it means than to upload a page, first i have to embed it with SWFObject ?,

I was looking for some explanation about the "flashvars" but i want to know for what serving, excuse me for my ignorance.

Thanks again for your great help, if you have some page where i can see a easy way to learn about this theme. i will appreciated too. Hope my english is understandable.

Regards

Joselyn

Nabren
Inspiring
February 26, 2013

swfobject is just an industry standard way of embedding a Flash file into a web page because it handles all the browser differences internally and has a few other bonuses as well. Adobe even uses this in their own html-template file so they fully support this method.

Can you do it without swfobject? Yes... but swfobject is just the recommended way.

Some reference:

https://code.google.com/p/swfobject/

https://code.google.com/p/swfobject/wiki/faq

https://groups.google.com/forum/?fromgroups#!forum/swfobject