swfobject.js

22 views
Skip to first unread message

Jhonatan Oliveira

unread,
Dec 22, 2009, 3:50:04 PM12/22/09
to SWFObject
Hello, I am reorganizing my website and putting files into certain
folders, now my swfobject.js file i want in a js folder but like I am
confused, does that affect my player.swf and expressinstall.swf?
I opened it up on flash and dreamweaver but couldn't find anywhere to
change the folder's direct link!

Please help me this is the file: http://www.tvmeubrasil.com/player/swfobject.js
http://www.tvmeubrasil.com/player/player.swf
http://www.tvmeubrasil.com/player/expressInstall.swf

but I only want my player.swf and expressINstall.swf in the player
folder, I want the swf object.js file in another folder called js
which I've created and uploaded.

Thanks

Getify Solutions, Inc.

unread,
Dec 22, 2009, 4:09:02 PM12/22/09
to swfo...@googlegroups.com
The location of the swfobject.js file doesn't have any bearing on where you
keep your SWF content. You just specify the location of the .js file using
the script tag you include in your HTML.

For the SWF, the location is controlled by the SWF URL you:
1) set in the data params in the static object embed code; OR
2) pass to the embedSWF()/createSWF() calls for dynamic embedding

The "expressInstall.swf" file location is controlled by the expressInstall
parameter for embedSWF() or registerObject().

--Kyle

--------------------------------------------------
From: "Jhonatan Oliveira" <jhonata...@gmail.com>
Sent: Tuesday, December 22, 2009 2:50 PM
To: "SWFObject" <swfo...@googlegroups.com>
Subject: swfobject.js

> --
>
> You received this message because you are subscribed to the Google Groups
> "SWFObject" group.
> To post to this group, send email to swfo...@googlegroups.com.
> To unsubscribe from this group, send email to
> swfobject+...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/swfobject?hl=en.
>
>
>

Jhonatan Oliveira

unread,
Dec 25, 2009, 2:42:53 AM12/25/09
to swfo...@googlegroups.com
Okay so I can have my swfobject in one folder and my flash.swf and expressINstall in another folder?

Sam Sherlock

unread,
Dec 25, 2009, 3:31:05 AM12/25/09
to swfo...@googlegroups.com
Yes as Kyle stated the location of your copy of swfobject has no bearing on where you keep your flash content.

you can use an absolute path for your expressInstall

in the following example testing index_player.php tests the content.

you could use either static/dynamic - I would set the base param to ./player

  /index.php
  /index_player.php
  /js
  ...
  /player
    /player.swf
    /expressinstall.swf
    /playlist.xml
    
if you set up something along the lines of the above on you server and post a link page using swfobject - if you use firefox with firebug check the net tab  when expressinstall etc files can not be found they show in red 

- S




2009/12/25 Jhonatan Oliveira <jhonata...@gmail.com>
Reply all
Reply to author
Forward
0 new messages