Re: [Flashcoders] Open PPT/WMV files from SWF?

2008-11-04 Thread Ali Drongo
Thanks for your replies Kevin and John. Unfortunately it seems that  
neither of your solutions will work for me.


Director
I don't have Director and would rather try and use a current  
technology if it is available and compile my application from Flash or  
using the Flex command-line compiler.


fscommand
As far as I can see using this route requires that the application to  
be launched must exist in a specific folder on the DVD. I need to be  
able to open WMVs and I don't believe there is a free viewer for this  
file type.


Any other suggestions very gratefully received, surely this is a  
pretty common action?


Thanks :)
Ali




On 3 Nov 2008, at 17:55, Kevin Newman wrote:


If you are using a Projector, you could look into fscommand - that has
the ability to execute applications:

http://www.adobe.com/support/flash/action_scripts/actionscript_dictionary/actionscript_dictionary372.html

Kevin N.


Ali Drongo wrote:

Hiya, I'm building a DVD that will allow the user to open powerpoint
and wmv files on their computer by clicking on buttons.
The user will already have Windows Media Player and Powerpoint
installed and the files will exist on the DVD.

How can I trigger the actions to launch these files?

Thanks in advance for any help,
Ali


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders





___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Flex Builder: AS Application files outside of /src root?

2008-11-04 Thread Jon Bradley

Hmm I haven't had the time to check this one.

But, content in the src folder doesn't need to be 'added' as an  
individual source path to your application. So, for other application  
files (AS) you may want to add explicitly the source path of it's  
parent folder to the project properties (ie, src/com/yourcompany/ 
applicationname/). Then, you might be able to add that file as a  
separate application.


Otherwise, I'm not 100% certain.

- jon

On Nov 4, 2008, at 7:13 AM, Henry Cooke wrote:


Something that's been bugging me for a while: why can only AS files in
the root of a Flex Builder project's source folder be nominated as an
application?

Like, I've got a bunch of classes all neatly packaged up in packages
inside /src, but in the Project / Properties / Actionscript Properties
dialog, upon clicking Add, these files do not appear in the tree
view of possible files to add.


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] grey line around ComboBox?

2008-11-04 Thread Preston Parris
Firstly I would like to thank everyone who has replied to my previous
questions, if your answers have not solved my problem they have definitely
led me in the right direction.
I have a ComboBox that is completely styled with
_global.styles.ComboBox.etc.   and I have a custom RectBorder class set
up. I am working on a mac, in as2 , exporting for as2 and flashplayer 8.
When I export and run in the browser, and then tab to the drop downs,
everything works correctly. When I open up the same swf on a windows
machine, a grey border outlining the drop down fully opened appears when I
tab. What is this border? why is it only showing up on a pc, and more
importantly how can I get rid of it? just changing the theme color, or
bordercolor does not work.

thank you.

-- 
Preston Parris
[EMAIL PROTECTED]
cell: 704.450.9299
www.modevisual.com
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Force include of unreferenced classes in swf when compiled with mxmlc

2008-11-04 Thread Eamonn Faherty
I have a set of classes that are used at runtime and not referenced at
compile time.

 

I am using mxmlc.exe to compile from an mxml doc.  

 

I want to able to specify a set of classes to include into the swf for
use only at runtime.  Mxml.exe is excluding these classes as they are
not being used. 

 

Does anyone know how to get around this?

 

Thanks

 

Eamonn  

 

 

This email (including any attachments) is confidential, protected by
copyright and may be privileged. It is for the exclusive use of the
intended recipient(s). If you have received it in error, please notify
the sender immediately by emailing a response before deleting the email
completely from your computer, and note that any storage, copying or
dissemination is prohibited.

 

Where the content of this email is personal or otherwise unconnected
with business of the Group's Companies, we accept no responsibility or
liability for such content.

 

We accept no responsibility for viruses that we may have unintentionally
transmitted to you within this email and you should check for viruses
before opening any attachment. Those communicating with us by email will
be deemed to have consented to us intercepting and monitoring those
communications.

 

Gamesys Ltd is registered in England  Wales, company registration
number 04042931.  The registered office is at 54-62 Regent St

 

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] MP4

2008-11-04 Thread Karim Beyrouti
Hello ! - just wondering what is the lowest version of flash that plays
MP4?...


Kind regards


Karim

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] MP4

2008-11-04 Thread Merrill, Jason
I don't think any version of Flash can play MP4.

Jason Merrill
Bank of America Instructional Technology  Media   ·   GCIB  Staff Support 
LLD
Interested in Flash Platform technologies?  Join the Bank of America Flash 
Platform Developer Community 
Interested in innovative ideas in Learning?  Check out the Innovative Learning 
Blog and subscribe.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Karim Beyrouti
Sent: Tuesday, November 04, 2008 12:19 PM
To: 'Flash Coders List'
Subject: [Flashcoders] MP4

Hello ! - just wondering what is the lowest version of flash that plays
MP4?...


Kind regards


Karim

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] MP4

2008-11-04 Thread Kenneth Kawamoto
H.264 playback capability was added in Flash Player 9 Update 3, Version 
9.0.115.0 - a.k.a. MovieStar


Kenneth Kawamoto
http://www.materiaprima.co.uk/

Karim Beyrouti wrote:

Hello ! - just wondering what is the lowest version of flash that plays
MP4?...


Kind regards


Karim

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Error playing flash

2008-11-04 Thread Lord, Susan, CTR, DSS
Hello,

I have a client who is having difficulty playing all of our courses that
contain flash 8. She is running flash 9.  When she accesses the course,
the source code for the page displays.  This happens for both SCORM and
non-SCORM courses.  

Have any of you seen anything like this happen?  If so, how did you fix
it?

Thanks!

Susan


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] Force include of unreferenced classes in swf whencompiled with mxmlc

2008-11-04 Thread Eamonn Faherty
Thanks for your response but that doesn't seem to work.

I get  unknown configuration variable 'Includes'

I am using sdk 3.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ian
Thomas
Sent: 04 November 2008 16:53
To: Flash Coders List
Subject: Re: [Flashcoders] Force include of unreferenced classes in swf
whencompiled with mxmlc

Use the -Includes option on the command line to mxmlc.

e.g.

mxmlc MyApp.as -Includes com.mycompany.Class1 com.mycompany.Class2
-output MyApp.swf

HTH,
   Ian

On Tue, Nov 4, 2008 at 4:43 PM, Eamonn Faherty [EMAIL PROTECTED]
wrote:
 I have a set of classes that are used at runtime and not referenced at
 compile time.



 I am using mxmlc.exe to compile from an mxml doc.



 I want to able to specify a set of classes to include into the swf for
 use only at runtime.  Mxml.exe is excluding these classes as they are
 not being used.



 Does anyone know how to get around this?



 Thanks



 Eamonn





 This email (including any attachments) is confidential, protected by
 copyright and may be privileged. It is for the exclusive use of the
 intended recipient(s). If you have received it in error, please notify
 the sender immediately by emailing a response before deleting the
email
 completely from your computer, and note that any storage, copying or
 dissemination is prohibited.



 Where the content of this email is personal or otherwise unconnected
 with business of the Group's Companies, we accept no responsibility or
 liability for such content.



 We accept no responsibility for viruses that we may have
unintentionally
 transmitted to you within this email and you should check for viruses
 before opening any attachment. Those communicating with us by email
will
 be deemed to have consented to us intercepting and monitoring those
 communications.



 Gamesys Ltd is registered in England  Wales, company registration
 number 04042931.  The registered office is at 54-62 Regent St



 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] Force include of unreferenced classes in swfwhencompiled with mxmlc

2008-11-04 Thread Eamonn Faherty
Sweet, that worked a charm. 

I had tried lowercase i already but there was an error in my ant script
too! 

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Ian
Thomas
Sent: 04 November 2008 17:54
To: Flash Coders List
Subject: Re: [Flashcoders] Force include of unreferenced classes in
swfwhencompiled with mxmlc

Sorry, shouldn't have been a capital 'i'.

-includes Class1 Class2

is correct.

The manual page is here:
http://livedocs.adobe.com/flex/3/html/compilers_14.html

Definitely works with SDK3, that's what we're using.

HTH,
   Ian

On Tue, Nov 4, 2008 at 5:46 PM, Eamonn Faherty [EMAIL PROTECTED]
wrote:
 Thanks for your response but that doesn't seem to work.

 I get  unknown configuration variable 'Includes'

 I am using sdk 3.

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Ian
 Thomas
 Sent: 04 November 2008 16:53
 To: Flash Coders List
 Subject: Re: [Flashcoders] Force include of unreferenced classes in
swf
 whencompiled with mxmlc

 Use the -Includes option on the command line to mxmlc.

 e.g.

 mxmlc MyApp.as -Includes com.mycompany.Class1 com.mycompany.Class2
 -output MyApp.swf

 HTH,
   Ian

 On Tue, Nov 4, 2008 at 4:43 PM, Eamonn Faherty [EMAIL PROTECTED]
 wrote:
 I have a set of classes that are used at runtime and not referenced
at
 compile time.



 I am using mxmlc.exe to compile from an mxml doc.



 I want to able to specify a set of classes to include into the swf
for
 use only at runtime.  Mxml.exe is excluding these classes as they are
 not being used.



 Does anyone know how to get around this?



 Thanks



 Eamonn





 This email (including any attachments) is confidential, protected by
 copyright and may be privileged. It is for the exclusive use of the
 intended recipient(s). If you have received it in error, please
notify
 the sender immediately by emailing a response before deleting the
 email
 completely from your computer, and note that any storage, copying or
 dissemination is prohibited.



 Where the content of this email is personal or otherwise unconnected
 with business of the Group's Companies, we accept no responsibility
or
 liability for such content.



 We accept no responsibility for viruses that we may have
 unintentionally
 transmitted to you within this email and you should check for viruses
 before opening any attachment. Those communicating with us by email
 will
 be deemed to have consented to us intercepting and monitoring those
 communications.



 Gamesys Ltd is registered in England  Wales, company registration
 number 04042931.  The registered office is at 54-62 Regent St



 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] MP4

2008-11-04 Thread Karim Beyrouti
Thanks...


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kenneth
Kawamoto
Sent: 04 November 2008 17:33
To: Flash Coders List
Subject: Re: [Flashcoders] MP4

H.264 playback capability was added in Flash Player 9 Update 3, Version 
9.0.115.0 - a.k.a. MovieStar

Kenneth Kawamoto
http://www.materiaprima.co.uk/

Karim Beyrouti wrote:
 Hello ! - just wondering what is the lowest version of flash that plays
 MP4?...
 
 
 Kind regards
 
 
 Karim
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] FULL_SCREEN problem Flash CS3 and AS3

2008-11-04 Thread Cor
/*My goal:
I want to start my apps fullscreen whitout giving a user the
possibility to scale
or to encounter the app within a browser.
When I CLICK it goes to FULL_SCREEN, but it doesn't work when I try
to do this with other events.
Back to NORMAL does work on MOUSE_MOVE but not going back to
FULL_SCREEN.
How can I set it to FULL_SCREEN automatically?

And I also would like to get ride of the message Press Esc to exit
fullscreen mode?
Every help is welcome!
*/

//My code in the first and only frame
var screenCheck:Boolean = false;
// Prevent scaling items on the stage
var swfStage:Stage = this.stage;
swfStage.scaleMode = StageScaleMode.NO_SCALE;
swfStage.align = StageAlign.TOP;
// /

//container is a movieclip with a textfield and a shape in it.
container.addEventListener(MouseEvent.MOUSE_MOVE, fullScreenUP);
container.addEventListener(MouseEvent.CLICK, fullScreenUP);

function fullScreenUP(e:MouseEvent):void {
test.text = fullScreenUP triggered!;
if (screenCheck == false) {
stage.displayState = StageDisplayState.FULL_SCREEN;
screenCheck = true;
} else {
stage.displayState = StageDisplayState.NORMAL;
screenCheck = false;
}
}

/*
Kind regards
Cor
*/

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Open PPT/WMV files from SWF?

2008-11-04 Thread John R. Sweeney Jr
Hi Ali,

Director is a current technology Director 11 is being sold today.

WMV files open natively in Window Media Player and Mac's with OSX usually
have Flip4Mac to read WMV through Quicktime.

You are correct, fscommand exec want to call into a specific folder, hence
why I suggested Director.

Best of luck,
John
 


on 11/4/08 3:23 AM, Ali Drongo at [EMAIL PROTECTED] wrote:

 Director
 I don't have Director and would rather try and use a current
 technology if it is available and compile my application from Flash or
 using the Flex command-line compiler.
 
 fscommand
 As far as I can see using this route requires that the application to
 be launched must exist in a specific folder on the DVD. I need to be
 able to open WMVs and I don't believe there is a free viewer for this
 file type.
 
 Any other suggestions very gratefully received, surely this is a
 pretty common action?
 
 Thanks :)
 Ali


===
John R. Sweeney Jr.([EMAIL PROTECTED])
Interactive Multimedia Developer/
Digital Media Specialist

OnDemand - Interactive, Inc.
847.651.4469 (cell)  847.310.5959 (office/fax)
=== 


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Flash Authortime vs Runtime children

2008-11-04 Thread Glen Pike

Hi,

   If I create my AppScreens dynamically and add them - the added to 
stage event handler for the AppScreen sub-class is called.


   I am not calling addChild() for the components in the AppScreen 
sub-class because they are placed at authortime inside the clip - I 
should not have to call addChild for these surely?
  
   Glen


sebastian wrote:

forget to addChild()?

   The problem I have run into is that when I instanciate an 
AppScreen symbol from my library - it's not on stage - and add it to 
the stage I handle the ADDED_TO_STAGE event for wiring the components 
up.

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders




--

Glen Pike
01326 218440
www.glenpike.co.uk http://www.glenpike.co.uk

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] MP4

2008-11-04 Thread John R. Sweeney Jr
I've done 4 projects, using tons of H.264 videos and they work great and
look beautiful. ;)



on 11/4/08 11:33 AM, Kenneth Kawamoto at [EMAIL PROTECTED] wrote:

 H.264 playback capability was added in Flash Player 9 Update 3, Version
 9.0.115.0 - a.k.a. MovieStar


===
John R. Sweeney Jr.([EMAIL PROTECTED])
Interactive Multimedia Developer/
Digital Media Specialist

OnDemand - Interactive, Inc.
847.651.4469 (cell)  847.310.5959 (office/fax)
=== 


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Flash Authortime vs Runtime children

2008-11-04 Thread Glen Pike

Hi,

   Using automatically declare stage instances rather than instance 
variables / programmatic naming.


   Flash moaned about the latter - said I could not set the .name 
variable on something that had been added to the stage at authortime, 
which is why I assumed (maybe wrongly) that I could access the 
components from my parent using the on stage instance names - they all 
traced as null at ADDED_TO_STAGE for the parent.  The only thing I can 
think here is that the load order may have something to do with it, 
which sounds wrong because I thought I had read ADDED_TO_STAGE is 
supposed to be called when everything is ready in a clip - including 
children.
  
   Thanks


   Glen

jonathan howe wrote:

Hi, Glen,

It would be interesting to know for triage: How are you referring to the
components in your main class, i.e.
- are your contributors using the automatically declare stage instances
or
- you are creating matching variables in the main class or
- not even giving them instance names and relying on the ADDED_TO_STAGE
handler to fire to 'make themselves known'?
-jonathan


On Mon, Nov 3, 2008 at 10:17 PM, sebastian [EMAIL PROTECTED] wrote:

  

forget to addChild()?

  The problem I have run into is that when I instanciate an AppScreen


symbol from my library - it's not on stage - and add it to the stage I
handle the ADDED_TO_STAGE event for wiring the components up.

  

 ___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders






  


--

Glen Pike
01326 218440
www.glenpike.co.uk http://www.glenpike.co.uk

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] MP4

2008-11-04 Thread Kenneth Kawamoto

You ARE the Movie Star, John.

Kenneth Kawamoto
http://www.materiaprima.co.uk/

John R. Sweeney Jr wrote:

I've done 4 projects, using tons of H.264 videos and they work great and
look beautiful. ;)



on 11/4/08 11:33 AM, Kenneth Kawamoto at [EMAIL PROTECTED] wrote:


H.264 playback capability was added in Flash Player 9 Update 3, Version
9.0.115.0 - a.k.a. MovieStar

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] FULL_SCREEN problem Flash CS3 and AS3

2008-11-04 Thread Glen Pike

Hi,

   I don't think you can go fullscreen automatically in the browser - 
it has to be in response to a Click event / user interaction - this is 
definitely the case for FP10 as it's one of the new Security Issues - 
not the one that Wordpress and others AJAXians are throwing their toys 
out of the pram about :)


   Again, don't think you can ever get rid of the message Press Esc to 
exit either - again, it's a system thing.
  
   For non-browser, do the fscommand fullscreen thing - I had to do 
this for AS3 standalone as well as the StageDisplayState before it worked.


   Glen

  


Cor wrote:

/*My goal:
I want to start my apps fullscreen whitout giving a user the
possibility to scale
or to encounter the app within a browser.
When I CLICK it goes to FULL_SCREEN, but it doesn't work when I try
to do this with other events.
Back to NORMAL does work on MOUSE_MOVE but not going back to
FULL_SCREEN.
How can I set it to FULL_SCREEN automatically?

And I also would like to get ride of the message Press Esc to exit
fullscreen mode?
Every help is welcome!
*/

//My code in the first and only frame
var screenCheck:Boolean = false;
// Prevent scaling items on the stage
var swfStage:Stage = this.stage;
swfStage.scaleMode = StageScaleMode.NO_SCALE;
swfStage.align = StageAlign.TOP;
// /

//container is a movieclip with a textfield and a shape in it.
container.addEventListener(MouseEvent.MOUSE_MOVE, fullScreenUP);
container.addEventListener(MouseEvent.CLICK, fullScreenUP);

function fullScreenUP(e:MouseEvent):void {
test.text = fullScreenUP triggered!;
if (screenCheck == false) {
stage.displayState = StageDisplayState.FULL_SCREEN;
screenCheck = true;
} else {
stage.displayState = StageDisplayState.NORMAL;
screenCheck = false;
}
}

/*
Kind regards
Cor
*/

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


  


--

Glen Pike
01326 218440
www.glenpike.co.uk http://www.glenpike.co.uk

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] FULL_SCREEN problem Flash CS3 and AS3

2008-11-04 Thread Cor
Thanks Glen!

I have to launch my apps from Moodle (LMS).
So it opens the apps in the browser.
Is it possible to start the app from a startpage.html and then fullscreen
without any browser things?

Kind regards
Cor

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Glen Pike
Sent: dinsdag 4 november 2008 19:43
To: Flash Coders List
Subject: Re: [Flashcoders] FULL_SCREEN problem Flash CS3 and AS3

Hi,

I don't think you can go fullscreen automatically in the browser - 
it has to be in response to a Click event / user interaction - this is 
definitely the case for FP10 as it's one of the new Security Issues - 
not the one that Wordpress and others AJAXians are throwing their toys 
out of the pram about :)

Again, don't think you can ever get rid of the message Press Esc to 
exit either - again, it's a system thing.
   
For non-browser, do the fscommand fullscreen thing - I had to do 
this for AS3 standalone as well as the StageDisplayState before it worked.

Glen

   

Cor wrote:
 /*My goal:
   I want to start my apps fullscreen whitout giving a user the
 possibility to scale
   or to encounter the app within a browser.
   When I CLICK it goes to FULL_SCREEN, but it doesn't work when I try
 to do this with other events.
   Back to NORMAL does work on MOUSE_MOVE but not going back to
 FULL_SCREEN.
   How can I set it to FULL_SCREEN automatically?

   And I also would like to get ride of the message Press Esc to exit
 fullscreen mode?
   Every help is welcome!
 */

 //My code in the first and only frame
 var screenCheck:Boolean = false;
 // Prevent scaling items on the stage
 var swfStage:Stage = this.stage;
 swfStage.scaleMode = StageScaleMode.NO_SCALE;
 swfStage.align = StageAlign.TOP;
 // /

 //container is a movieclip with a textfield and a shape in it.
 container.addEventListener(MouseEvent.MOUSE_MOVE, fullScreenUP);
 container.addEventListener(MouseEvent.CLICK, fullScreenUP);

 function fullScreenUP(e:MouseEvent):void {
   test.text = fullScreenUP triggered!;
   if (screenCheck == false) {
   stage.displayState = StageDisplayState.FULL_SCREEN;
   screenCheck = true;
   } else {
   stage.displayState = StageDisplayState.NORMAL;
   screenCheck = false;
   }
 }

 /*
 Kind regards
 Cor
 */

 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


   

-- 

Glen Pike
01326 218440
www.glenpike.co.uk http://www.glenpike.co.uk

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] FULL_SCREEN problem Flash CS3 and AS3

2008-11-04 Thread Anthony Pace

Hi,

Make a call from javascript; it has worked fine in past. 

I seem to remember being able to do it without user interaction in FP10; 
while in beta; yet, if things have changed like you said, (been under a 
rock..see my postings on job hell) then that code probably no longer works.


Thanks,
Anthony Pace

Glen Pike wrote:

Hi,

   I don't think you can go fullscreen automatically in the browser - 
it has to be in response to a Click event / user interaction - this is 
definitely the case for FP10 as it's one of the new Security Issues 
- not the one that Wordpress and others AJAXians are throwing their 
toys out of the pram about :)


   Again, don't think you can ever get rid of the message Press Esc 
to exit either - again, it's a system thing.
 For non-browser, do the fscommand fullscreen thing - I had to 
do this for AS3 standalone as well as the StageDisplayState before it 
worked.


   Glen

 
Cor wrote:

/*My goal:
I want to start my apps fullscreen whitout giving a user the
possibility to scale
or to encounter the app within a browser.
When I CLICK it goes to FULL_SCREEN, but it doesn't work when I try
to do this with other events.
Back to NORMAL does work on MOUSE_MOVE but not going back to
FULL_SCREEN.
How can I set it to FULL_SCREEN automatically?

And I also would like to get ride of the message Press Esc to exit
fullscreen mode?
Every help is welcome!
*/

//My code in the first and only frame
var screenCheck:Boolean = false;
// Prevent scaling items on the stage
var swfStage:Stage = this.stage;
swfStage.scaleMode = StageScaleMode.NO_SCALE;
swfStage.align = StageAlign.TOP;
// /

//container is a movieclip with a textfield and a shape in it.
container.addEventListener(MouseEvent.MOUSE_MOVE, fullScreenUP);
container.addEventListener(MouseEvent.CLICK, fullScreenUP);

function fullScreenUP(e:MouseEvent):void {
test.text = fullScreenUP triggered!;
if (screenCheck == false) {
stage.displayState = StageDisplayState.FULL_SCREEN;
screenCheck = true;
} else {
stage.displayState = StageDisplayState.NORMAL;
screenCheck = false;
}
}

/*
Kind regards
Cor
*/

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


  




___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] FULL_SCREEN problem Flash CS3 and AS3

2008-11-04 Thread Zeh Fernando
Fullscreen can only be activated on certain events, so you cannot hijack the
user browser to set the fullscreen mode.

Full-screen mode is initiated in response to a mouse click or key press by
the user; the movie cannot change Stage.displayState without user input

http://help.adobe.com/en_US/AS3LCR/Flash_10.0/flash/display/Stage.html#displayState

If you want the site to work on fullscreen only, then make it in a way that
when displayState is set to normal, it displays a warning message and a
button that when clicked will get back to fullscreen.

You cannot get rid of the ESC message either.


Zeh

On Tue, Nov 4, 2008 at 3:13 PM, Cor [EMAIL PROTECTED] wrote:

 /*My goal:
I want to start my apps fullscreen whitout giving a user the
 possibility to scale
or to encounter the app within a browser.
When I CLICK it goes to FULL_SCREEN, but it doesn't work when I try
 to do this with other events.
Back to NORMAL does work on MOUSE_MOVE but not going back to
 FULL_SCREEN.
How can I set it to FULL_SCREEN automatically?

And I also would like to get ride of the message Press Esc to exit
 fullscreen mode?
Every help is welcome!
 */

 //My code in the first and only frame
 var screenCheck:Boolean = false;
 // Prevent scaling items on the stage
 var swfStage:Stage = this.stage;
 swfStage.scaleMode = StageScaleMode.NO_SCALE;
 swfStage.align = StageAlign.TOP;
 // /

 //container is a movieclip with a textfield and a shape in it.
 container.addEventListener(MouseEvent.MOUSE_MOVE, fullScreenUP);
 container.addEventListener(MouseEvent.CLICK, fullScreenUP);

 function fullScreenUP(e:MouseEvent):void {
test.text = fullScreenUP triggered!;
if (screenCheck == false) {
stage.displayState = StageDisplayState.FULL_SCREEN;
screenCheck = true;
} else {
stage.displayState = StageDisplayState.NORMAL;
screenCheck = false;
}
 }

 /*
 Kind regards
 Cor
 */

 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] FULL_SCREEN problem Flash CS3 and AS3

2008-11-04 Thread Cor
Thanks Zeh.

I noticed the displayState description, but it didn't do the trick for me.

Is it possible to attach a fullscreen function to the ESC message, so when a
user pushes ESC the app will stay in fullscreen?

Kind regards
Cor

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Zeh Fernando
Sent: dinsdag 4 november 2008 20:00
To: Flash Coders List
Subject: Re: [Flashcoders] FULL_SCREEN problem Flash CS3 and AS3

Fullscreen can only be activated on certain events, so you cannot hijack the
user browser to set the fullscreen mode.

Full-screen mode is initiated in response to a mouse click or key press by
the user; the movie cannot change Stage.displayState without user input

http://help.adobe.com/en_US/AS3LCR/Flash_10.0/flash/display/Stage.html#displ
ayState

If you want the site to work on fullscreen only, then make it in a way that
when displayState is set to normal, it displays a warning message and a
button that when clicked will get back to fullscreen.

You cannot get rid of the ESC message either.


Zeh

On Tue, Nov 4, 2008 at 3:13 PM, Cor [EMAIL PROTECTED] wrote:

 /*My goal:
I want to start my apps fullscreen whitout giving a user the
 possibility to scale
or to encounter the app within a browser.
When I CLICK it goes to FULL_SCREEN, but it doesn't work when I try
 to do this with other events.
Back to NORMAL does work on MOUSE_MOVE but not going back to
 FULL_SCREEN.
How can I set it to FULL_SCREEN automatically?

And I also would like to get ride of the message Press Esc to exit
 fullscreen mode?
Every help is welcome!
 */

 //My code in the first and only frame
 var screenCheck:Boolean = false;
 // Prevent scaling items on the stage
 var swfStage:Stage = this.stage;
 swfStage.scaleMode = StageScaleMode.NO_SCALE;
 swfStage.align = StageAlign.TOP;
 // /

 //container is a movieclip with a textfield and a shape in it.
 container.addEventListener(MouseEvent.MOUSE_MOVE, fullScreenUP);
 container.addEventListener(MouseEvent.CLICK, fullScreenUP);

 function fullScreenUP(e:MouseEvent):void {
test.text = fullScreenUP triggered!;
if (screenCheck == false) {
stage.displayState = StageDisplayState.FULL_SCREEN;
screenCheck = true;
} else {
stage.displayState = StageDisplayState.NORMAL;
screenCheck = false;
}
 }

 /*
 Kind regards
 Cor
 */

 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] FULL_SCREEN problem Flash CS3 and AS3

2008-11-04 Thread Merrill, Jason
 Is it possible to attach a fullscreen function to the ESC message, so when a
user pushes ESC the app will stay in fullscreen?

Why?  That's evil! :)  Unless it's a kiosk or something?

Jason Merrill
Bank of America Instructional Technology  Media   ·   GCIB  Staff Support 
LLD
Interested in Flash Platform technologies?  Join the Bank of America Flash 
Platform Developer Community 
Interested in innovative ideas in Learning?  Check out the Innovative Learning 
Blog and subscribe.


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] FULL_SCREEN problem Flash CS3 and AS3

2008-11-04 Thread Anthony Pace

Now you have me wanting to experiment with this again...

I have done this before for trapping keys for use in fullscreen for 
FP9... again not sure about FP10

...
Create a container and capture all events all events
|
based on event details javascript calls a function in flash
|
flash gets call and performs function
..

However, considering the restrictions with fullscree, you may want to 
simulate a user interaction and send that to the contained element in JS.


Does anyone think this might work? or am I of base.

Thanks,
Anthony Pace


Zeh Fernando wrote:

Fullscreen can only be activated on certain events, so you cannot hijack the
user browser to set the fullscreen mode.

Full-screen mode is initiated in response to a mouse click or key press by
the user; the movie cannot change Stage.displayState without user input

http://help.adobe.com/en_US/AS3LCR/Flash_10.0/flash/display/Stage.html#displayState

If you want the site to work on fullscreen only, then make it in a way that
when displayState is set to normal, it displays a warning message and a
button that when clicked will get back to fullscreen.

You cannot get rid of the ESC message either.


Zeh

On Tue, Nov 4, 2008 at 3:13 PM, Cor [EMAIL PROTECTED] wrote:

  

/*My goal:
   I want to start my apps fullscreen whitout giving a user the
possibility to scale
   or to encounter the app within a browser.
   When I CLICK it goes to FULL_SCREEN, but it doesn't work when I try
to do this with other events.
   Back to NORMAL does work on MOUSE_MOVE but not going back to
FULL_SCREEN.
   How can I set it to FULL_SCREEN automatically?

   And I also would like to get ride of the message Press Esc to exit
fullscreen mode?
   Every help is welcome!
*/

//My code in the first and only frame
var screenCheck:Boolean = false;
// Prevent scaling items on the stage
var swfStage:Stage = this.stage;
swfStage.scaleMode = StageScaleMode.NO_SCALE;
swfStage.align = StageAlign.TOP;
// /

//container is a movieclip with a textfield and a shape in it.
container.addEventListener(MouseEvent.MOUSE_MOVE, fullScreenUP);
container.addEventListener(MouseEvent.CLICK, fullScreenUP);

function fullScreenUP(e:MouseEvent):void {
   test.text = fullScreenUP triggered!;
   if (screenCheck == false) {
   stage.displayState = StageDisplayState.FULL_SCREEN;
   screenCheck = true;
   } else {
   stage.displayState = StageDisplayState.NORMAL;
   screenCheck = false;
   }
}

/*
Kind regards
Cor
*/

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

  


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Open PPT/WMV files from SWF?

2008-11-04 Thread Ian Thomas
Adobe AIR?

Or one of the Flash2EXE projector technologies:
SWFStudio: http://www.northcode.com/swfstudio.php
SWHX: http://screenweaver.org/doku.php
or its wrapper, HippoHX: http://hippohx.com/

(For completeness, Zinc also exists, but I'd never recommend it to anyone.)

Additionally, I thought - and it is only a distant memory - that using
fscommand you could open/exec a _document_ and that the operating
system would open the appropriate viewer. Have you actually tried it?
(It should be a one-line test. :-) )

HTH,
   Ian

On Tue, Nov 4, 2008 at 9:23 AM, Ali Drongo [EMAIL PROTECTED] wrote:
 Thanks for your replies Kevin and John. Unfortunately it seems that neither
 of your solutions will work for me.

 Director
 I don't have Director and would rather try and use a current technology if
 it is available and compile my application from Flash or using the Flex
 command-line compiler.

 fscommand
 As far as I can see using this route requires that the application to be
 launched must exist in a specific folder on the DVD. I need to be able to
 open WMVs and I don't believe there is a free viewer for this file type.

 Any other suggestions very gratefully received, surely this is a pretty
 common action?

 Thanks :)
 Ali




 On 3 Nov 2008, at 17:55, Kevin Newman wrote:

 If you are using a Projector, you could look into fscommand - that has
 the ability to execute applications:


 http://www.adobe.com/support/flash/action_scripts/actionscript_dictionary/actionscript_dictionary372.html

 Kevin N.


 Ali Drongo wrote:

 Hiya, I'm building a DVD that will allow the user to open powerpoint
 and wmv files on their computer by clicking on buttons.
 The user will already have Windows Media Player and Powerpoint
 installed and the files will exist on the DVD.

 How can I trigger the actions to launch these files?

 Thanks in advance for any help,
 Ali


 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders




 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] FULL_SCREEN problem Flash CS3 and AS3

2008-11-04 Thread Carolina Avila Coral

Hi:

I use two html pages to do that,  the main page only has the information to 
open the fullscreen, the second page has the swf link.  I hope it be useful 
for you.


main page:

script language=JavaScript type=text/JavaScript

!--

function MachakFull(Ie,other){

//Copyright © 1999 m.milicevic [EMAIL PROTECTED] [EMAIL PROTECTED]

x=screen.availWidth;

y=screen.availHeight;

target = 
parseFloat(navigator.appVersion.substring(navigator.appVersion.indexOf('.')-1,navigator.appVersion.length));


if((navigator.appVersion.indexOf(Mac)!=-1) 
(navigator.userAgent.indexOf(MSIE)!=-1) 
(parseInt(navigator.appVersion)==4))


window.open(other,sub,'scrollbars=yes');

if (target = 4){

if (navigator.appName==Netscape){

   var 
MachakFull=window.open(other,MachakFull,'scrollbars=yes','width='+x+',height='+y+',top=0,left=0');


MachakFull.moveTo(0,0);

MachakFull.resizeTo(x,y);}

if (navigator.appName==Microsoft Internet Explorer)

window.open(Ie,MachakFull,fullscreen=yes);

}

else window.open(other,sub,'scrollbars=yes');

}

function Close_Window()
{
var mywindow=window.self;
mywindow.opener=window.self;
mywindow.close();
}
//--
/script
/head

body onLoad=MachakFull('index_01.htm','')
body onBlur=Close_Window();

- Original Message - 
From: Cor [EMAIL PROTECTED]

To: 'Flash Coders List' flashcoders@chattyfig.figleaf.com
Sent: Tuesday, November 04, 2008 2:04 PM
Subject: RE: [Flashcoders] FULL_SCREEN problem Flash CS3 and AS3



Thanks Zeh.

I noticed the displayState description, but it didn't do the trick for me.

Is it possible to attach a fullscreen function to the ESC message, so when 
a

user pushes ESC the app will stay in fullscreen?

Kind regards
Cor

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Zeh 
Fernando

Sent: dinsdag 4 november 2008 20:00
To: Flash Coders List
Subject: Re: [Flashcoders] FULL_SCREEN problem Flash CS3 and AS3

Fullscreen can only be activated on certain events, so you cannot hijack 
the

user browser to set the fullscreen mode.

Full-screen mode is initiated in response to a mouse click or key press 
by

the user; the movie cannot change Stage.displayState without user input

http://help.adobe.com/en_US/AS3LCR/Flash_10.0/flash/display/Stage.html#displ
ayState

If you want the site to work on fullscreen only, then make it in a way 
that

when displayState is set to normal, it displays a warning message and a
button that when clicked will get back to fullscreen.

You cannot get rid of the ESC message either.


Zeh

On Tue, Nov 4, 2008 at 3:13 PM, Cor [EMAIL PROTECTED] wrote:


/*My goal:
   I want to start my apps fullscreen whitout giving a user the
possibility to scale
   or to encounter the app within a browser.
   When I CLICK it goes to FULL_SCREEN, but it doesn't work when I 
try

to do this with other events.
   Back to NORMAL does work on MOUSE_MOVE but not going back to
FULL_SCREEN.
   How can I set it to FULL_SCREEN automatically?

   And I also would like to get ride of the message Press Esc to 
exit

fullscreen mode?
   Every help is welcome!
*/

//My code in the first and only frame
var screenCheck:Boolean = false;
// Prevent scaling items on the stage
var swfStage:Stage = this.stage;
swfStage.scaleMode = StageScaleMode.NO_SCALE;
swfStage.align = StageAlign.TOP;
// /

//container is a movieclip with a textfield and a shape in it.
container.addEventListener(MouseEvent.MOUSE_MOVE, fullScreenUP);
container.addEventListener(MouseEvent.CLICK, fullScreenUP);

function fullScreenUP(e:MouseEvent):void {
   test.text = fullScreenUP triggered!;
   if (screenCheck == false) {
   stage.displayState = StageDisplayState.FULL_SCREEN;
   screenCheck = true;
   } else {
   stage.displayState = StageDisplayState.NORMAL;
   screenCheck = false;
   }
}

/*
Kind regards
Cor
*/

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Flex Builder: AS Application files outside of /src root?

2008-11-04 Thread Henry Cooke
Hello all,

Something that's been bugging me for a while: why can only AS files in
the root of a Flex Builder project's source folder be nominated as an
application?

Like, I've got a bunch of classes all neatly packaged up in packages
inside /src, but in the Project / Properties / Actionscript Properties
dialog, upon clicking Add, these files do not appear in the tree
view of possible files to add.

Is there something I'm missing? A bug in FB, perhaps? I'm on a Mac, if
that makes any difference.

Cheers,
h.
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


RE: [Flashcoders] FULL_SCREEN problem Flash CS3 and AS3

2008-11-04 Thread Cor
Thank you.
I am not familiair with Javascript, but I will try this.

Kind regards.
Cor

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Carolina
Avila Coral
Sent: dinsdag 4 november 2008 20:38
To: Flash Coders List
Subject: Re: [Flashcoders] FULL_SCREEN problem Flash CS3 and AS3

Hi:

I use two html pages to do that,  the main page only has the information to 
open the fullscreen, the second page has the swf link.  I hope it be useful 
for you.

main page:

script language=JavaScript type=text/JavaScript

!--

function MachakFull(Ie,other){

//Copyright C 1999 m.milicevic [EMAIL PROTECTED] [EMAIL PROTECTED]

x=screen.availWidth;

y=screen.availHeight;

target = 
parseFloat(navigator.appVersion.substring(navigator.appVersion.indexOf('.')-
1,navigator.appVersion.length));

if((navigator.appVersion.indexOf(Mac)!=-1) 
(navigator.userAgent.indexOf(MSIE)!=-1) 
(parseInt(navigator.appVersion)==4))

window.open(other,sub,'scrollbars=yes');

if (target = 4){

 if (navigator.appName==Netscape){

var 
MachakFull=window.open(other,MachakFull,'scrollbars=yes','width='+x+',heig
ht='+y+',top=0,left=0');

 MachakFull.moveTo(0,0);

 MachakFull.resizeTo(x,y);}

if (navigator.appName==Microsoft Internet Explorer)

 window.open(Ie,MachakFull,fullscreen=yes);

 }

 else window.open(other,sub,'scrollbars=yes');

 }

 function Close_Window()
{
var mywindow=window.self;
mywindow.opener=window.self;
mywindow.close();
}
//--
/script
/head

body onLoad=MachakFull('index_01.htm','')
body onBlur=Close_Window();

- Original Message - 
From: Cor [EMAIL PROTECTED]
To: 'Flash Coders List' flashcoders@chattyfig.figleaf.com
Sent: Tuesday, November 04, 2008 2:04 PM
Subject: RE: [Flashcoders] FULL_SCREEN problem Flash CS3 and AS3


 Thanks Zeh.

 I noticed the displayState description, but it didn't do the trick for me.

 Is it possible to attach a fullscreen function to the ESC message, so when

 a
 user pushes ESC the app will stay in fullscreen?

 Kind regards
 Cor

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Zeh 
 Fernando
 Sent: dinsdag 4 november 2008 20:00
 To: Flash Coders List
 Subject: Re: [Flashcoders] FULL_SCREEN problem Flash CS3 and AS3

 Fullscreen can only be activated on certain events, so you cannot hijack 
 the
 user browser to set the fullscreen mode.

 Full-screen mode is initiated in response to a mouse click or key press 
 by
 the user; the movie cannot change Stage.displayState without user input


http://help.adobe.com/en_US/AS3LCR/Flash_10.0/flash/display/Stage.html#displ
 ayState

 If you want the site to work on fullscreen only, then make it in a way 
 that
 when displayState is set to normal, it displays a warning message and a
 button that when clicked will get back to fullscreen.

 You cannot get rid of the ESC message either.


 Zeh

 On Tue, Nov 4, 2008 at 3:13 PM, Cor [EMAIL PROTECTED] wrote:

 /*My goal:
I want to start my apps fullscreen whitout giving a user the
 possibility to scale
or to encounter the app within a browser.
When I CLICK it goes to FULL_SCREEN, but it doesn't work when I 
 try
 to do this with other events.
Back to NORMAL does work on MOUSE_MOVE but not going back to
 FULL_SCREEN.
How can I set it to FULL_SCREEN automatically?

And I also would like to get ride of the message Press Esc to 
 exit
 fullscreen mode?
Every help is welcome!
 */

 //My code in the first and only frame
 var screenCheck:Boolean = false;
 // Prevent scaling items on the stage
 var swfStage:Stage = this.stage;
 swfStage.scaleMode = StageScaleMode.NO_SCALE;
 swfStage.align = StageAlign.TOP;
 // /

 //container is a movieclip with a textfield and a shape in it.
 container.addEventListener(MouseEvent.MOUSE_MOVE, fullScreenUP);
 container.addEventListener(MouseEvent.CLICK, fullScreenUP);

 function fullScreenUP(e:MouseEvent):void {
test.text = fullScreenUP triggered!;
if (screenCheck == false) {
stage.displayState = StageDisplayState.FULL_SCREEN;
screenCheck = true;
} else {
stage.displayState = StageDisplayState.NORMAL;
screenCheck = false;
}
 }

 /*
 Kind regards
 Cor
 */

 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
 

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Masks when Zooming in I.E. 7

2008-11-04 Thread Marc Hoffman
I created a swf that has several layers of translucent clouds moving 
beneath masks. The masks are set with ActionScript 2.0 and the cloud 
motion is also AS2.


When this movie is zoomed larger than 100% in I.E. 7, the clouds 
become nearly opaque.


Anyone know what it is about zooming in I.E. 7 that would cause 
masked translucent objects to become nearly opaque?


TIA,
Marc

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Force include of unreferenced classes in swf when compiled with mxmlc

2008-11-04 Thread Ian Thomas
Use the -Includes option on the command line to mxmlc.

e.g.

mxmlc MyApp.as -Includes com.mycompany.Class1 com.mycompany.Class2
-output MyApp.swf

HTH,
   Ian

On Tue, Nov 4, 2008 at 4:43 PM, Eamonn Faherty [EMAIL PROTECTED] wrote:
 I have a set of classes that are used at runtime and not referenced at
 compile time.



 I am using mxmlc.exe to compile from an mxml doc.



 I want to able to specify a set of classes to include into the swf for
 use only at runtime.  Mxml.exe is excluding these classes as they are
 not being used.



 Does anyone know how to get around this?



 Thanks



 Eamonn





 This email (including any attachments) is confidential, protected by
 copyright and may be privileged. It is for the exclusive use of the
 intended recipient(s). If you have received it in error, please notify
 the sender immediately by emailing a response before deleting the email
 completely from your computer, and note that any storage, copying or
 dissemination is prohibited.



 Where the content of this email is personal or otherwise unconnected
 with business of the Group's Companies, we accept no responsibility or
 liability for such content.



 We accept no responsibility for viruses that we may have unintentionally
 transmitted to you within this email and you should check for viruses
 before opening any attachment. Those communicating with us by email will
 be deemed to have consented to us intercepting and monitoring those
 communications.



 Gamesys Ltd is registered in England  Wales, company registration
 number 04042931.  The registered office is at 54-62 Regent St



 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Flash Authortime vs Runtime children

2008-11-04 Thread jonathan howe
Hi, Glen,

It would be interesting to know for triage: How are you referring to the
components in your main class, i.e.
- are your contributors using the automatically declare stage instances
or
- you are creating matching variables in the main class or
- not even giving them instance names and relying on the ADDED_TO_STAGE
handler to fire to 'make themselves known'?
-jonathan


On Mon, Nov 3, 2008 at 10:17 PM, sebastian [EMAIL PROTECTED] wrote:

 forget to addChild()?

   The problem I have run into is that when I instanciate an AppScreen
 symbol from my library - it's not on stage - and add it to the stage I
 handle the ADDED_TO_STAGE event for wiring the components up.

  ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders




-- 
-jonathan howe :: 404.434.2321 :: 180 High St Apt 26 Portland, ME 04101
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Force include of unreferenced classes in swf whencompiled with mxmlc

2008-11-04 Thread Ian Thomas
Sorry, shouldn't have been a capital 'i'.

-includes Class1 Class2

is correct.

The manual page is here:
http://livedocs.adobe.com/flex/3/html/compilers_14.html

Definitely works with SDK3, that's what we're using.

HTH,
   Ian

On Tue, Nov 4, 2008 at 5:46 PM, Eamonn Faherty [EMAIL PROTECTED] wrote:
 Thanks for your response but that doesn't seem to work.

 I get  unknown configuration variable 'Includes'

 I am using sdk 3.

 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of Ian
 Thomas
 Sent: 04 November 2008 16:53
 To: Flash Coders List
 Subject: Re: [Flashcoders] Force include of unreferenced classes in swf
 whencompiled with mxmlc

 Use the -Includes option on the command line to mxmlc.

 e.g.

 mxmlc MyApp.as -Includes com.mycompany.Class1 com.mycompany.Class2
 -output MyApp.swf

 HTH,
   Ian

 On Tue, Nov 4, 2008 at 4:43 PM, Eamonn Faherty [EMAIL PROTECTED]
 wrote:
 I have a set of classes that are used at runtime and not referenced at
 compile time.



 I am using mxmlc.exe to compile from an mxml doc.



 I want to able to specify a set of classes to include into the swf for
 use only at runtime.  Mxml.exe is excluding these classes as they are
 not being used.



 Does anyone know how to get around this?



 Thanks



 Eamonn





 This email (including any attachments) is confidential, protected by
 copyright and may be privileged. It is for the exclusive use of the
 intended recipient(s). If you have received it in error, please notify
 the sender immediately by emailing a response before deleting the
 email
 completely from your computer, and note that any storage, copying or
 dissemination is prohibited.



 Where the content of this email is personal or otherwise unconnected
 with business of the Group's Companies, we accept no responsibility or
 liability for such content.



 We accept no responsibility for viruses that we may have
 unintentionally
 transmitted to you within this email and you should check for viruses
 before opening any attachment. Those communicating with us by email
 will
 be deemed to have consented to us intercepting and monitoring those
 communications.



 Gamesys Ltd is registered in England  Wales, company registration
 number 04042931.  The registered office is at 54-62 Regent St



 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Flash Authortime vs Runtime children

2008-11-04 Thread sebastian
If you don't do addChild() it won't actually be on the stage - even if 
you add it to an array or a variable inside of the clip.


Consider:

public class Tree blabla ()
{
 private var apple:Apple;//where 'Apple' is some item you want to 
attach

 to this class

 public function Tree ()
 {
  apple = new Apple();
  addChild(apple);
 }

}

If I don't do an 'addChild' the Apple class will simply be assigned to 
the variable apple but it will NOT be opn the stage until I add it via 
addChild();


Make sense?

Google it otherwise, it's a basic AS3 concept that differs from AS2.

:)

Seb.

Glen Pike wrote:

Hi,

   If I create my AppScreens dynamically and add them - the added to 
stage event handler for the AppScreen sub-class is called.


   I am not calling addChild() for the components in the AppScreen 
sub-class because they are placed at authortime inside the clip - I 
should not have to call addChild for these surely?

 Glen

sebastian wrote:

forget to addChild()?

   The problem I have run into is that when I instanciate an 
AppScreen symbol from my library - it's not on stage - and add it to 
the stage I handle the ADDED_TO_STAGE event for wiring the components 
up.

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders





___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


Re: [Flashcoders] Flash Authortime vs Runtime children

2008-11-04 Thread jonathan howe
I don't think this is really Glen's problem. You should not have to
addChild() an object placed on the stage via the authoring environment.

On Tue, Nov 4, 2008 at 6:27 PM, sebastian [EMAIL PROTECTED] wrote:

 If you don't do addChild() it won't actually be on the stage - even if you
 add it to an array or a variable inside of the clip.

 Consider:

 public class Tree blabla ()
 {
  private var apple:Apple;//where 'Apple' is some item you want to attach
  to this class

  public function Tree ()
  {
  apple = new Apple();
  addChild(apple);
  }

 }

 If I don't do an 'addChild' the Apple class will simply be assigned to the
 variable apple but it will NOT be opn the stage until I add it via
 addChild();

 Make sense?

 Google it otherwise, it's a basic AS3 concept that differs from AS2.

 :)

 Seb.


 Glen Pike wrote:

 Hi,

   If I create my AppScreens dynamically and add them - the added to stage
 event handler for the AppScreen sub-class is called.

   I am not calling addChild() for the components in the AppScreen
 sub-class because they are placed at authortime inside the clip - I should
 not have to call addChild for these surely?
 Glen

 sebastian wrote:

 forget to addChild()?

   The problem I have run into is that when I instanciate an AppScreen
 symbol from my library - it's not on stage - and add it to the stage I
 handle the ADDED_TO_STAGE event for wiring the components up.

 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders



 ___
 Flashcoders mailing list
 Flashcoders@chattyfig.figleaf.com
 http://chattyfig.figleaf.com/mailman/listinfo/flashcoders




-- 
-jonathan howe :: 404.434.2321 :: 180 High St Apt 26 Portland, ME 04101
___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


[Flashcoders] Masks when Zooming in I.E. 7

2008-11-04 Thread Marc Hoffman
[Please excuse if this comes through twice -- it's been over 8 hours 
since I sent, but did not see posted, my original message.]


I created a swf that has several layers of translucent clouds moving 
beneath masks. The masks are set with ActionScript 2.0 and the cloud 
motion is also AS2.


When this movie is zoomed larger than 100% in I.E. 7, the clouds 
become nearly opaque.


Anyone know what it is about zooming in I.E. 7 that would cause 
masked translucent objects to become nearly opaque?


TIA,
Marc

___
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders