Reply LinkBack Thread Tools Search this Thread
Old 01-12-2005, 05:41   #1 (permalink)
D.so
Registered User
 
D.so's Avatar
 
Join Date: Aug 2005
Posts: 51
onClick problem with Flash

I need help please!!!!!
I tell you my problem:
I have to open a resized window by clicking on my flash button.
But when i insert my html code line inside the geturl field flash says that something has been written wrong.
Does anybody know the right code to insert?

The html code for opening a resized window is:
onClick="MM_openBrWindow('ball.html','ball','width =600,height=419')

I trust you guys!
  Reply With Quote
Old 01-12-2005, 05:50   #2 (permalink)
finbarr
who the fuck am i?
 
finbarr's Avatar
 
Join Date: Apr 2005
Location: london
Posts: 2,508
Send a message via MSN to finbarr Send a message via Skype™ to finbarr
theres a space between the g and the h in height?
  Reply With Quote
Old 01-12-2005, 05:51   #3 (permalink)
gray
i still want paying
 
gray's Avatar
 
Join Date: Oct 2003
Location: newcastle, uk
Posts: 4,713
getURL("javascript:MM_openBrWindow('ball.html','ba ll','width=600,height=419'");
  Reply With Quote
Old 01-12-2005, 06:00   #4 (permalink)
sub
Shitcasket™
 
sub's Avatar
 
Join Date: Jul 2005
Location: Brighton
Posts: 4,299
Send a message via MSN to sub Send a message via Skype™ to sub
There's a space between the d and the t in width on Grey's code.
  Reply With Quote
Old 01-12-2005, 06:03   #5 (permalink)
D.so
Registered User
 
D.so's Avatar
 
Join Date: Aug 2005
Posts: 51
Quote:
Originally Posted by gray
getURL("javascript:MM_openBrWindow('ball.html','ba ll','width=600,height=419'");

I'm sorry but it doesn't work.
Am i missing something?
should I write onClick before MM_openBrWindow?
This thing is driving me crazy
  Reply With Quote
Old 01-12-2005, 06:03   #6 (permalink)
gray
i still want paying
 
gray's Avatar
 
Join Date: Oct 2003
Location: newcastle, uk
Posts: 4,713
Quote:
Originally Posted by subcircle
There's a space between the d and the t in width on Grey's code.


no, the forum does that. and its an a not an e, im not a colour
  Reply With Quote
Old 01-12-2005, 06:05   #7 (permalink)
gray
i still want paying
 
gray's Avatar
 
Join Date: Oct 2003
Location: newcastle, uk
Posts: 4,713
Quote:
Originally Posted by D.so
I'm sorry but it doesn't work.
Am i missing something?
should I write onClick before MM_openBrWindow?
This thing is driving me crazy


on(release){
PUT IT HERE
}
  Reply With Quote
Old 01-12-2005, 06:10   #8 (permalink)
D.so
Registered User
 
D.so's Avatar
 
Join Date: Aug 2005
Posts: 51
Quote:
Originally Posted by gray
on(release){
PUT IT HERE
}

i try
  Reply With Quote
Old 01-12-2005, 06:12   #9 (permalink)
gray
i still want paying
 
gray's Avatar
 
Join Date: Oct 2003
Location: newcastle, uk
Posts: 4,713
nothing will happen until you test the flash in an html page with the embedded javascript obviously...
  Reply With Quote
Old 01-12-2005, 06:17   #10 (permalink)
D.so
Registered User
 
D.so's Avatar
 
Join Date: Aug 2005
Posts: 51
off course
It' a matter of minutes and I let y'all know
  Reply With Quote
Old 01-12-2005, 06:41   #11 (permalink)
D.so
Registered User
 
D.so's Avatar
 
Join Date: Aug 2005
Posts: 51
I'm sorry but still doesn't work.
I post here the code.....any errors?
on (release) {
getURL("MM_openBrWindow('web_folder/spot.html','spot','width=802,height=602')", "_self");
}

Please don't consider spaces beetwen letters beacuse the forum does that
  Reply With Quote
Old 01-12-2005, 06:43   #12 (permalink)
gray
i still want paying
 
gray's Avatar
 
Join Date: Oct 2003
Location: newcastle, uk
Posts: 4,713
you ignored what i posted

Code:
on(release){ getURL("javascript:MM_openBrWindow('ball.html','ball','wid th=600,height=419'"); }
  Reply With Quote
Old 01-12-2005, 06:44   #13 (permalink)
mx
fucksocks™
 
mx's Avatar
 
Join Date: Jun 2005
Location: in the boosh
Posts: 1,622
1. create the javascript as a function
2. add it to the html that holds the flash object
3. target the function with get Url.

done.
  Reply With Quote
Old 01-12-2005, 06:46   #14 (permalink)
D.so
Registered User
 
D.so's Avatar
 
Join Date: Aug 2005
Posts: 51
i tried that way but it doesn't work man.....so i'm trying other ways
  Reply With Quote
Old 01-12-2005, 06:57   #15 (permalink)
D.so
Registered User
 
D.so's Avatar
 
Join Date: Aug 2005
Posts: 51
Quote:
Originally Posted by max h
1. create the javascript as a function
2. add it to the html that holds the flash object
3. target the function with get Url.

done.

Hey Max,
It doesn't work that way.
Simply beacuse my flash movie starts as an exe form a cd.
Than I have a flash button where the resized window is supposed to be open.
  Reply With Quote
Old 01-12-2005, 07:12   #16 (permalink)
mx
fucksocks™
 
mx's Avatar
 
Join Date: Jun 2005
Location: in the boosh
Posts: 1,622
Quote:
Originally Posted by D.so
Simply beacuse my flash movie starts as an exe form a cd.

fucking vital bit of info you neglected to mention there.

if your converted your flash to application, how exactly were you intending to trigger javascript function which requires a browser???

I've chucked together a quick demo anyway.
  Reply With Quote
Old 01-12-2005, 07:15   #17 (permalink)
gray
i still want paying
 
gray's Avatar
 
Join Date: Oct 2003
Location: newcastle, uk
Posts: 4,713
haha ffs

youd have to put the javascript in the body onload of the html page in that case
  Reply With Quote
Old 01-12-2005, 07:19   #18 (permalink)
D.so
Registered User
 
D.so's Avatar
 
Join Date: Aug 2005
Posts: 51
Quote:
Originally Posted by max h
fucking vital bit of info you neglected to mention there.

if your converted your flash to application, how exactly were you intending to trigger javascript function which requires a browser???

I've chucked together a quick demo anyway.

Wow.
That's exactly what i'm talkin' about.
Can you write me the entire code lines that you put?
Much better if u send me the original flash project that you used in your demo
  Reply With Quote
Old 01-12-2005, 07:25   #19 (permalink)
mx
fucksocks™
 
mx's Avatar
 
Join Date: Jun 2005
Location: in the boosh
Posts: 1,622
Quote:
Originally Posted by gray
haha ffs

youd have to put the javascript in the body onload of the html page in that case

if he doesn't already have a browser window open then why would he want to open another?
If he wants the window to be a certain size, just resize that window. anyway something tells me that he's not quite at this stage yet.
  Reply With Quote
Old 01-12-2005, 07:27   #20 (permalink)
mx
fucksocks™
 
mx's Avatar
 
Join Date: Jun 2005
Location: in the boosh
Posts: 1,622
Quote:
Originally Posted by D.so
Wow.
That's exactly what i'm talkin' about.
Can you write me the entire code lines that you put?
Much better if u send me the original flash project that you used in your demo

£50
  Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Contact Us - Web Design Forums - Archive - Top
Search Engine Optimization by vBSEO 3.0.0 RC8