Groups | Blog | Home
all groups > flash (macromedia) > june 2004 >

flash (macromedia) : How did they make this site?


Jake Lyman
6/15/2004 11:26:54 PM
Hello All,

I have a general question concerning a site so I understand I'll receive a
general answer. Can you see this site:

http://www.2fortytwo.com/ (http://www.2fortytwo.com)

Once you are past the "splash" screen, could you click a link or two and
observe the action that takes place? How do they do this? It looks like only
the top half of the site is flash. The bottom half looks like it is html. How
is the flash navigation controlling the loading of those pages in the HTML part
of the site? What actionscript does this type of navigation require? Is this
a "frames" thing? I guess I just need to know how to begin searching the
forums for threads concerning these types of web design elements, but I don't
know where to begin since I don't even know what it is called!

Thanks so much!!!

Jake Lyman
urami_
6/16/2004 8:29:24 AM

[quoted text, click to view]

go to http://www.2fortytwo.com/main.html
and view the source . It an iFrame , which is something like a table in which you
can load pages . Frame on top of HTML .
Just like loading content from flash in html frames , you use
getUrl action following by content and the iFrame name

getURL ("Clients.html", "content_iframe");


--

Regards


urami_*



<no>
http://flashfugitive.com/
</no>

Jake Lyman
6/16/2004 4:45:51 PM
Hi Urami,

Thanks for the reply. This is going to help me move forward and begin to ask
more questions. You certainly don't have to hold my hand through this anymore,
but if you're willing, could you answer a couple more questions?

1. Something that has frustrated me for some time is that my "view source"
option does not work. Notepad is installed on my pc, but whenever I right
click a web page and then click "view source" nothing happens. No error
message, no notepad file with the source code. Any ideas what might be wrong?

2. This iframe thing - you said that this is just like loading content from
flash in html frames. This can be done? I didn't realize this. What script
would you use to load flash content into an html frame? Something like what
you provided?

getURL ("flashmovie.swf", "content_htmlframe");

I understand the getURL command for flash, I'm just not sure that I understand
the second part there. The "content_iframe" part of the code. When doing this
do you ALWAYS use "content" followed by the html frame's name? Or is "content"
something that changes each time.

Hope I'm making sense. If you don't have time to explain no problem. I
really appreciate your help already!

Jake
arraknid
6/16/2004 7:08:22 PM
Your Notepad problem may be down to it having been hijacked by a nasty. Try
searching for Notpad.exe (not a spelling mistake - NOTPAD.EXE). If you find it,
delete it. Now try searching for Notepad.exe. You should find 2...one in main
Windows folder and the other in Windows/System32 folder. Compare their sizes.
They should be identical. If the one in Sys32 folder is a different size, just
copy the one in Windows folder over it. Now notepad should launch properly. If
this does solve the problem, you should consider installing Spybot, Ad-aware or
Bazooka - or even all three! They're all free to download. Unfortunately, a
firewall doesn't stop this s**t as they are usually attached to 'legit' files -
though, more often than not, files from crack sites.
Jake Lyman
6/16/2004 7:22:13 PM
Thanks arraknid for posting to this. I searched for notpad.exe, but it's
unfortunately not on my C: drive. Probably fortunate, but I consider it
unfortunate because that means I still have the problem. Thanks so much for
trying!

Jake
arraknid
6/17/2004 7:35:29 AM
Originally posted by: Jake Lyman
Thanks arraknid for posting to this. I searched for notpad.exe, but it's
unfortunately not on my C: drive. Probably fortunate, but I consider it
unfortunate because that means I still have the problem. Thanks so much for
trying!

Jake

Try copying the Windows Notepad.exe into the sy32 folder in any case. Then
check your defaults in Folder types.
urami_
6/17/2004 7:38:20 AM

[quoted text, click to view]

as in previous reply, the file could be jacked or corrupted.
I personally has been fighting few problems of similar nature .
You can always view the cache folder and big out the HTML and than view the source.
Meantime I'll try to make basic iFrame sample with some dummies html to change from flash buttons.

[quoted text, click to view]

Certainly , there are some restriction tho , i'll explain in a while ...

[quoted text, click to view]

By default the second parameter define window option , _blank , _self etc...
This however can be use to call the frame name. You won't have it listed you just need to key
it manually your self while you setting the get url action.

Let me elaborate some more :


First make sure you give your frames some names , than while setting up
get url type the name in "window" window .....

Sample of naming frames :

<frame name="main_frame_name" src="XX.html">
<frame name="top_frame_name" src="XXX.html">

Sample of calling up pages in predefine frames :

on (release) {
getURL ("page_1.html", "main_frame_name");
}


The restriction which I mentioned above !

try to avoid names like 'window', 'main', 'frame', 'parent' etc...
DO NOT start frame names with underscore , these are reserved words which may cause some of the
action to fail , use unique personal naming conventions
and it will assure across browser and cross OS compatibility.

Iframe is pretty much like normal frame tho it's within one html document.
Inline frames are not well supported and that's the problem if you need to
make site cross OS compatible but they are extremely simple to set up.
All yo need basically is to make some table and place that frame into it using :


<iframe src="some.html" frameborder="0" width="400" height="400" scrolling="auto"
name="content_space"><font face="Verdana" size="1">
Sorry your browser does not support IFRAMES.</font>
</iframe>


Than to load content from flash in that frame, you will use :


getURL ("page_1.html", "content_space");

http://www.flashfugitive.com/ang-zhang/iFRAME/
download source
http://www.flashfugitive.com/ang-zhang/iFRAME/iFRAME.zip
--

Regards


urami_*



<no>
http://flashfugitive.com/
</no>

anishu
6/17/2004 9:12:10 AM
just follow urami's posting.. if u have MS frontpage its easy for u to
understand frame properties, if ur learning about frames i would prefer MS
frontpage instead of notepad.

in MS frontpage Just select the frame >> right click >> properties - u will
get all info about frame
eg: width, height [in % / px], frame name etc
Branching
6/17/2004 9:25:04 AM
Jake Lyman
6/21/2004 8:51:29 PM
Urami!

You're awesome! Thanks so much for all the hand holding. It helped. I
finally got it to work. The examples you posted on your site and your
explanation here both served to help me through!

Thanks again,

Jake
urami_
6/22/2004 8:18:56 AM


[quoted text, click to view]

No problem Jake , great you got it working :)


--


Regards


urami_*

<hol>
http://flashfugitive.com/
</hol>


By The way:
If you try to mail me , DO NOT *laugh*
AddThis Social Bookmark Button