[Flashcoders] doDecoding

2008-03-12 Thread Hans Wichman
Hi list, I'm trying to find out the difference in webservice results when alternating myCall.doDecoding between true and false, but no matter what i set it to, my results are passed as converted xml objects. Any pointers on what the real difference is? The documentation is very unclear on this

[Flashcoders] Re: doDecoding

2008-03-12 Thread Hans Wichman
sigh murphy's law I was doing: var pend:PendingCall = myWS.system_ExecuteEvent(... var myCall:SOAPCall = pend.myCall; myCall.doDecoding = true; myCall.doLazyDecoding = true; but i should have done: var myCall:SOAPCall = myWS.getCall(system_ExecuteEvent); myCall.doDecoding = true;

Re: [Flashcoders] clean scripting

2008-03-12 Thread Muzak
In AS2 it does (and has been discussed here in the past), in AS3 it doesn't. - Original Message - From: Jesse Graupmann [EMAIL PROTECTED] To: 'Flash Coders List' flashcoders@chattyfig.figleaf.com Sent: Wednesday, March 12, 2008 5:38 AM Subject: RE: [Flashcoders] clean scripting

Re: [Flashcoders] Debugging issue

2008-03-12 Thread Ain Tohvri
Spaces have been URL-encoded but make sure you've got proper security settings of Flash Player. Regards, Ain Tohvri On 12 Mar 2008, at 02:51, anuj sharma [EMAIL PROTECTED] wrote: Hi I am trying to debug my project and it gives me long weird message as follows. Its saying some Security

Re: [Flashcoders] Debugging issue

2008-03-12 Thread Glen Pike
http://www.google.com/search?hl=enq=flex+use-networkbtnG=Search http://www.google.com/search?hl=enq=flex+use-networkbtnG=Search Kerry Thompson wrote: I am trying to debug my project and it gives me long weird message as follows. Its saying some Security Sandbox violation. I am loading external

Re: [Flashcoders] When is 1 not 1?

2008-03-12 Thread Wagner Amaral
Try this (guessing): $defUser = 1; echo(im= . $fName . def= . $defUser . ); On Tue, Mar 11, 2008 at 2:48 AM, Dave Mennenoh [EMAIL PROTECTED] wrote: When 1 had line feeds... Well, I'm not quite sure how yet but somehow I'm getting a couple of line feeds in my def variable when it comes

Re: [Flashcoders] getBounds AS3/AS2 issue (SOLVED)

2008-03-12 Thread Ian Thomas
Followup on this issue for the archives... Eder Fortunato from Brazil suggested setting _lockroot=true on App C. This solves the problem. Cheers, Ian On Tue, Mar 11, 2008 at 10:14 AM, Ian Thomas [EMAIL PROTECTED] wrote: Further to this (again) I've investigated the whole thing in some

[Flashcoders] pixel-accurate _xmouse tracking?

2008-03-12 Thread Matt S.
Hi, can anyone recommend a way to have pixel-accurate mouse tracking? If I move my mouse slowly it pretty much grabs them all, but any fast movements result in huge gaps in the _xmouse tracking, so instead of being 1,2,3,4,5,6,7,8,9,10,11,12 etc, it'll be 1,4,6,9,12,15,16,23,30,35, etc. I need it

[Flashcoders] ScrollBar strangeness

2008-03-12 Thread Allandt Bik-Elliott (Receptacle)
hi guys could you take a look at this please, i can't see what the problem is? I think maybe this is a syntax thing that i'm not aware of thanks a CODE: package com.receptacle.timeline { //package imports import fl.controls.ScrollBar; import

[Flashcoders] Arabic and other character sets text entry

2008-03-12 Thread Piers Cowburn
I'm working on a pitch for a viral campaign for one of the larger charities and one of the points on the brief is that it needs to be accessible to anyone working in different languages and character sets, what ever they may be. This will be based in an expandable banner ad and so I don't

Re: [Flashcoders] ScrollBar strangeness

2008-03-12 Thread Glen Pike
What are you coding in - Flash, Flex or Flash Dev - it maybe because you are doing a Flex project, but trying to use a Flash control bar, or similar. Allandt Bik-Elliott (Receptacle) wrote: hi guys could you take a look at this please, i can't see what the problem is? I think maybe this is a

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] pixel-accurate _xmouse tracking?

2008-03-12 Thread Piers Cowburn
The problem you're having is that the mouse is traveling at a faster rate than one pixel per frame. So the coordinates you get back are the coordinates that the mouse was on each time the script was executed, which is every frame. You could try increasing the frame rate but you're still

Re: [Flashcoders] pixel-accurate _xmouse tracking?

2008-03-12 Thread Zeh Fernando
This IS as accurate as possible. Technically, your mouse never was on 2, 3, 5, 7, 8, etc. Remember mouse reading on the hardware works at a certain frequency, and everything in between is lost. You can always interpolate between read values. That'll give you the imtermediary positions where

Re: [Flashcoders] ScrollBar strangeness

2008-03-12 Thread Allandt Bik-Elliott (Receptacle)
oh - i'm using flash cs3 On 12 Mar 2008, at 15:14, Glen Pike wrote: What are you coding in - Flash, Flex or Flash Dev - it maybe because you are doing a Flex project, but trying to use a Flash control bar, or similar. Allandt Bik-Elliott (Receptacle) wrote: hi guys could you take a

Re: [Flashcoders] ScrollBar strangeness

2008-03-12 Thread Allandt Bik-Elliott (Receptacle)
is there an extra set of libraries i need to install from flash or something? i don't have a scrollbar component in my component window either (although i do have a uiscrollbar and a scrollpane which subclass it) On 12 Mar 2008, at 15:14, Glen Pike wrote: What are you coding in - Flash,

[Flashcoders] [AS3] Memory leaks unloading

2008-03-12 Thread Henry Cooke
Hey all, I'm currently working on a Flash module to sit inside a larger Flash site being developed by another agency. This module needs to be loaded and unloaded as needed, and has a fair few library assets, quite substantial codebase and will be running PV3D or Away3D, so I need to be very

RE: [Flashcoders] pixel-accurate _xmouse tracking?

2008-03-12 Thread Kerry Thompson
Matt S. wrote: can anyone recommend a way to have pixel-accurate mouse tracking? If I move my mouse slowly it pretty much grabs them all, but any fast movements result in huge gaps in the _xmouse tracking, so instead of being 1,2,3,4,5,6,7,8,9,10,11,12 etc, it'll be

Re: [Flashcoders] ScrollBar strangeness

2008-03-12 Thread Cory Petosky
Drag the UIScrollBar component from the Components window to your library. The components window isn't visible by default -- it's under the Window menu option. On 3/12/08, Allandt Bik-Elliott (Receptacle) [EMAIL PROTECTED] wrote: oh - i'm using flash cs3 On 12 Mar 2008, at 15:14, Glen Pike

[Flashcoders] Re: Debugging issue

2008-03-12 Thread anuj sharma
Thanks for reply. I am sorry I should be more clear. My OS is XP not VIsta and I am using AS 3.0 in Flash IDE. I haven't used FLEX builder yet. I am going to use FLEX for my next phase of the project. From coding aspect i put all the code on my main timeline( No custom classes yet). I googled that

Re: [Flashcoders] pixel-accurate _xmouse tracking?

2008-03-12 Thread Matt S.
yeah, I dont actually need it to be pixel accurate down to the single pixel. If I could get it consistently accurate to within 25 pixels I'd be set. It seems like if the mouse is moving fast enough even 25px is too much though. Anyhoo, I'll keep workin on it... thx, .m On Wed, Mar 12, 2008 at

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] ScrollBar strangeness

2008-03-12 Thread Allandt Bik-Elliott (Receptacle)
i've checked my folder and ScrollBar.as is there something else that was strange - i tried instantiating UIScrollBar with the same result but when i dragged it to my library on the empty fla, it worked i really don't understand what's happening a On 12 Mar 2008, at 15:44, Allandt

[Flashcoders] [ AS3 ] - Problem with an AS3 application who use a swf AS2 who load images

2008-03-12 Thread david costard
Hey list, Since few days I'm developping my first AS3 application. In this project I need to load some swfs who are developped in AS2. One of them is a diaporama who load images. The diaporama can load the first images but then he never load the other images. In the MovieClipLoader object the

[Flashcoders] Unload AVM1 Movie from AS3 Movie Loader and GC

2008-03-12 Thread Matt Muller
Hi, does anyone know if unloading an AVM1 movie from an AS3 Loader will mean the memory will be GC'ed on the next sweep. I assume logically as there is no real connection (listeners) between the AS3 Movie and the AVM1 movie it should. Basically I want to load ads into an as3 app. This would

Re: [Flashcoders] [AS3] Memory leaks unloading

2008-03-12 Thread Allandt Bik-Elliott (Receptacle)
as far as i know, there is no way of dumping the garbage manually - you have to wait for the flash plugin to dump it once it has been marked you can check chapter 14 of essential actionscript 3.0 (moock) for more info about that On 12 Mar 2008, at 15:54, Henry Cooke wrote: Hey all, I'm

RE: [Flashcoders] Arabic and other character sets text entry

2008-03-12 Thread Kerry Thompson
Piers Cowburn wrote: I'm working on a pitch for a viral campaign for one of the larger charities and one of the points on the brief is that it needs to be accessible to anyone working in different languages and character sets, what ever they may be. There will be an element of data

Re: [Flashcoders] [AS3] Memory leaks unloading

2008-03-12 Thread Matt Muller
You should read this. http://gskinner.com/blog/archives/2006/07/as3_resource_ma_1.html GC doesnt happen on unloading immediately. Leave your app open for 20 mins and see what happens... MaTT On Wed, Mar 12, 2008 at 4:14 PM, Matthew James Poole [EMAIL PROTECTED] wrote: You can start by using

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] [ AS3 ] - Problem with an AS3 application who use a swf AS2 who load images

2008-03-12 Thread Glen Pike
Check for crossdomain problems - look in the HTTP Requests for crossdomain.xml - try loading this yourself to check it's there. If it is requesting crossdomain files, you probably need to have one setup - this maybe one issue, may not be... Glen david costard wrote: Hey list, Since few

Re: [Flashcoders] [AS3] Memory leaks unloading

2008-03-12 Thread Matt Muller
I think you can use a localconnection hack to force gc. http://blog.infidea.ws/category/as3/ On Wed, Mar 12, 2008 at 4:29 PM, Allandt Bik-Elliott (Receptacle) [EMAIL PROTECTED] wrote: as far as i know, there is no way of dumping the garbage manually - you have to wait for the flash plugin to

[Flashcoders] Passing vars with the the timer and events

2008-03-12 Thread Helmut Granda
I have a custom TimerEvent that I am using to pass some information when the timer is up. My issue is that I dont need to pass the information until the time is up but how can i pass the information to a timer that is not available yet? The basic setup is

Re: [Flashcoders] ScrollBar strangeness

2008-03-12 Thread Cory Petosky
Those source files only exist as part of the components. If the component isn't in your library, the classes don't exist. As long as you drag the components you need to your library, you can extend the classes. On 3/12/08, Allandt Bik-Elliott (Receptacle) [EMAIL PROTECTED] wrote: i've checked my

RE: [Flashcoders] clean scripting

2008-03-12 Thread Jesse Graupmann
Sorry for being away for awhile and just testing that out now. So yea... WTF? I can't believe after my years of AS2 coding that it would have taken me this long to notice. Well, good thing for AS3. // NOT SHARED public var myArray:Array; public function MyClass() {

Re: [Flashcoders] [ AS3 ] - Problem with an AS3 application who use a swf AS2 who load images

2008-03-12 Thread david costard
Hey Glen thanks for your help. I check for crossdomain but I think the problem is not with crossdomain. I've got the problem in local and all of the swf in as2 in need to load are one the same domain. 2008/3/12, Glen Pike [EMAIL PROTECTED]: Check for crossdomain problems - look in the HTTP

Re: [Flashcoders] Arabic and other character sets text entry

2008-03-12 Thread Piers Cowburn
Hi Kerry, Thanks for your detailed reply, seems there is a real problem with the lack of rtl support. I found one idea online which I thought might be a shot, see it here: http://broadcast.artificialcolors.com/ index.php?title=flash_rtl_via_a_simple_hack_non_rhetoric The only free-text

Re: [Flashcoders] [AS3] Memory leaks unloading

2008-03-12 Thread Henry Cooke
Wow, thanks for all the tips, guys. I forgot to mention that I was removing all my listeners, too, but weak referencing definitely looks useful, as does the rest of the stuff that Mr Skinner's written on resource management. And I'll dig into my copy of Moock as soon as I get the chance. Thanks

Re: [Flashcoders] [ AS3 ] - Problem with an AS3 application who use a swf AS2 who load images

2008-03-12 Thread Glen Pike
Not sure then, sorry. david costard wrote: Hey Glen thanks for your help. I check for crossdomain but I think the problem is not with crossdomain. I've got the problem in local and all of the swf in as2 in need to load are one the same domain. 2008/3/12, Glen Pike [EMAIL PROTECTED]:

Re: [Flashcoders] ScrollBar strangeness

2008-03-12 Thread Allandt Bik-Elliott (Receptacle)
ah right - so in order to use a component in actionscript, it needs to be in your library then? a On 12 Mar 2008, at 16:06, Cory Petosky wrote: Drag the UIScrollBar component from the Components window to your library. The components window isn't visible by default -- it's under the Window

RE: [Flashcoders] Arabic and other character sets text entry

2008-03-12 Thread Kerry Thompson
Piers Cowburn wrote: I found one idea online which I thought might be a shot, see it here: http://broadcast.artificialcolors.com/ index.php?title=flash_rtl_via_a_simple_hack_non_rhetoric The only free-text fields I would need are name and email address, the rest of the options are combo

Re: [Flashcoders] Passing vars with the the timer and events

2008-03-12 Thread Bob Leisle
Hi Helmut, One option is extending Timer such that it dispatches your custom SoundTimerEvent rather than the built in TimerEvent. Another option, if _sound is a class var, would be to have your timeEventHandler dispatch the SoundTimerEvent. hth, Bob Helmut Granda wrote:

Re: [Flashcoders] clean scripting

2008-03-12 Thread Dave Mennenoh
So yea...WTF? I can't believe after my years of AS2 coding that it would have taken me this long to notice. I think I muttered those exact words. Bizzare behavior. Though I don't think I have ever run into it. Someone taught me long ago not to initialize class variables in their definitions.

Re: [Flashcoders] Passing vars with the the timer and events

2008-03-12 Thread Helmut Granda
Hi Bob, Thanks for the comment, that is the route that started working on after posting the question and the only issue I am having is dispatching the custom event when the timer has been reached, I did a soft search for samples of extending the Timer Class with custom TimerEvents but wasnt able

Re: [Flashcoders] Passing vars with the the timer and events

2008-03-12 Thread EECOLOR
If we ever he need to pass extra arguments to the handler we use a delegate class to pass them. Usage: obj.addEventListener(Event.TYPE, Delegate.create(this, _handler, arg1, arg2)); private function _handler(e:Event, arg1:Object, arg2:Object):void { }; I added our delegate class as an

Re: [Flashcoders] [AS3] Memory leaks unloading

2008-03-12 Thread EECOLOR
In Flex Builder 3 they have added the profiler. You can use that to take snapshots of your application and inspects its memory use, instantiated objects etc. Greetz Erik On 3/12/08, Henry Cooke [EMAIL PROTECTED] wrote: Wow, thanks for all the tips, guys. I forgot to mention that I was

Re: [Flashcoders] Passing vars with the the timer and events

2008-03-12 Thread Cory Petosky
That's a dangerous practice. It prevents you from using weak event listeners -- because the only reference to your delegate function object is the event listener itself, a weakly-referenced listener will be garbage collected. Now have to manually remove your listener to make sure your object is

Re: [Flashcoders] clean scripting

2008-03-12 Thread Andy Herrman
Here's my understanding of the reason behind this: AS2 is basically just syntactic sugar over AS1, and gets compiled down to the same thing. When defining a class you're actually defining things on the prototype, so doing this: -- class MyClass { public var myArray:Array; public

Re: [Flashcoders] Passing vars with the the timer and events

2008-03-12 Thread Helmut Granda
I was a little bit concerned about the Delegate approach and I was able to figure out that extending the Timer class and adding a property to to the new class everything worked fine. My issue was that once the handler the extended

Re: [Flashcoders] pixel-accurate _xmouse tracking?

2008-03-12 Thread Matt S.
Is this something where AS3 would be superior to AS2? I know its faster generally, can one expect better responsiveness here as well? .m On Wed, Mar 12, 2008 at 12:08 PM, Kerry Thompson [EMAIL PROTECTED] wrote: Matt S. wrote: can anyone recommend a way to have pixel-accurate mouse

Re: [Flashcoders] pixel-accurate _xmouse tracking?

2008-03-12 Thread Allandt Bik-Elliott (Receptacle)
if you use updateAfterEvent() in your mouseMove event, you will get it as quick as the flash player will allow, irrespective of the framerate but you still won't get even close to every 10th pixel if the user gives it some welly as3 does execute about 10 times faster (so they say - i'm

Re: [Flashcoders] AAC Streaming in Flash Player

2008-03-12 Thread Mike Skinner
Hi, Steven, thanks for responding. (Do I remember you from the Direct- L list?): OK--I was just looking for any advice. I did try it and got nowhere. That is, I can verify that a .m4a from the local drive can be played via a NetConnection/NetStream... but it doesn't seem as if I *can*

RE: [Flashcoders] Passing vars with the the timer and events

2008-03-12 Thread Merrill, Jason
Haven't followed this thread, and don't even know what the original question is other than the thread title, but I'll just jump in and add, I don't think attaching variables to events is a good idea anymore, I used to do it in AS2 all the time with Delegate, but now with the new AS2 event model, I

Re: [Flashcoders] pixel-accurate _xmouse tracking?

2008-03-12 Thread Matt S.
I've done some tests in AS3, and the response is definitely better. Not pixel-accurate, as you all have noted, but definitely way more granular than in AS2... .m On Wed, Mar 12, 2008 at 4:42 PM, Allandt Bik-Elliott (Receptacle) [EMAIL PROTECTED] wrote: if you use updateAfterEvent() in your

Re: [Flashcoders] Passing vars with the the timer and events

2008-03-12 Thread Helmut Granda
Thanks Jason, That is how I approached in the end. I was just getting stuck while dispatching custom events from the extended Timer class. but I think all is solved now. On 3/12/08, Merrill, Jason [EMAIL PROTECTED] wrote: Haven't followed this thread, and don't even know what the original

Re: [Flashcoders] clean scripting

2008-03-12 Thread Muzak
MyClass.prototype.myArray = new Array(); That is indeed correct. It should be in the archives somewhere (if they go back that long). regards, Muzak - Original Message - From: Andy Herrman [EMAIL PROTECTED] To: Flash Coders List flashcoders@chattyfig.figleaf.com Sent: Wednesday,

[Flashcoders] Running Independent SWF

2008-03-12 Thread anuj sharma
Hi All I made a desktop application( in AS 3.0 using Flash IDE) in which I am loading bunch of SWFs in my UILoader. The file is working fine from Flash Authoring tool( IDE). I publish my file using local files only. Now when I am trying to run my independent SWF file, i am getting error Error

Re: [Flashcoders] Running Independent SWF

2008-03-12 Thread Bob Wohl
Is this from opening the swf or is this an air app? Does this behave this way when testing from embeding in an html document? B. On Wed, Mar 12, 2008 at 3:08 PM, anuj sharma [EMAIL PROTECTED] wrote: Hi All I made a desktop application( in AS 3.0 using Flash IDE) in which I am loading bunch

[Flashcoders] FOTB was GREAT....will you get OFFF ?!!

2008-03-12 Thread laurent
http://www.offf.ws/ so much speakers, we had sun bath and T-shirt in juanary...january, what else ? this perhaps http://roxik.com/pictaps/ Love you crazy people! LISBOA! ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com