RE: [Flashcoders] Javascript Flash resizing

2009-02-20 Thread Cor
Hi Ashim, Thanks. I have it already working with StageDisplayMode.FULLSCREEN, but this still needs a user interaction. And I would like to open my app fullscreen without any browser visuals, and even better if the user is not able to switch to any other display mode. Kind regards cor -Orig

[Flashcoders] Display Object Container refresh ...

2009-02-20 Thread SJF
You have a class with a public DOC (DisplayObjectContainer). This DOC contains all the visual assets of your class. In you refresh/reset/constructor method, do you use either: container = null; or a loop to manually remove all display objects within the container, eg: if (container != null) {

Re: [Flashcoders] xml and e4x searching question

2009-02-20 Thread Kenneth Kawamoto
If you want to find the EMPLOYEE node you can do something like: trace(staff2.EMPLOYEE.(text()[0] == "leroy").toXMLString()); trace(staff2.EMPLOYEE.(child(0) == "leroy").toXMLString()); trace(staff2.EMPLOYEE.(toString() == "leroy").toXMLString()); Kenneth Kawamoto http://www.materiaprima.co.uk/

Re: [Flashcoders] Javascript Flash resizing

2009-02-20 Thread Ashim D'Silva
I wouldn't really like that as a user, a webpage that takes my screen without asking.If it's an app, try AIR, that might have something. You should be able to launch a window with javascript without interaction (window.open - look it up) Other than that, I'm really not sure. 2009/2/20 Cor > Hi A

RE: [Flashcoders] Javascript Flash resizing

2009-02-20 Thread Cor
I know, its not for websites but company learningapps. I can't use AIR. All my apps are to be launched from Moodle. Thanks! -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Ashim D'Silva Sent: vrijdag 20 feb

Re: [Flashcoders] Javascript Flash resizing

2009-02-20 Thread jonathan howe
As I'm sure you've discovered, Flash Player security model will block you from doing this directly: "The ActionScript that initiates full-screen mode can be called only in response to a mouse event or keyboard event. If it is called in other situations, Flash Player throws an exception. Users can

Re: [Flashcoders] Display Object Container refresh ...

2009-02-20 Thread Weyert de Boer
var n: Number = container.numChildren; while ( n-- ) { container.removeChildAt(n); } sounds better ;) less problems when you start from the bottom is my experience. You have a class with a public DOC (DisplayObjectContainer). This DOC contains all the visual assets of your class. In you ref

RE: [Flashcoders] Javascript Flash resizing

2009-02-20 Thread Cor
Jonathan, Thank you! I did know about the blocking directly. This is what I am trying to overcome. BUT, I didn't know it is not possible to use keyboard input And that is surely something I need. If no one comes up with some kind of sulotion, I guess I have to run it in the browser window? Than

RE: [Flashcoders] Display Object Container refresh ...

2009-02-20 Thread Cor
Nice(r) -Original Message- From: flashcoders-boun...@chattyfig.figleaf.com [mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of Weyert de Boer Sent: vrijdag 20 februari 2009 14:35 To: Flash Coders List Subject: Re: [Flashcoders] Display Object Container refresh ... var n: Numbe

Re: [Flashcoders] Javascript Flash resizing ...

2009-02-20 Thread allandt bik-elliott (thefieldcomic.com)
awesome - thanks On Thu, Feb 19, 2009 at 8:15 AM, SJF wrote: > Try this - > > http://code.google.com/p/resizetoolkit/downloads/detail?name=ResizeToolkit_v.95.zip&can=2&q > = > > Haven't used it myself yet, but it looks like a robust technique/set of > classes. > _

[Flashcoders] Re: xml and e4x searching question

2009-02-20 Thread Ferd Berfel
Thank you very much Taka and Kenneth - that answers my question. The question, and my example, was academic; I was wondering how is it supposed to work since it didn't seem to follow the pattern for children at a second level. I usually have a healthy amount of attributes in use however, I thought

[Flashcoders] Capture sound from computer speakers?

2009-02-20 Thread Helmut Granda
I am looking at the docs, and it almost seems like I can't capture the sound that is playing through the speakers (itunes/web/application). Which seems odd to me given that we can capture the camera and microphone but not just sound that is not played within the flash player. I did a soft search wi

Re: [Flashcoders] Capture sound from computer speakers?

2009-02-20 Thread Nate Beck
What you hear, in your speakers is audio output... not audio input. So to do what you want, you need to somehow turn your audio output into an input. Here are few ideas: - I used to have a Sound Blaster sound card that had a driver that would loop the audio out back into the input. There w