Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 12-28-2008, 01:30 AM   #1
sarabrynt
Registered User
 
Join Date: Apr 2007
Posts: 25
Default Loading Multiple Swfs with Swf Object

For the life of me, I can't figure out an easy way to embed multiple swfs on a page using swf object. I can get two of them on the page but I can't arrange them at all. Now, I'm trying to embed about 6 swfs on the html page but they just go in line down the page - you can't arrange them or get them to go where you want them to go. They don't respond to any traditional way of organizing things on the page. Every time I search for the answer, I just find "swf object doesn't like multiple swfs on the page." So if that's the case, how else should I embed them.

Any clues??
sarabrynt is offline   Reply With Quote
Old 12-28-2008, 02:43 AM   #2
atomic
Banned by AS.org Staff
 
Join Date: Jan 2007
Location: Montréal, Québec
Posts: 14,073
Default

You can usually stacked them in separate divisions, one over the other, and either harcode the position of each division, or use CSS to do so...

Got a link to this?
atomic is offline   Reply With Quote
Old 12-31-2008, 07:09 PM   #3
sarabrynt
Registered User
 
Join Date: Apr 2007
Posts: 25
Default

I don't have any type of link because I haven't even tried. I don't know where to start!

I have 7 swfs. I am trying to arrange tham on a page. I usually use swfObject to embed the swfs on the page but I've only done it before with one swf. How do I go about arranging the swfs so that I have one long one (900 px) across the top, three on the next row (left box is 220 x 330, middle one is 460 x 330, and right is 220 x 330), and three on the bottom row (left box is 220 x 330, middle one is 460 x 330, and right is 220 x 330).

Anyone know how to do this? IS swfObject the best way to embed the .swf if you want to arrange them?
sarabrynt is offline   Reply With Quote
Old 12-31-2008, 09:51 PM   #4
atomic
Banned by AS.org Staff
 
Join Date: Jan 2007
Location: Montréal, Québec
Posts: 14,073
Default

Quick and dirty example using only 4 movies (but you'll get the picture and add 3 others...), and CSS (which I'm not very good at!) to position the different divisions...

You'll have to experiment with the different CSS settings, to get what you want, but this could be a starting point...
Attached Files
File Type: zip multiple.zip (7.0 KB, 1047 views)
atomic is offline   Reply With Quote
Old 01-13-2009, 09:35 PM   #5
sarabrynt
Registered User
 
Join Date: Apr 2007
Posts: 25
Default

Thanks for the help with this. THat method works great if you are using the old swfObject. Is there any way to do it using swfObject 2.0?
sarabrynt is offline   Reply With Quote
Old 01-13-2009, 11:24 PM   #6
atomic
Banned by AS.org Staff
 
Join Date: Jan 2007
Location: Montréal, Québec
Posts: 14,073
Default

I've never yet used the swfObject2.0... But don't see why it wouldn't work in the same manner...
atomic is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Loading a swf created using document class gives error #1009 charlieFlash ActionScript 3.0 6 07-08-2010 08:59 PM
Loading swf into another swf and paths fray2200 ActionScript 3.0 2 11-20-2008 02:17 PM
Issue loading external swfs fray2200 ActionScript 3.0 2 08-21-2008 07:23 PM
Problem Loading external swf in a scrollpane alvin009 Components 7 05-01-2008 10:50 AM
loading multiple swfs using one load bar mc digitalking ActionScript 1.0 (and below) 3 11-04-2003 12:03 AM


All times are GMT. The time now is 09:38 PM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.