Re: [Flashcoders] fms application class

2007-08-09 Thread Dennis - I Sioux
Hey, The client is not really an instance of the connection, but a representation of the client connected (an id in form of an obj).. Because FMS wouldn't want any client to call any function. for security reasons (otherwise you could never build anything secure on it), clients can only Call

Re: [Flashcoders] connect to fms using as3

2007-08-09 Thread Brian Lesser
Hi, I did a short tutorial on some basics of connecting Flex 2/FMS: http://flash-communications.net/technotes/fms2/flex2FMS/index.html To set the encoding: NetConnection.defaultObjectEncoding = flash.net.ObjectEncoding.AMF0; Yours truly, -Brian [p e r c e p t i c o n] wrote: hello

Re[2]: [Flashcoders] Prevent flash from caching the loaded assets

2007-08-09 Thread R�kos Attila
Base64 is superfluous here, since you can load raw binary data - see URLLoader.dataFormat. Attila =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= From:Muzak [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com flashcoders@chattyfig.figleaf.com Date:

Re: [Flashcoders] Dang IE...

2007-08-09 Thread Marcelo Volmaro
It's a problem with External Interface under IE. Check http://www.extremefx.com.ar/blog/fixing-flash-external-interface-inside-form-on-internet-explorer Regards, On Wed, 08 Aug 2007 20:44:36 -0300, Dave Mennenoh [EMAIL PROTECTED] wrote: Anyone seen this? In IE I am getting this error:

[Flashcoders] Re: AS3/Flex: F8 swf / flv Performance Issues

2007-08-09 Thread Jer Brand
Uploaded a sample to http://aut0poietic.us/index.html. I should mention that this is happening in IE and FF. Test computer spec is a AMD 64 X2 3400+ / 2G Ram. Has anyone else seen this? On 8/8/07, Jer Brand [EMAIL PROTECTED] wrote: Noob at Flex: Been toying with converting a project over

Re[2]: [Flashcoders] Fuse is adding up instead of tweening the difference

2007-08-09 Thread R�kos Attila
Values obtained from XML attributes are always strings, but the compiler doesn't know about that, since XMLNode.attributes is a simple Object, hence no type hinting available (there is no such problem with XMLNode.nodeValue, since it is declared as String). MdMS I assign it to a variable of type

Re: [Flashcoders] Dynamically setting properties...

2007-08-09 Thread Ron Wheeler
I would think that the trace on a_sprite would be more interesting. I am not sure what a_sprite[i] = obj[i]; is actually supposed to do. The code extract does not show how a_sprite[i] comes into existence or what a_sprite[i] is. To my untrained eye it looks like you are creating an array of

Re: Re[2]: [Flashcoders] Prevent flash from caching the loaded assets

2007-08-09 Thread Muzak
You can't send raw binary data over http, it has to be Base64 encoded. This part is required in the Coldfusion page: cfset img64 = toBase64(imgBinary) / cfoutput#img64#/cfoutput Coldfusion throws an error when using the following: cfsetting enablecfoutputonly=yes showdebugoutput=no cfset

Re[4]: [Flashcoders] Prevent flash from caching the loaded assets

2007-08-09 Thread R�kos Attila
I don't know what Coldfusion can do or cannot do (I'm not familiar with it), but HTTP _is_ capable for sending binary data without any encodings. So if you cannot send binary data from Coldfusion then it is a limitation in Coldfusion itself and not in HTTP. However if you are using base64 here

Re: [Flashcoders] Dang IE...

2007-08-09 Thread Dave Mennenoh
It's a problem with External Interface under IE. Actually it was not. ExternalInterface works fine... It was a problem with SWFObject - in that I had the name of the object's ID set to that of the div. IE didn't like that I guess. All fixed now, but thanks. Dave - Head Developer

Re: [Flashcoders] Re: AS3/Flex: F8 swf / flv Performance Issues

2007-08-09 Thread Troy Rollins
On Aug 9, 2007, at 8:41 AM, Jer Brand wrote: Uploaded a sample to http://aut0poietic.us/index.html. I should mention that this is happening in IE and FF. Test computer spec is a AMD 64 X2 3400+ / 2G Ram. Has anyone else seen this? Take heart - on my Mac G5x4 it is only using about 15%.

[Flashcoders] Drop Area Text Field

2007-08-09 Thread Vivek Gaikwad
Hi, I am trying to create a drag drop activity, wherein there will be 4 options provided which we need to drag n drop on to the _ in the question. eg: Q1. The addition of 4 and 5 is __. a. 10 b. 3 c. 9 d. 7 All the options will be different movieclips. The question is a dynamic text

[Flashcoders] doLater woes

2007-08-09 Thread Mendelsohn, Michael
Hi list... I can't get a doLater working for a V2 ComboBox in a movieclip attached to the stage (_root.mc.cb). I want the doLater to call a function that lives in a subclass that's been instanced by my singleton. i.e.: _root.mc.cb.doLater(_root.singleton.subclass, someFunction) The help says:

RE: [Flashcoders] Dang IE...

2007-08-09 Thread David Ngo
ID's for HTML DOM objects should always be unique. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dave Mennenoh Sent: Thursday, August 09, 2007 10:05 AM To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] Dang IE... It's a problem with

RE: [Flashcoders] Prevent flash from caching the loaded assets

2007-08-09 Thread Niels Endlich
Just saw this solutions. This is what I need. No caching on the client. We try to implement this solution in our project. I'll let you know if works also with PHP. -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens Muzak Verzonden: donderdag 9 augustus

[Flashcoders] Using Flex Library SWC in Flash CS3

2007-08-09 Thread Derek Vadneau
Someone asked this in the Flexcoders list without response for quite a while, so maybe this is a better place to ask this question, since it involves Flash. Is it possible to use an SWC created in Flex 2 in Flash CS3? The SWC is a Flex Library project that contains no Flex framework-specific

[Flashcoders] Finding a spot on a curveTo Line

2007-08-09 Thread eric e. dolecki
Quick question... I have a curveTo between points, but I'd like to get the x,y 1/2 way through the curve, ON the curve. Googling for some code but haven't seen it yet... I basically want to join another line to the midpoint of the curve, and the curve is dynamically moving throughout - eric

RE: [Flashcoders] Finding a spot on a curveTo Line

2007-08-09 Thread Frank Pepermans
This should do it : public function getPositionOnCurve(p1:Point, p2:Point, p3:Point, t:Number):Point { var pos:Point = new Point(); pos.x = Math.pow((1-t), 2)*p1.x+2*t*(1-t)*p2.x+Math.pow(t, 2)*p3.x; pos.y = Math.pow((1-t),

Re: [Flashcoders] Finding a spot on a curveTo Line

2007-08-09 Thread Zeh Fernando
Quick question... I have a curveTo between points, but I'd like to get the x,y 1/2 way through the curve, ON the curve. Googling for some code but haven't seen it yet... I basically want to join another line to the midpoint of the curve, and the curve is dynamically moving throughout A quick

[Flashcoders] ActiveContent is not enforcing minimum Flash version

2007-08-09 Thread Marc Hoffman
I have published html with the active content template, to require Player version 8 and above. But users with lower versions are still getting into the site, resulting in some critical elements (notably, my navigation menu) being broken. The site is: http://www.newellcoach.com/flash.html Is

Re: [Flashcoders] Finding a spot on a curveTo Line

2007-08-09 Thread eric e. dolecki
you guys rock - i'll implement this soon™ and report back. doesn't matter which way the curve is i imagine (convex/concave) On 8/9/07, Zeh Fernando [EMAIL PROTECTED] wrote: Quick question... I have a curveTo between points, but I'd like to get the x,y 1/2 way through the curve, ON the

Re: [Flashcoders] ActiveContent is not enforcing minimum Flash version

2007-08-09 Thread Marc Hoffman
For some reason, my code was stripped out from the message I just posted. Trying once more to include it, but if you cannot see it please view it at the URL below. Thanks --Marc At 08:49 AM 8/9/2007, Marc Hoffman wrote: I have published html with the active content template, to require

Re: [Flashcoders] Dang IE...

2007-08-09 Thread Paul Andrews
Nice job, BTW. Paul - Original Message - From: Dave Mennenoh [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Thursday, August 09, 2007 3:04 PM Subject: Re: [Flashcoders] Dang IE... It's a problem with External Interface under IE. Actually it was not.

Re: [Flashcoders] connect to fms using as3

2007-08-09 Thread [p e r c e p t i c o n]
Hi Brian, Thanks so much for this...ironically enough eventually i found your link! best p On 8/9/07, Brian Lesser [EMAIL PROTECTED] wrote: Hi, I did a short tutorial on some basics of connecting Flex 2/FMS: http://flash-communications.net/technotes/fms2/flex2FMS/index.html To set the

RE: [Flashcoders] Drop Area Text Field

2007-08-09 Thread Hairy Dog Digital
Hi Veiky, Not to long ago (days?) -- on this list or FlashNewbie -- someone posted a link to http://blog.greensock.com. There is a TextMetrics class that looks like it will be of great use in creating your droptarget for your exercise. Essentially, you want to create an empty movie clip to the

Re: [Flashcoders] Finding a spot on a curveTo Line

2007-08-09 Thread eric e. dolecki
works like a charm. if the curve moves really fast, there is some lag in getting a line to connect to a point on the curve, but its not too bad On 8/9/07, eric e. dolecki [EMAIL PROTECTED] wrote: you guys rock - i'll implement this soon™ and report back. doesn't matter which way the curve is

[Flashcoders] more fms n00b questions

2007-08-09 Thread [p e r c e p t i c o n]
hello again, I'm trying to obtain the results of a db query on a remote server using fms. to achieve this I make the net connection call a method in Main.ascthat does the remoting. All of this works well except the asynchronous part of returning the results to the client (client-side swf)...can

[Flashcoders] OT Job Post: Flash Developer

2007-08-09 Thread Travis Rimel
Hey all- just wanted to put this up here, pardon the noise- I haven't been on flashcoders for a while, but back since I first started using ACK and FLEM this community has been a valuable resource to me and would love to convince one of you to come down to balmy Texas... Here is the propaganda

Re: [Flashcoders] more fms n00b questions

2007-08-09 Thread Brian Lesser
Not sure this is what you are looking for but if the data must be shared across clients some people write it into a shared object that all clients subscribe to - one slot per record. Whenever the shared object is updated all subscribed clients automatically see the changes. Updating the

Re: [Flashcoders] more fms n00b questions

2007-08-09 Thread [p e r c e p t i c o n]
Hi Brian, thanks, i have one question regarding shared objects...this may be a dumb question, but i overheard someone say that shared objects are treated as streams...is this correct? thanks b On 8/9/07, Brian Lesser [EMAIL PROTECTED] wrote: Not sure this is what you are looking for but if

[Flashcoders] Flash font/text super-bright issue

2007-08-09 Thread Radley Marx
Hi all, From time to time, a dynamic TextField will appear extremely bright and/or bold, as if the TextField is doubled up or overlapping itself. Is anyone familiar with this issue? Any solutions? Thnx! -radley ___ Flashcoders@chattyfig.figleaf.com

Re: [Flashcoders] localization opportunity.

2007-08-09 Thread Van Tuck
Listers: My company has an encroaching deadline for a project, (beginning of next week basically). They need someone to come in, (Friday / weekend), and setup the xml config so that all the text / some imagery can be loaded into the site and later be transcribed for other languages.

Re: [Flashcoders] more fms n00b questions

2007-08-09 Thread [p e r c e p t i c o n]
That's fine, but my service provider only allows so many simultaneous streams...i'm trying to find out if this will factor into that number thanks p On 8/9/07, Brian Lesser [EMAIL PROTECTED] wrote: Hi, From a developer's perspective they are not streams and are not really treated like

Re: [Flashcoders] more fms n00b questions

2007-08-09 Thread Brian Lesser
Hi, From a developer's perspective they are not streams and are not really treated like streams - except that both shared objects and streams have a send() method you can use to broadcast a message to other clients. I'm told that internally SharedObjects are implemented using two streams -

Re: [Flashcoders] Re: AS3/Flex: F8 swf / flv Performance Issues

2007-08-09 Thread Jer Brand
Updating: Importing the flv using the VideoDisplay component cut the CPU utilization down to 50-60% while looping. Moving to release had no effect. I'm feeling that's still too high for a non-functional piece -- its just pretty, damn it. My testing showed the thing running at ~50% until the

Re: [Flashcoders] more fms n00b questions

2007-08-09 Thread Brian Lesser
Really? On streams? Not on simultaneous connections? -B [p e r c e p t i c o n] wrote: That's fine, but my service provider only allows so many simultaneous streams...i'm trying to find out if this will factor into that number thanks p On 8/9/07, Brian Lesser [EMAIL PROTECTED] wrote:

Re: [Flashcoders] more fms n00b questions

2007-08-09 Thread [p e r c e p t i c o n]
figured this one out myself...subclassed NetConnection and made it dynamic...seems to work... thanks so much for setting me straight p On 8/9/07, [p e r c e p t i c o n] [EMAIL PROTECTED] wrote: i'm going to double-check, but i think so ... ok...this is my last