Logo 
Search:

Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds

Flash Files as Content on a Page

  Asked By: Marcella    Date: Feb 02    Category: Sharepoint    Views: 1209

I was able to get a flash file to play as part of the content on a
page using an html file that calls a swf file. On the page, I simply
link to the html file and check the launch in a new window checkbox.
The one thing I can't figure out is whether and how I can gain any
control over the appearance and sizing of that new window. Any
advice?

FYI, I don't want to use a webpart to launch the flash file because I
need the flash file to be saved as content on the page.

Share: 

 

21 Answers Found

 
Answer #1    Answered By: Christop Mcfadden     Answered On: Feb 02

Simply copy the flash  code and paste it in the Content Editor Webpart.
It will work fine. and regarding the appearance and sizing  you can specify in the code of the flash file.

 
Answer #2    Answered By: Victoria Bell     Answered On: Feb 02

Where ever you place the object tag (in a Web Part or in an associated
HTML file) you should be able to set the appearance and sizing  of the
window as attributes of the OBJECT tag.

 
Answer #3    Answered By: Cassidy Sharpe     Answered On: Feb 02

I'd like to get a flash  file working within a web part  that displays
it on the same page, but without the annoying IE 'click to activate
ActiveX control' problem. The only workaround I've been able to find
involves using javascript to execute a function from an externally
referenced file. Is that possible from within SharePoint? Is there an
easier way?

 
Answer #4    Answered By: Linda Mason     Answered On: Feb 02
 
Answer #5    Answered By: Hans Weiss     Answered On: Feb 02

Yes, (with a different flash  movie). It shows the user 'Click to activate and use this control' in the mouseover/hover text when the user hovers over it. (You may recall, MS introduced the extra click in a Windows Update a few months back to get around some legal problems they had with certain embedding techniques.) The control displays fine, but when the user goes to use it they have to click an extra time.

 
Answer #6    Answered By: Alison West     Answered On: Feb 02

Is this a Publishing site or a standard WSS site? If its a publishing site, there’s a Field Control that Mark Harrison (UK) created (that’s downloadable) from his blog post including the PPT from his talk at Office Dev Con 2006 in the UK. The code was written for beta 1, but it should be pretty close to working in beta 2.

The URL for his presentation is on my WCM link fest (www.andrewconnell.com/.../MossWcmResources.aspx) under the Field Control category… look for the link pointing to a UK presentation. Sorry… writing this email while disconnected so I don’t have access to get the direct URL for you.

 
Answer #7    Answered By: Freddy Heath     Answered On: Feb 02

It's a portal site (created by our consultant) so I assume it's a
Publishing site. Is that a safe assumption to make?

 
Answer #8    Answered By: Joanna Dixon     Answered On: Feb 02

Easy way to check…

Click Site Actions… see View Reports? If so, Publishing has been activated so it’s a Publishing site.

 
Answer #9    Answered By: Damon Garner     Answered On: Feb 02

It look like this portal is NOT a publishing site then.

Are there solutions to the ActiveX 'click' thing  for a standard WSS
site?

 
Answer #10    Answered By: Sharonda Mcfarland     Answered On: Feb 02

Assuming you mean you have to click the Flash movie to activate it when you say “click thing”…

As far as I know there are no workarounds. This is the result of a legal ruling that MSFT has to conform to (think it was last year, maybe two years back).

 
Answer #11    Answered By: Cory Brooks     Answered On: Feb 02

Assuming you mean you have to click the Flash movie to activate it when you say “click thing”…

As far as I know there are no workarounds. This is the result of a legal ruling that MSFT has to conform to (think it was last year, maybe two years back).

 
Answer #12    Answered By: Ruth George     Answered On: Feb 02

Not with B2TR.
Your Portal options are Collaborative Portal and Publishing Portal.

 
Answer #13    Answered By: Peter Peterson     Answered On: Feb 02

Steve Orr wrote an article for asp.net Pro magazine (Sept. 2006 issue) in which he creates a custom control to provide this functionality. You could easily convert the custom control into a webpart.

Details here: http://steveorr.net/articles/Flasher.aspx

 
Answer #14    Answered By: Kalyan Pujari     Answered On: Feb 02

I don't have a subscription - does the control work around
the 'activate' issue?

 
Answer #15    Answered By: Laura Walker     Answered On: Feb 02

Yes, it uses the concept of the external JavaScript file, but it takes care of that completely for you, such that all you have to do is edit the properties for the control to set the swf file  and it takes care of the external JavaScript file for you, and thus does not show the "click here to activate" text.

 
Answer #16    Answered By: Gopal Jamakhandi     Answered On: Feb 02

I've taken the article in question, and converted the custom control
into a SharePoint Webpart. I've found most people don't require it
as their SharePoint sites are trusted due to being located in their
Intranet Zone. However, if you have a site in another zone, you may
find it useful in order to eliminate the "click to Activate"
prompt. I've uploaded my code to the Discussion group, so you can
either grab the cab file  out of the release folder and install it
directly with STSADM, or use the source code as a base for your
own development. The file is located here:
http://tinyurl.com/ymjbcv

I've only had today to create and test it, but it seems to work
well.. Please let me know if you find any bugs in it..

 
Answer #17    Answered By: Kristina Cox     Answered On: Feb 02

I couldn't get the tinyurl directly to this file  to work so I created a
tinyurl all to the files  on the Yahoo group:
http://tinyurl.com/y34ecu

 
Answer #18    Answered By: Delbert Frederick     Answered On: Feb 02

Our portal site is in our intranet zone and trusted, but we still get
the 'click to activate' behaviour.

I'll give your file  a try and see what happens.

 
Answer #19    Answered By: Kalyan Pujari     Answered On: Feb 02

It looks like IE7 has broken this web part. It seems to have
reverted back to the 'click to activate' behaviour. Can anyone
confirm this?

 
Answer #20    Answered By: Allison Stewart     Answered On: Feb 02

I would need some more details before I can answer this and you might
actually already being doing this. But if you take all the HTML code
that imbeds your flash  object and place it in an external javascript
and simply wrap each line in a Document.Write(flash stuff here); and
then call the javascript with <script src="scripts/embedFlash.js"
language=javascript></script> then you should be able to stop the
click to activate stuff. I have not tested this in IE 7 but I know it
works in IE6 and Mozilla.

 
Answer #21    Answered By: Emmett Hyde     Answered On: Feb 02

Yes, this is (effectively) what the web part  that Steve and Monty wrote does. It works great in IE6. I haven't bothered with whatever plugin Firefox wants for it.

I've seen this fail and succeed with IE7 now. I can't seem to isolate it. If anyone runs it using IE7, please let us know whether it's behaving any differently.

 
Didn't find what you were looking for? Find more on Flash Files as Content on a Page Or get search suggestion and latest updates.




Tagged: