Be a Supporter!

Viewing Flash Ng Style

  • 633 Views
  • 9 Replies
New Topic Respond to this Topic
Moosh
Moosh
  • Member since: Jun. 12, 2004
  • Offline.
Forum Stats
Member
Level 35
Game Developer
Viewing Flash Ng Style 2004-07-23 17:06:51 Reply

I have a free web page from geocities and I was wondering how to put your flash games/movies on it for viewing NG Style. What i meant is like pressing a button and a little pop-up appears and plays the flash. I tried uploadin the swf and just linking to it but the swf grows to the browser size and it screws up the "feeling"

I posted this earlier in a different forum but j00bie recommended that i shud post it here. Hope you guys dont get mad!!

bumcheekcity
bumcheekcity
  • Member since: Jan. 19, 2003
  • Offline.
Forum Stats
Member
Level 27
Blank Slate
Response to Viewing Flash Ng Style 2004-07-23 17:48:18 Reply

<EMBED src="http://site.com/whatever.swf" WIDTH="550" HEIGHT="400">

bsjoelbs
bsjoelbs
  • Member since: Oct. 8, 2003
  • Offline.
Forum Stats
Member
Level 17
Audiophile
Response to Viewing Flash Ng Style 2004-07-23 18:16:00 Reply

At 7/23/04 05:48 PM, bumcheekcity wrote: <EMBED src="http://site.com/whatever.swf" WIDTH="550" HEIGHT="400">

I think he means that he wants to link to a submission without the window going to a different size.

lexus3
lexus3
  • Member since: Dec. 31, 2003
  • Offline.
Forum Stats
Member
Level 14
Blank Slate
Response to Viewing Flash Ng Style 2004-07-23 19:48:13 Reply

Just include this script in the head.
<script language="Javascript">
//define your function!
function popup() {
window.open("u_r_l_here" "my_new_window"
//define window charactoristics
//type yes if you want the char. no if not, e.g.
menubar=no, scrollbars=no, copyhistory=no,
//then make the size
width=550, height=400")
}
</script>

then if you want to bring up the window through a link like this
[a href="javascript:popup()"]Flash[/a]
replace [ ] with < >
thats about it,
very common question

lexus3
lexus3
  • Member since: Dec. 31, 2003
  • Offline.
Forum Stats
Member
Level 14
Blank Slate
Response to Viewing Flash Ng Style 2004-07-23 19:50:02 Reply

If you don't want to make a separate page for each flash just use the url of that movie.
http://domain.com/file.swf

Moosh
Moosh
  • Member since: Jun. 12, 2004
  • Offline.
Forum Stats
Member
Level 35
Game Developer
Response to Viewing Flash Ng Style 2004-07-23 20:33:31 Reply

Hey thanx man! Im having a few difficulties with uploading my flash at the moment but i'll definently remember this.

Pilot-Doofy
Pilot-Doofy
  • Member since: Sep. 13, 2003
  • Offline.
Forum Stats
Member
Level 37
Musician
Response to Viewing Flash Ng Style 2004-07-24 00:29:41 Reply

At 7/23/04 08:33 PM, Jhetto wrote: Hey thanx man! Im having a few difficulties with uploading my flash at the moment but i'll definently remember this.

Well later on you might see that you have a lot of flash and you want to store their links all on a seperate page and just refer to that page whenever you need one. It's the way to go if you don't have a database setup.

Newrad
Newrad
  • Member since: May. 26, 2004
  • Offline.
Forum Stats
Member
Level 07
Blank Slate
Response to Viewing Flash Ng Style 2004-07-24 01:41:50 Reply

um i had the same question and im still haveing trouble with theis
areas...
window.open("u_r_l_here" "my_new_window"
and...
[a href="javascript:popup()"]Flash[/a]

the underlined part... you see i have no clue when it comes to javascript and i was wondering if anyone could explain further into the underlined areas.

what does the my_new_window mean is it the target like _blank, or _self ore what. and where would i put the url of the js page in there.
also should it be a js page or a html?

lexus3
lexus3
  • Member since: Dec. 31, 2003
  • Offline.
Forum Stats
Member
Level 14
Blank Slate
Response to Viewing Flash Ng Style 2004-07-28 04:08:01 Reply

Uhhh...??? Thanks for explaining that? Again?

Troyzan
Troyzan
  • Member since: Apr. 28, 2002
  • Offline.
Forum Stats
Member
Level 04
Blank Slate
Response to Viewing Flash Ng Style 2004-07-28 13:34:54 Reply

At 7/23/04 07:48 PM, lexus3 wrote: Just include this script in the head.
<script language="Javascript">
//define your function!
function popup() {
window.open("u_r_l_here" "my_new_window"
//define window charactoristics
//type yes if you want the char. no if not, e.g.
menubar=no, scrollbars=no, copyhistory=no,
//then make the size
width=550, height=400")
}
</script>

then if you want to bring up the window through a link like this
[a href="javascript:popup()"]Flash[/a]
replace [ ] with < >
thats about it,
very common question

Would that work, just putting that script in the html file? Like, you dont have to upload any class files or anything like that? Sorry for being a n00b but I'm gonna be making like an animation portfolio site sometime in the near future, and I dont know a damn thing about Java