Home Tutorials Forums Articles Blogs Movies Library Employment Press Buy templates

Go Back   ActionScript.org Forums > Flash General Questions > Flash 9 General Questions

Reply
 
Thread Tools Rate Thread Display Modes
Old 08-11-2007, 10:18 AM   #1
kristoff
Registered User
 
Join Date: Aug 2007
Posts: 14
Question Floating Stand-alone window? How to do it???

Hi, I was just wondering if it is possible to have a swf file play as a stand alone window when opened? I have used the fscommands before to open flash as an exe file in fullscreen, however this uses a background and takes up the whole screen. is there a way to have it so (say a flash window of 800x600px) that the flash window sits on the screen but not maximised to screen size?

Also, is there a code for autoplay (say once you put the file onto a CD and want it to automatically open when the CD is inserted)?
kristoff is offline   Reply With Quote
Old 08-11-2007, 02:37 PM   #2
atomic
Banned by AS.org Staff
 
Join Date: Jan 2007
Location: Montréal, Québec
Posts: 14,075
Default

1- Think you need 3rd party software (Zinc, FlashJester & the like...) to do that.

2-
http://usuarios.lycos.es/didinomade/...BurningFAQ.htm
http://www.phdcc.com/shellrun/autorun.htm
http://www.were-here.com/content/tem...d=140&zoneid=7
http://www.roxio.com/en/products/toast/index.jhtml
atomic is offline   Reply With Quote
Old 08-11-2007, 03:48 PM   #3
devonair
ET3
 
Join Date: May 2004
Location: Sicily
Posts: 332
Default

or use AIR http://labs.adobe.com/technologies/air/
devonair is offline   Reply With Quote
Old 08-11-2007, 03:50 PM   #4
majicassassin
Demigod
 
majicassassin's Avatar
 
Join Date: Aug 2005
Posts: 282
Send a message via AIM to majicassassin
Default

Autoplay is just a file ii think .ini) that you place on the cd that will be read and tell the computer what to run. If you search on google there'll be plenty of examples, but yeah, that doesn't require anything fancy.
majicassassin is offline   Reply With Quote
Old 10-18-2007, 11:12 AM   #5
divinus
Registered User
 
Join Date: Oct 2007
Posts: 1
Default i have a problem with zinc and Adobe Flash 9

So, my question in title...
Example :
Code:
package {
	import flash.display.Sprite;
	import mdm.Application;

	public class testas3 extends Sprite {
		public function testas3() {
			trace("ok");
			mdm.Application.init( this, onInit );
		}

		public function onInit() {
			mdm.Dialogs.prompt( "Hello from basic AS3 app!" );
		}
	}
}
not work... why?
errors:
Code:
1120: Access of undefined property Application.   mdm.Application.init( this, onInit );

1120: Access of undefined property mdm.   mdm.Dialogs.prompt( "Hello from basic AS3 app!" );

1172: Definition mdm:Application could not be found.   import mdm.Application;
i know, i must use the file mdm.swc, but i don't know how...
divinus is offline   Reply With Quote
Old 11-22-2007, 11:15 PM   #6
lancelot_dab
Registered User
 
Join Date: Nov 2007
Posts: 2
Talking Zinc + Flash CS3 (Actionscript3 Code)

Visit this link, i suppose u must register
http://www.mdmforum.com/forum/index....092;Components

U have to copy the "mdm.swc" file to the folder
C:\Program Files\Adobe\Adobe Flash CS3\en\Configuration\Components

then when u open flash cs3 u will find at components (ctrl+F7) the new item
"mdm script", Drag this component into the Library. Now you can use mdm Script as normal

import mdm.*
mdm.Application.init(this)
button.addEventListener(MouseEvent.CLICK, openDialog)
function openDialog(event:MouseEvent):void {
mdm.Dialogs.prompt("The SWC is finally here!")
}

Ing Daniel Barragan C.
Parquesoft - Argus Smart
http://danielbcr.blogspot.com
lancelot_dab is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Tutorial for Launching a Centered Pop-Up Window vazbo ActionScript 1.0 (and below) 6 09-11-2009 11:19 PM
Controlling Browser Window via Flash Javascript buttons [via 'get url' statement]. cheeky_monkey ActionScript 1.0 (and below) 7 01-20-2009 03:30 PM
Floating window that runs in MacOS background Dr Ken FP Other Flash General Questions 3 08-30-2004 12:46 PM
yellow floating window info arkitonto Other Flash General Questions 1 06-16-2004 08:25 AM
floating window how u do that??? tx_fusion Animation and Effects 1 04-27-2002 06:09 AM


All times are GMT. The time now is 12:20 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2009 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.