This content has been marked as final.
Show 15 replies
-
1. Re: Full screen video button
kglad Jun 14, 2007 8:01 AM (in response to Lighthugger)fullscreen or full browser? as2 or as3? -
2. Re: Full screen video button
Lighthugger Jun 14, 2007 8:03 AM (in response to Lighthugger)Full screen, just like youtube does... -
3. Re: Full screen video button
kglad Jun 14, 2007 9:06 AM (in response to Lighthugger)for as3, check the displayState property of the stage class. -
4. Re: Full screen video button
Lighthugger Jun 14, 2007 9:48 AM (in response to kglad)It's in AS2, How does that affect what im trying to achieve? -
5. Re: Full screen video button
kglad Jun 14, 2007 10:04 AM (in response to Lighthugger)you can't do it with actionscript alone. you need to use javascript and actionscript.
because of the different ways the many different browsers/versions interpret javascript you'll need to solve many problems.
youtube appears to be using as3 code. btw, you can use this as3 code in flash 8. -
6. Re: Full screen video button
Lighthugger Jun 14, 2007 11:00 AM (in response to kglad)Iv just updated to flash 9, I have no experience in AS3, I cant seem to find any information about how to actually do the process, essentially that is what im after... -
7. Re: Full screen video button
kglad Jun 14, 2007 11:36 AM (in response to Lighthugger)publish for flash9 player. you can use as2:
-
8. Re: Full screen video button
Lighthugger Jun 14, 2007 11:47 AM (in response to kglad)Attach that code to the button, but im not sure about the HTML code, iv never seen them paramaters before... -
9. Re: Full screen video button
kglad Jun 14, 2007 12:21 PM (in response to Lighthugger)attach that code to a frame that contains your button and use your button instance name instead of yourButton.
open the published html file in a text editor, copy and paste its contents here using the attach code option, if you can't see the allowFullScreen tags. -
10. Re: Full screen video button
Lighthugger Jun 14, 2007 1:32 PM (in response to kglad)<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase=" http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="505" height="396" id="bt-videoplayer" align="middle">
<param name="allowScriptAccess" value="always" />
<param name="movie" value=" http://www.boattest.com/bt-videoplayerbig.swf?cap_name=<%=InfList["AV" />
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<embed src=" http://www.boattest.com/bt-videoplayerbig.swf?cap_name=<%=InfList["AV" quality="high" bgcolor="#ffffff" width="505" height="396" name="bt-videoplayer" align="middle" allowScriptAccess="always" type="application/x-shockwave-flash" pluginspage=" http://www.macromedia.com/go/getflashplayer" />
</object> -
-
12. Re: Full screen video button
Lighthugger Jun 15, 2007 6:05 AM (in response to Lighthugger)Im getting script errors when i Put the code on the frame:
There is no property with the name 'displayState'. -
13. Re: Full screen video button
kglad Jun 15, 2007 6:49 AM (in response to Lighthugger)then use Stage["displayState"] instead of Stage.displayState. -
14. Re: Full screen video button
Lighthugger Jun 15, 2007 7:38 AM (in response to Lighthugger)Iv got it working! Thanx, iv just one problem, it wont work in Opera, Firefox, or Netscape... -
15. Re: Full screen video button
kglad Jun 15, 2007 7:39 AM (in response to Lighthugger)update your flash player plugin for those browsers.