RE: [Flashcoders] navigateToURL or getURL and pop-up blocking

2007-10-24 Thread Matthew James Poole
John you'd need to have allowScriptAccess enabled in the page. If it is then you can call window.open(...), otherwise - you might be out of luck... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of John Olson Sent: 20 October 2007 18:24 To:

RE: [Flashcoders] Flex 3 Air Beta 3

2007-12-17 Thread Matthew James Poole
flash.display:Stage. And also i get an error about a ArtemisJSExtension.cpp on line 563 - importPublishProfile: Argument number 1 is invalid So i cant trace the output of the event fired. (i'll prabably replay tomorrow, have to be on my way now, but i'll read your reply). Cheers, Sidney Matthew James Poole

RE: [Flashcoders] AS3 drag-and-drop data grid

2007-12-19 Thread Matthew James Poole
The Flex data grid can do this. Obviously you are using flash, but you could have a Flex swf with just the datagrid and load it in exposing the API via code (or by local connection if that doesn't work). -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of

RE: [Flashcoders] Executing external ,exe witn AIR

2008-01-02 Thread Matthew James Poole
Omar, fscommmand exec only works from with a projector i.e. not AIR in addition to this AIR will print exactly as any other AS3 application prints so if the AS3 print library allows you to do what you want then you can do it in AIR if not, then you cant. I have to agree with Steven on this too if

RE: [Flashcoders] Executing external ,exe witn AIR

2008-01-03 Thread Matthew James Poole
Or more to the point the lawyers :) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ricky Bacon Sent: 03 January 2008 07:46 To: Flash Coders List Subject: Re: [Flashcoders] Executing external ,exe witn AIR Matthew James Poole wrote: I have to agree

RE: [Flashcoders] Executing external ,exe witn AIR

2008-01-03 Thread Matthew James Poole
That's what we have the wish list for. Add it to Jira http://bugs.adobe.com/jira and if enough people vote for it Adobe put it in - simple :) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Omar Fouad Sent: 02 January 2008 20:54 To: Flash Coders List

RE: [Flashcoders] F9/Flex2: Resource Hit for Flash 8 Embeds?

2008-01-08 Thread Matthew James Poole
Flash 8 movies loaded into a Flash 9 movie use the AVM1, whereas anything AS3 uses the AVM2. I wasn't aware that multiple AVM1 instances would be started up though... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jer Brand Sent: 08 January 2008 13:59

RE: [Flashcoders] PUSH/PULL model in AIR

2008-01-08 Thread Matthew James Poole
... Also you could look into using BlazeDS if you know any Java you could implement a JMS adapter for it... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matthew James Poole Sent: 08 January 2008 15:00 To: Flash Coders List Subject: RE: [Flashcoders

RE: [Flashcoders] PUSH/PULL model in AIR

2008-01-08 Thread Matthew James Poole
the difference tween a socket server and BlazeDS? Thanks in advance, Sidney Matthew James Poole wrote: Everything you can do in Flex you can do in AIR, with the addition that the security model is more relaxed. So yes polling a php script would work. Or you could use XMLSocker or BinarySocker to have

RE: [Flashcoders] F9/Flex2: Resource Hit for Flash 8 Embeds?

2008-01-08 Thread Matthew James Poole
. Glen Matthew James Poole wrote: Flash 8 movies loaded into a Flash 9 movie use the AVM1, whereas anything AS3 uses the AVM2. I wasn't aware that multiple AVM1 instances would be started up though... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jer

RE: [Flashcoders] PUSH/PULL model in AIR

2008-01-08 Thread Matthew James Poole
?) Thanks Sidney Matthew James Poole wrote: Hi Sidney, It is possible to write socket servers in PHP (theres one in the Pear library), but php is not generally considered a good language to write one in. As such most Socket Servers used with Flash are written in Java (or sometimes .Net

RE: [Flashcoders] capture and email

2008-01-08 Thread Matthew James Poole
If its AS3 You could use the JPEGEncoder class to send a ByteArray over remoting using AMF3 and create the jpg serevr side and add it to an attachment of an email you send or embed it... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bo Parker Sent: 08

RE: [Flashcoders] startAtLogin in AIR

2008-01-10 Thread Matthew James Poole
Hi Sidney, I've just searched the Adobe bugs db on jira and there doesn't seem to be anything reported for this. But I can confirm that I get the same RTE too, so I'd guess they will make it available at the real launch... Had you tried this functionality in the Earlier releases? - I believe it

RE: [Flashcoders] startAtLogin in AIR

2008-01-10 Thread Matthew James Poole
it is: NativeApplication.nativeApplication.startAtLogin = Boolean; Hope this helps you aswell :) Sid Matthew James Poole wrote: Hi Sidney, I've just searched the Adobe bugs db on jira and there doesn't seem to be anything reported for this. But I can confirm that I get the same RTE too, so

RE: [Flashcoders] startAtLogin in AIR

2008-01-10 Thread Matthew James Poole
= true) { Had anything changed in flash.filesystem.File aswell? Cheers, Sid Matthew James Poole wrote: Hi Sid, Thanks, That makes sense. That does help me - I'll be starting a app soon that will need it. I've posted this the bug list anyway as this isnt a very desriable thing

RE: [Flashcoders] startAtLogin in AIR

2008-01-10 Thread Matthew James Poole
... :S) How do you trace your messages in AIR from the IDE? i dont get any i just noticed. Matthew James Poole wrote: There are a few changes to the File class for example file.resolve(url), is now file.resolvePath(url) and there are a couple of new methods ... ... But from the error it looks

RE: [Flashcoders] startAtLogin in AIR

2008-01-11 Thread Matthew James Poole
in AIR I'll leave it be than, i'll use the standard adobe methods, they are working without a hassel (time constrain ... :S) How do you trace your messages in AIR from the IDE? i dont get any i just noticed. Matthew James Poole wrote: There are a few changes to the File class for example

RE: [Flashcoders] component rendering delay

2008-01-11 Thread Matthew James Poole
Have a look at this using a pseudo-threading technique for large processing jobs that affect the UI - this should be what you need: http://blogs.adobe.com/aharui/2008/01/ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of learner Sent: 11 January 2008 13:07

RE: [Flashcoders] Classes added

2008-01-15 Thread Matthew James Poole
Yep we got that ;) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Steven Sacks Sent: 15 January 2008 00:55 To: Flash Coders List Subject: Re: [Flashcoders] Classes added And by that I mean that it's poorly written, hehe. 14.11 New expressions A new

RE: [Flashcoders] Windowing in AIR

2008-01-17 Thread Matthew James Poole
Hi Sid, 1. NativeWindow's have height and width properties, so you should be able just to set these directly 2. A NativeWindow is just that - an OS native windo - so at best you can have a MC in a NativeWindow 3. see 2 - a NativeWindow can have many MC's inside it... 4. Not really, though if it

RE: [Flashcoders] Windowing in AIR

2008-01-17 Thread Matthew James Poole
confined to the current state of the app. Can you tell me how this can be realized? Cheers, Sidney Matthew James Poole wrote: Hi Sid, 1. NativeWindow's have height and width properties, so you should be able just to set these directly 2. A NativeWindow is just that - an OS native windo

RE: [Flashcoders] Windowing in AIR

2008-01-17 Thread Matthew James Poole
at the EmployeeDirectory app, on http://labs.adobe.com/technologies/air/samples/ and when it folds open the 'canvas' is also stretched, and when you drag it, the borrder is only confined to the current state of the app. Can you tell me how this can be realized? Cheers, Sidney Matthew James Poole wrote

RE: [Flashcoders] Windowing in AIR

2008-01-17 Thread Matthew James Poole
smaller. The bounds of my app will never confine to my content but only to my canvas. I want my bounds to be smaller accourding to the state of my app. Does that make any sense to you? If not clear, i can make some screenshots and place on my website if that helps, Thanks, Sid Matthew James Poole

RE: [Flashcoders] Windowing in AIR

2008-01-18 Thread Matthew James Poole
that appears when i drag the app. I have placed the EmployeeDirectory also in the screenshot so you can see the difference. Hope this makes it more clear, Cheers, Sidney Matthew James Poole wrote: Screen shots would be good please mate - I don't seem to get any problem with the sample AIR, I'm

RE: [Flashcoders] Windowing in AIR

2008-01-21 Thread Matthew James Poole
have found something, namely NativeWindowBounds, i'll let you know about my findings Sid Matthew James Poole wrote: Ah I see. Oddly I don't actually get that border when dragging the employees app, which OS are you using? ... You could always ensure that your main NativeWindow is always

RE: [Flashcoders] MultiLanguage

2008-01-21 Thread Matthew James Poole
Failing all that just code your own buttons using scale-9 so they can stretch to fit the text... ... If that seems like hard work, maybe the project should be done in Flex which has a localisation API and a framework specifically designed to handle this sort of dynamically changing interface

RE: [Flashcoders] [AS2] bitmapdata from external loaded swf

2008-01-22 Thread Matthew James Poole
You're not lonely then - :P -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Hans Wichman Sent: 22 January 2008 11:06 To: [EMAIL PROTECTED]; Flash Coders List Subject: Re: [Flashcoders] [AS2] bitmapdata from external loaded swf

RE: [Flashcoders] MultiLanguage

2008-01-24 Thread Matthew James Poole
You can use simsun ttf for rendering chinese glyfs -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Mennenoh Sent: 23 January 2008 15:00 To: Flash Coders List Subject: Re: [Flashcoders] MultiLanguage It's essential that you use a Unicode font--I use

RE: [Flashcoders] AIR Sandbox while loading sounds

2008-01-24 Thread Matthew James Poole
Socket connection? Been trying everything and notthing seems to work, is there anything specific to AIR and loading sounds? Cheers, Sid Matthew James Poole wrote: Hey sid, There are new security rules for build 115 (update 3) of FP9: http://www.adobe.com/devnet/flashplayer/articles

RE: [Flashcoders] AIR Sandbox while loading sounds

2008-01-24 Thread Matthew James Poole
(MouseEvent.MOUSE_DOWN, stopStream); function errorHandler(errorEvent:IOErrorEvent):void {trace(The sound could not be loaded: + errorEvent.text);} function stopStream(evtObj:MouseEvent) { s.close(); } Cheers Sid Matthew James Poole wrote: I think what it was basically saying is that same domain socket

RE: [Flashcoders] MultiLanguage

2008-01-24 Thread Matthew James Poole
One solution would be to avoid embeding the chinese fonts if you could - depends on what you want for your project -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Mennenoh Sent: 24 January 2008 13:36 To: Flash Coders List Subject: Re: [Flashcoders]

RE: [Flashcoders] MultiLanguage

2008-01-24 Thread Matthew James Poole
Check the viewed language and turn embedding on/off depending on whether its chinese? - you'd only see the chinese if you had the right font installed (e.g. simsun) but I believe this is the case on chinese machines. If course if your text was masked or animated then this wont work as dynamic

RE: [Flashcoders] AIR Sandbox while loading sounds

2008-01-24 Thread Matthew James Poole
looking for it but no luck. Still cant find the bug i was looking for, maybee tomorrow. Any other sugestions i can try? cheers, Sid Matthew James Poole wrote: Your policy file looks good, heres something you could try to see if there is a problem with the policy file: Find this file 'mm.cfg

RE: [Flashcoders] OldSchool buttons w/NewSchool AS

2008-01-28 Thread Matthew James Poole
A number of companies I've worked for have had solutions for this along a similar vein. Basically you have labeled states in a MovieClip and that MovieClip has a AS class linkage and you have code that manages the states. It does mean that the desingers have to remember to use the class linkage,

RE: [Flashcoders] AS3 Function question

2008-02-07 Thread Matthew James Poole
Yep that's exactly how to do it... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Pavel Krusek Sent: 07 February 2008 12:07 To: 'Flash Coders List' Subject: RE: [Flashcoders] AS3 Function question Hi, maybe is possible solution via ...(rest)

RE: [Flashcoders] AS3 Function question

2008-02-07 Thread Matthew James Poole
True, but with the rest argument you can have as many args as you want... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jim Hayes Sent: 07 February 2008 12:11 To: Flash Coders List Subject: RE: [Flashcoders] AS3 Function question I normally just set a

RE: [Flashcoders] AS3 Function question

2008-02-07 Thread Matthew James Poole
either 1 or 2 arguments, never more. Thanks for all the examples guys, Sid Matthew James Poole wrote: True, but with the rest argument you can have as many args as you want... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jim Hayes Sent: 07

RE: [Flashcoders] clean scripting

2008-03-11 Thread Matthew James Poole
Actually, I've seen that the values are often set quicker when initilaised in the contructor rather than against class members , but I think it looks tidier the way you've done it... imo -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Allandt Bik-Elliott

RE: [Flashcoders] pixel-accurate _xmouse tracking?

2008-03-12 Thread Matthew James Poole
Matt, the mouse move event fired at a set rate so the faster you move it the greater the distance will be until the next event. If you want to sample faster then you'd have to use a setInterval at something really small like 10ms and grab the mouse location like that. Even then you cant guarantee

RE: [Flashcoders] [AS3] Memory leaks unloading

2008-03-12 Thread Matthew James Poole
You can start by using weak references for you events listeners... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Henry Cooke Sent: 12 March 2008 15:55 To: Flashcoders mailing list Subject: [Flashcoders] [AS3] Memory leaks unloading Hey all, I'm

RE: [Flashcoders] [AS3] Memory leaks unloading

2008-03-12 Thread Matthew James Poole
True, but its sounds like Henry has lots of stuff not marked for GC so he still has references somewhere, just a case of finding them... Easier said than done -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Allandt Bik-Elliott (Receptacle) Sent: 12 March

RE: [Flashcoders] IE7 wont trigger popups locally

2008-04-08 Thread Matthew James Poole
Are you setting allowScriptAccess in the params? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Martin Klasson Sent: 08 April 2008 14:03 To: Flash Coders List Subject: [Flashcoders] IE7 wont trigger popups locally Hi People. I am having trouble with