Loading swf via swf in DW

Loading swf via swf in DW

Post by Brandin » Sun, 17 Jul 2005 06:20:20


Hi,

I'm new to Dreamweaver(as well as this forum), but have extensive knowledge
using Flash. I was wondering about the best methods of loading flash content
dynamically via flash content in DW. I know about using framesets and getURL to
load content into frames, but was hoping there was a frameless method of doing
so, i.e. Is there a way to load flash content into Dreamweaver
tables...etc,etc. If so, I'd love to see some links that explain how this is
done. I've been all over MM's site looking for methods, as well as the DW
tutorials, searching this forum too, but have not come across anything yet. My
gut instinct tells me that frames are the way to go. I've yet to use a DW
extension, so thought that might be a possibility.

If anyone has any info, I'd be most interested.

Thanks,
Brandine
 
 
 

Loading swf via swf in DW

Post by darre » Sun, 17 Jul 2005 07:12:54

> I'm new to Dreamweaver(as well as this forum), but have extensive
knowledge
content

If you are loading flash content via flash, then DW isn't really part of the
equation. You do all of this in your parent flash file.

-Darrel

 
 
 

Loading swf via swf in DW

Post by Brandin » Sun, 17 Jul 2005 07:40:31

Thanks for the reply, and agreed, that's one way to do it, but I'm trying to
integrate html into part of the equation. I know about loading levels into
Flash, but I'm trying to control 2 parts of a website that are Flash, while I
want the rest to be html.

Any links on this topic would be great.

~B
 
 
 

Loading swf via swf in DW

Post by darre » Sun, 17 Jul 2005 07:51:29

> Thanks for the reply, and agreed, that's one way to do it, but I'm trying
to
while I

I'm very confused. Flash is flash. It doesn't control the parent HTML page
at all. It can't. It could, in theory, share data with the parent page via
reading/writing to an XML file or something of that nature, though. But it
can't directly manipulate the HTML that's being displayed by the page.

-Darrel
 
 
 

Loading swf via swf in DW

Post by Brandin » Sun, 17 Jul 2005 08:10:29

"Control the parent page"... I'm not trying to manipulate data that's displayed
on the page, I'm just trying to learn a new way of loading content into a html
page via Flash. It can be used as a nav tool:

http://www.yqcomputer.com/

getURL is a very common method for loading content into frameSets via Flash.
I'm trying to find out if there's a better way than the frames method. Frames
are messy and have a tendency to be cumbersome, I was curious about the
localConnection:


http://www.yqcomputer.com/
local_connection_object09.html

and how it can be used to load flash content into another region of a html
page.

~B
 
 
 

Loading swf via swf in DW

Post by Brandin » Sun, 17 Jul 2005 10:58:56

I found my answer:

http://www.yqcomputer.com/

This can be easily manipulated to include the loadMovie command. Attach a
button to the receive_from_flash.swf, type in the movie you to load in the
send_to_flash.swf. On the button in the receive_from_flash.swf, enter this code:

on (release, keyPress "<Enter>") {
a= _root.displayVar;

_root.loadMovie(a);
}


It's javascript dependant, but that's alot better than usin' frikkin' frames,
at least in my opinion. If anyone has a better method, I'd love to know what
you got.

Thanks,
B

~Brandine