| Home | Tutorials | Forums | Articles | Blogs | Movies | Library | Employment | Press | Buy templates |
|
|
#1 |
|
Registered User
Join Date: Aug 2007
Posts: 14
|
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)? |
|
|
|
|
|
#2 |
|
Banned by AS.org Staff
Join Date: Jan 2007
Location: Montréal, Québec
Posts: 14,075
|
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 |
|
|
|
|
|
|
|
|
#3 |
|
ET3
Join Date: May 2004
Location: Sicily
Posts: 332
|
or use AIR http://labs.adobe.com/technologies/air/
|
|
|
|
|
|
#4 |
|
Demigod
|
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.
|
|
|
|
|
|
#5 |
|
Registered User
Join Date: Oct 2007
Posts: 1
|
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!" );
}
}
}
![]() 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; ![]() |
|
|
|
|
|
#6 |
|
Registered User
Join Date: Nov 2007
Posts: 2
|
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 |
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
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 |