[Flashcoders] Problem with passing URL to Twitter

2009-11-10 Thread Alexander Böhm
Hey there, I am trying to connect to Twitter out of my Flashapplication. The issue is, that the text comes with a lot of URL-Codes. I tried using escape() and encodeURI()... But it is obviously not working... The code is given below. I'd appreciate if anyone got any clue how to solve this

[Flashcoders] different frame rate loaded sfw from its parent

2009-11-10 Thread Davide Di Blasi
___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Re: [Flashcoders] different frame rate loaded sfw from its parent

2009-11-10 Thread Henrik Andersson
Davide Di Blasi wrote: ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders I think you forgot the message. ___ Flashcoders mailing list

[Flashcoders] slightly OT: Problems installing FP10

2009-11-10 Thread Mikael Wirén
Hi guys, One of our server techs came to me with a problem. HeÂŽs upgrading a laptop running Win XP SP3 and IE8. But everytime heÂŽs installing Flash Player 10 it chokes trying to register the software. ItÂŽs allways on a file called flashplayer10c.ocx Anyone with a hint to what the problem could

Re: [Flashcoders] different frame rate loaded sfw from its parent

2009-11-10 Thread Davide Di Blasi
Thanks Henrik, I didn't notice... Hello List, I was wondering if a loaded swf can have a different frame rate from its parent, as i have the main swf that runs at 30 fps and the animation i load that runs at 24 fps. Thanks in advance.

Re: [Flashcoders] different frame rate loaded sfw from its parent

2009-11-10 Thread Henrik Andersson
Davide Di Blasi wrote: Thanks Henrik, I didn't notice... Hello List, I was wondering if a loaded swf can have a different frame rate from its parent, as i have the main swf that runs at 30 fps and the animation i load that runs at 24 fps. Simple No. There is only one framerate in the player.

Re: [Flashcoders] different frame rate loaded sfw from its parent

2009-11-10 Thread Karl DeSaulniers
Yes. You can do it with code. Google multi frame rate in flash I know there is a code out there somewhere. I found it a while ago. Karl Sent from losPhone On Nov 10, 2009, at 4:05 AM, Davide Di Blasi davide.dibl...@kettydo.com wrote: Thanks Henrik, I didn't notice... Hello List, I was

Re: [Flashcoders] different frame rate loaded sfw from its parent

2009-11-10 Thread Henrik Andersson
Karl DeSaulniers wrote: Yes. You can do it with code. Google multi frame rate in flash I know there is a code out there somewhere. I found it a while ago. That would be more like a hack to move the playhead manually. That is not going to work out for things syncing to the real framerate,

RE: [Flashcoders] Placing sprites on the circumference of a circle

2009-11-10 Thread Merrill, Jason
Jason, yes, indeed you should be able to use Point.polar() it should of course give the same result as long you give the angle in radians ;) OK, so just curious, why all the trig? Converting angles to radians and vice versa is easy enough. Jason Merrill Bank of America Global Learning

[Flashcoders] URLRequest Unencoded Question

2009-11-10 Thread TS
Hello, Can someone help me with this. I need to send a url request with the spaces intact and not urlencoded. Is there a way to do this? var url:String = 'http://www.somesite.com/home?status=My Bikini Design ' + shortenedLink; var req:URLRequest = new URLRequest(url);

Re: [Flashcoders] URLRequest Unencoded Question

2009-11-10 Thread Henrik Andersson
TS wrote: Hello, Can someone help me with this. I need to send a url request with the spaces intact and not urlencoded. Is there a way to do this? No http client can do this, the http RFC requires the resource name to not contain any spaces. The encoding is required.

Re: [Flashcoders] how to create rss/data changes on server, how to process in AS3

2009-11-10 Thread Henrik Andersson
Andrew Sinning wrote: The data changes very quickly over time. Either move on to a Socket or a FMS connection, those allows for pushed content and not just pulled content. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com

[Flashcoders] how to create rss/data changes on server, how to process in AS3

2009-11-10 Thread Andrew Sinning
I'm working in Flash, not Flex. I have a php script that takes an incoming query from AS3 and returns the resulting data. The data changes very quickly over time. Currently the script returns _all_ of the available data. I then read in all of the refreshed data into AS3, compare each item

RE: [Flashcoders] URLRequest Unencoded Question

2009-11-10 Thread TS
Then why does this work when I put it in my url? http://twitter.com/home?status=My Bikini Design http://www.chynnadolls.com/ Which results in the proper status update in Twitter. There must be a way to do this as other client applications are updating twitter with spaces in their status?

Re: [Flashcoders] URLRequest Unencoded Question

2009-11-10 Thread Henrik Andersson
TS wrote: Then why does this work when I put it in my url? http://twitter.com/home?status=My Bikini Design http://www.chynnadolls.com/ If you by my url really mean Address bar in my browser, then it is because your webbrowser did the escaping for you.

Re: [Flashcoders] how to create rss/data changes on server, how to process in AS3

2009-11-10 Thread Glen Pike
If you are allowed to run PHP scripts which stay running, you can use a PHP socket server that handles the communications... If you google PHP socket server there are loads of examples around. Once you have the PHP script running, you can run your PHP commands and talk to MySQL db's. You

Re: [Flashcoders] how to create rss/data changes on server, how to process in AS3

2009-11-10 Thread Andrew Sinning
Hey Glen, I've used that very approach in the past, but we had some issues with firewalls using the allowed ports for the xml socket object. Using NetConnection and a SharedObject object with Red5 allows us to use http-tunneling as a fall-back. Hmm. Maybe I could get php running on the

[Flashcoders] Capturing TextEvent from image in textfield

2009-11-10 Thread Mattheis, Erik (MIN - WSW)
How do I send an event from a click on an image in a textfield? Clicking on the actual text fires the event, but it doesn't fire when clicking on an image from the library placed inline: pageText.displayValue.htmlText = 'pa href=event:a1bimg src=plus /Our world-class scientists/b/a/p';

Re: [Flashcoders] Capturing TextEvent from image in textfield

2009-11-10 Thread Karl DeSaulniers
Try pageText.displayValue.htmlText = 'pa href=' + event:a1 + 'img src=' + plus + ' /bOur world-class scientists/b/a/p'; I think it was reading your URLs as strings of text instead of variables holding the URLs. Not positive though. J.A.T. Karl Sent from losPhone On Nov 10, 2009, at

Re: [Flashcoders] Capturing TextEvent from image in textfield

2009-11-10 Thread Gerry
http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/text/TextField.html#event:link On Nov 10, 2009, at 7:47 PM, Mattheis, Erik (MIN - WSW) wrote: How do I send an event from a click on an image in a textfield? Clicking on the actual text fires the event, but it doesn't fire when

RE: [Flashcoders] Capturing TextEvent from image in textfield

2009-11-10 Thread Mattheis, Erik (MIN - WSW)
Karl, Gerry - Thanks, I just tried the code I posted below at home and it works as expected. I must have done something funky elsewhere in the code with the version at work: when I click on Our world-class scientists, the event fires, when I click on the movieclip in the textfield it doesn't.