Digital Workshop

Welcome to the Digital Workshop Message Boards
It is currently January 11th, 2025, 12:43 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Embeding flash vs html
PostPosted: November 16th, 2005, 11:54 pm 
Offline

Joined: May 25th, 2005, 9:05 pm
Posts: 39
Location: New Hampshire, USA
Hi All

I have a series of Flash files that I want to be able to view within an Opus publication. The idea would be to click a hyper link on the page and the flash presentation would show up on the same page. Click a different link and a different presentation plays in the same spot.

I found that I can achieve this using a browser object and navigating to the HTML launch page that is created when the Flash is published. The problem is that there is an area of white space around the presentation when this is done. This makes the browser object to be larger than needed in order to see the entire flash presentation.

Has anyone seen this problem with the border issue and is there a way to make it present at the desired flash size (800X600)?

A second option I found was to open the Flash directly in a doc view. This opened the file fine and the size of the object worked at 800 X 600. The problem here is that I can not open different files in the same doc object. Is there a way I can control a doc view object like a browser object?

Any ideas would be appreciated. I am close but could really use that little trick to make this more professional looking.

Thanks
Dave


Top
 Profile  
 
 Post subject: One way to do this...
PostPosted: November 17th, 2005, 3:30 am 
Offline

Joined: November 3rd, 2004, 2:11 pm
Posts: 323
I tried this and it worked.

Create a multiframe with as many frames as you have SWFs. Make sure you have an HTML page for each SWF.

In the HTML page for each SWF put this in the BODY tag. Make sure your width and height match what your SWF's width and height are. This should eliminate any scrollbars from the browser object.
Code:
<body style="width:656px;height:600px;border-style:none; overflow:hidden;position:absolute;margin-left:0;margin-top:0;margin-bottom:0;margin-right:0;background-color:transparent;text-align:left;left:0;top:0;">


Now let's say you have two SWFs. Each multiframe has a browser object sized to the size of the SWF and set to display the HTML page for that SWF. For the second frame of the multiframe, make sure browser object is set to hidden. Then create buttons to navigate through the multiframe. I had to move the HTML and SWF files over to the publication directory myself after I published, but then everything worked as it should. I don't know how it would work if you had giant SWF file sizes, because I would think Opus would want to load them all, but this did work as you wanted.

Hope this helps or perhaps gives you some other thoughts.

_________________
Opus Pro XE 9.1 Win7 64-bit Core i3 8MB RAM


Top
 Profile Visit website  
 
 Post subject: Thanks!
PostPosted: November 17th, 2005, 5:35 pm 
Offline

Joined: May 25th, 2005, 9:05 pm
Posts: 39
Location: New Hampshire, USA
I added the html and it worked like a charm for the display. I have not had a chance to try the multi frames portion yet because of time but I will let you know how it comes out.
Thanks!!!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: Google [Bot] and 47 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group