Re: [Flashcoders] googletalk/xmpp/flash

2006-06-16 Thread Rajat Paharia
Myles - I looked when Google Talk first came out and discovered that it was impossible without a proxy (Java applet on the client, or an intermediary server) because of the TLS authentication that Google Talk required (and that Flash doesn't support):

Re: [Flashcoders] FileReference and Getting File Path

2006-06-16 Thread David Rorex
You'd get a preview without uploading, by accessing the file directly from the user's harddrive. However, this is not supported for security reasons. Basically, the answer is NO, with standard flash, you cannot read files from the user's harddrive without uploading them to the server first and

Re: [Flashcoders] .swf's containing html's location

2006-06-16 Thread Aaron Buchanan
Bump for any ideas? On 6/14/06 9:44 PM, Aaron Buchanan [EMAIL PROTECTED] wrote: After I asked, I found a bunch of people mentioning this bug. Sorry for bein lazy.. According to some livedocs post, we cannot rely on this event because: The problem is that the MovieClipLoader.onLoadError

Re: [Flashcoders] Sharing fla over network

2006-06-16 Thread Kurt Dommermuth
Thank you everyone for all your thoughts! Still the best list! Kurt At 02:51 PM 6/15/2006, you wrote: Add Eclipse as an IDE and move to MTASC (FAME ). That is still the best way to go. Ron jim wrote: If you can use some source control like SVN that might be what you are looking for. Its

[Flashcoders] Calculate Color on a Gradient Given a Percentage

2006-06-16 Thread Jeff Mastropietro
I'm looking for a function that would return a hex color given 2 end points of a color gradient and a percentage. My idea is to color code search results based on a calculation. This calculation would be different than the calculation used to sort the results. Possible function: function

Re: [Flashcoders] Accepting 1 parameter with 2 possible types inamethod?

2006-06-16 Thread Adrian Park
Thanks everyone - this has helped me out a lot and I've learnt a few new things through the discussion as well. Adrian On 6/15/06, Derek Vadneau [EMAIL PROTECTED] wrote: It depends on how you are using it. Object is NOT the same as untyped. Try this code: var a:Array = new Array();

Re: [Flashcoders] question SO class

2006-06-16 Thread Caruso Canepari
Scott Hyndman [EMAIL PROTECTED] ha scritto: Just out of interest, what benefit exactly does this class provide? You seem to offer the same methods that the shared object does with different names (although the names are clearer, I'll give you that). Scott Hi Scott. By putting all the

Re: [Flashcoders] question SO class

2006-06-16 Thread Michael Stuhr
Scott Hyndman schrieb: Just out of interest, what benefit exactly does this class provide? You seem to offer the same methods that the shared object does with different names (although the names are clearer, I'll give you that). except for that setData() i would have expected saveCookie() or

[OT] was: [Flashcoders] Eolas fix and backspace key flash bug

2006-06-16 Thread Michael Stuhr
while this silly thread is still alive: i just wanted to inform you about two mails i got directly from members and non members from this list. i am quoting the mails here cause i thought since i got them because i posted to this list, the list should get this part of the thread too: first

Re: [Flashcoders] Java's wait(timeout) and notify() in ActionScript

2006-06-16 Thread Michael Stuhr
Scott Hyndman schrieb: Yeah, sure. Use setInterval. If the user interacts before the time expires, call clearInterval. jupp, and beware of the scope. this can be deadly with setInterval. micha ___ Flashcoders@chattyfig.figleaf.com To change your

Re: [Flashcoders] Java's wait(timeout) and notify() in ActionScript

2006-06-16 Thread Arul Prasad M L
use mx.utils.Delegate class to solve the scope problem. simple! On 6/16/06, Michael Stuhr [EMAIL PROTECTED] wrote: Scott Hyndman schrieb: Yeah, sure. Use setInterval. If the user interacts before the time expires, call clearInterval. jupp, and beware of the scope. this can be deadly with

RE: [Flashcoders] Calculate Color on a Gradient Given a Percentage

2006-06-16 Thread Tor.Kristensen
Hi Jeff, Here's a class that will generate an array for N elements that blends between two RGB values. Example: import org.bespoke.color.ColorBlend; var myBlender:ColorBlend=new ColorBlend(0xFF,0x00FF00); //to get the RGBN value at 46% between the two... var

[Flashcoders] Select combobox item by data value

2006-06-16 Thread mikeb
Hello everyone. I am trying to select an item in a combobox component based on its data value. I found this solution (which works) but I have multiple comboboxes placed in many different spots in my movie that need this same functionality. Can anyone suggest a way to reuse this for multiple

Re: [Flashcoders] googletalk/xmpp/flash

2006-06-16 Thread Ryan Matsikas
Also, you won't be able to build a pure flash google talk client.. as google talk requires encryption for login and message sending etc. Maybe in AS3? The gtalkr app ran through a service (python?) on there webserver to handle this. Flash - middle-ware server - google jabber server On

[Flashcoders] RE: ExternalInterface. How to get called from flash in xml flavor?

2006-06-16 Thread Pedro Ruiz de Valdivia Molina
Hi people, Finally I've got the answer to my question: It seems that there is not a feasible way to achieve that Flash Player (Netscape Plug-in) calls into its wrapper using the XML pattern that uses its brother (ActiveX Flash Player). Thus, the solution is to interpret the chunk of

Re: [Flashcoders] question SO class

2006-06-16 Thread Caruso Canepari
Michael Stuhr [EMAIL PROTECTED] wrote: never tried but you could also use: http://www.meychi.com/source/actionscript/classes/Cookie.as Hi, thanks for replying. Being desperately ignorant, I could be wrong but here meychi code: public function save(object):Void {

RE: [Flashcoders] googletalk/xmpp/flash

2006-06-16 Thread Bieniasz, Myles
I built a small test app just to try and login to the service and that explains why I get a request for an encrypted x-google-token. Thanks for your help guys. If anyone has anymore insight on this, or any flash based xmpp communication apps I would love to discuss/learn. -Original

Re: [Flashcoders] googletalk/xmpp/flash

2006-06-16 Thread Serge
It will be possible in AS3, flash player 9 -- it supports binary Xml Socket ! (now Xml socket cuts first byte) It will not be easy to support TLS, but it is possible Serge - Original Message - From: Rajat Paharia [EMAIL PROTECTED] To: Flashcoders mailing list

Re: [Flashcoders] Java's wait(timeout) and notify() in ActionScript

2006-06-16 Thread Scott Hyndman
You could, but setInterval has an optional scope argument. I'd just use that. Scott On 16/06/06, Arul Prasad M L [EMAIL PROTECTED] wrote: use mx.utils.Delegate class to solve the scope problem. simple! On 6/16/06, Michael Stuhr [EMAIL PROTECTED] wrote: Scott Hyndman schrieb: Yeah, sure.

Re: [Flashcoders] width of a component in livePreview

2006-06-16 Thread Arul Prasad M L
if you are extending the V2 component architecture, dont use the _width and _height properties; use 'width' and 'height' instead. ~Arul Prasad On 6/16/06, John laPlante [EMAIL PROTECTED] wrote: I have a component that doesn't size properly in livePreview. When I reference the width and

Re: [Flashcoders] question SO class

2006-06-16 Thread John Grden
I use this SO class ;) http://mirror1.cvsdude.com/trac/osflash/xray/browser/DEV_Source/xray/classes/com/blitzagency/util/LSOUserPreferences.as Usage: LSOUserPreferences.load(nameOfSO); LSOUserPreferences.setPreference(propertyName:String, value, persistent:Boolean);

RE: [Flashcoders] Select combobox item by data value

2006-06-16 Thread Sean Sanders
I had a similar issue. In my project, the CB had values ranging from 1-27, and the objects on stage had corresponding identifiers. So this solution worked: //CODE //- //let's say my objects are identified as item1, item2, item3... var cbListener:Object =

Re: [Flashcoders] The Delegate class ...

2006-06-16 Thread John Giotta
I practically live by Delegate EventDispatcher ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier

[Flashcoders] Can't update text in rotated text field

2006-06-16 Thread Burns, John D
I have a text field in a movie clip that I have rotate 90 degrees. I have some default text in there and I am having trouble updating that text field. Anytime I use actionscript to change the value of the text, the box goes blank. However, I added some trace statements and the text field does

Re: [Flashcoders] Can't update text in rotated text field

2006-06-16 Thread Doug Tangren
Try to use a font symbol. Open up your library and in the top right corner choose to create new font symbol choose the font you want to use and click okay. Now right click on that font symbol in your library and click the linkage option. Check the export of actionscript checkbox. and

RE: [Flashcoders] Can't update text in rotated text field

2006-06-16 Thread Burns, John D
I just tried that and still no luck. I made a font symbol and set that as the text for the field I'm updating and then set that field to embed fonts. Still the same problems as before. Any other ideas? This is driving me nuts! John Burns Certified Advanced ColdFusion MX Developer Wyle

[Flashcoders] is extending TextField usable with AS2?

2006-06-16 Thread Peter O'Brien
title says it all really, I'd prefer not to use prototype, is there anyway I can make an instance of my AS2 extension of TextField? ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

RE: [Flashcoders] Can't update text in rotated text field

2006-06-16 Thread Steven Sacks
Did you try making a new Flash file and trying it in there? ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software

Re: [Flashcoders] is extending TextField usable with AS2?

2006-06-16 Thread Scott Hyndman
I'm not sure it's easily extensible...because how would you go about creating a textfield subclass? You're better off wrapping it in an MC and assigning a custom class to that. Scott On 16/06/06, Michael Stuhr [EMAIL PROTECTED] wrote: Peter O'Brien schrieb: title says it all really, I'd

RE: [Flashcoders] Can't update text in rotated text field

2006-06-16 Thread Burns, John D
Yep. I just posted about that. I have a flash file that I started from scratch with the bare bones and I still can't get it to work. I can send it to anyone who may be interested in seeing if you can get it to work. Also, maybe this will make things easier. What I'm trying to do is print a

RE: [Flashcoders] is extending TextField usable with AS2?

2006-06-16 Thread Merrill, Jason
Peter O'Brien schrieb: title says it all really, I'd prefer not to use prototype, is there anyway I can make an instance of my AS2 extension of TextField? RTFM where it says all about classes. micha Come on now micha, play nice. It's not like the manual has a section in classes about

RE: [Flashcoders] is extending TextField usable with AS2?

2006-06-16 Thread Steven Sacks
If you give a damn about performance, just use prototype, or manually extend every textfield in the clip with a for loop, especially if you have a bunch of textfields on a screen (like a form). If you want to manually extend, be pragmatic and do what I do. Name all your textfields with TXT_ or

RE: [Flashcoders] Can't update text in rotated text field

2006-06-16 Thread Steven Sacks
Why don't you just rotate the entire movieclip instead of the textfield? Works for me. Here's the script for always printing landscape with PrintJob: function printCertificate() { var mc = MC_Certificate; var realW = mc._width; var realH = mc._height; _pj = new

RE: [Flashcoders] Can't update text in rotated text field

2006-06-16 Thread Steven Sacks
Oh, and the reason setting orientation to landscape doesn't work is because orientation is read-only. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

Re: [Flashcoders] Java's wait(timeout) and notify() in ActionScript

2006-06-16 Thread Andy Makely
On 6/15/06, Scott Hyndman [EMAIL PROTECTED] wrote: Yeah, sure. Use setInterval. If the user interacts before the time expires, call clearInterval. Scott Be sure to also clear that interval in the function called upon timeout, or it will keep firing repeatedly. SetInterval not only waits

[Flashcoders] Please ignore - test

2006-06-16 Thread Steven Sacks
test ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training

Re: [Flashcoders] is extending TextField usable with AS2?

2006-06-16 Thread Michael Stuhr
Merrill, Jason schrieb: Peter O'Brien schrieb: title says it all really, I'd prefer not to use prototype, is there anyway I can make an instance of my AS2 extension of TextField? RTFM where it says all about classes. micha Come on now micha, play nice. It's not like the manual has a

Re: [Flashcoders] is extending TextField usable with AS2?

2006-06-16 Thread ryanm
RTFM where it says all about classes. You're taking this attitude farther than is useful. TextField is *not* simply a class like any other, it cannot be instantiated without a call to a specific constructor function that is not even in the TextField class itself. This was not a post that

RE: [Flashcoders] is extending TextField usable with AS2?

2006-06-16 Thread Merrill, Jason
You cannot extend the TextField class or static classes (from: http://livedocs.macromedia.com/flash/8/main/1359.html) took me 1 minute to find. Micha, so then if you can't extend it, why wouldn't you just SAY that instead of telling him to read up on classes in TFM. The statement, RTFM

[Flashcoders] Flash slide presentations

2006-06-16 Thread Jay Pozo
Hi, was wondering if anyone knew of a script or any other way to publish slide presentations from Flash 8 that would also display thumbnails so the presenter could quickly choose a slide and go to it. Much faster than starting at the beginning and clicking through each previous one. I suppose

RE: [Flashcoders] Can't update text in rotated text field

2006-06-16 Thread Burns, John D
That makes sense. I can't believe I missed that. I have tried rotating the movie clip but I get the same problem where the text goes blank. John Burns Certified Advanced ColdFusion MX Developer Wyle Laboratories, Inc. | Web Developer -Original Message- From: [EMAIL PROTECTED]

[Flashcoders] controling MC issue

2006-06-16 Thread David Brunswick
Hello List, I have created a 3d animation in swift and brought that swf into my library then I create a new MC and drop that swift.swf into it then within the swft.swf in the last frame I add a _level0.gotoAndStop(my frame label); Great it moves onto that frame label although does not stop and

[OT] was: [Flashcoders] is extending TextField usable with AS2?

2006-06-16 Thread Michael Stuhr
Merrill, Jason schrieb: You cannot extend the TextField class or static classes (from: http://livedocs.macromedia.com/flash/8/main/1359.html) took me 1 minute to find. Micha, so then if you can't extend it, why wouldn't you just SAY that instead of telling him to read up on classes in

Re: [Flashcoders] is extending TextField usable with AS2?

2006-06-16 Thread Tyler Wright
it would seem manuals are written by people. People can be wrong, and are in this case. TextFields, MovieClips and Buttons are all AS classes that can be extended. Each class ships with set of methods and properties that are present in the subclass. However, most of those props/methods will only

RE: [Flashcoders] controling MC issue

2006-06-16 Thread Sean Sanders
It sounds like the movie you're trying to stop isn't located on _level0. is there a reference for it such as _level0.mySwift.gotoAndStop(myLabel); ? -Sean -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of David Brunswick Sent: Friday, June 16, 2006 2:30 PM

RE: [Flashcoders] Can't update text in rotated text field

2006-06-16 Thread dave matthews
hi Steve, This is an old bug left over from Flash 4 (and FlashLite now). It's related to instances of objects no longer responding to coded tweens after those same objects are dragged n dropped by the end user. It is also related to non-embedded text fields not showing up when behind a

[Flashcoders] Composition problems

2006-06-16 Thread Mendelsohn, Michael
Hi list... I'm trying to figure out what I'm missing in trying to instance a class via composition: I have 2 external classes: questions and puzzle. class questions { public var qa:Object = new Object(); function questions() { qa[0] = new Object();

RE: [Flashcoders] Composition problems

2006-06-16 Thread Merrill, Jason
Given the way you wote the questions class, then: //file: puzzle.as import questions; class Puzzle { private var QA:questions; function Puzzle() { QA = new questions(); trace(QA.qa[0][q]) } } Jason Merrill Bank of America Learning

RE: [Flashcoders] Composition problems

2006-06-16 Thread Merrill, Jason
Another things, a lot of people also capitalize class names, but that's personal preference. And if you aren't already, would recommend you organize your classes into packages - will get real messy real quick if you don't. Jason Merrill Bank of America Learning Technology Solutions

RE: [Flashcoders] Composition problems

2006-06-16 Thread Mendelsohn, Michael
Thanks Jason. I figured it out. I was getting tripped up by the fact that how I was doing it was only returning functions, not properties. In my fixed puzzle class: private function defineQuestions():Void { // create the question and answer data object...

RE: [Flashcoders] Composition problems

2006-06-16 Thread Merrill, Jason
Actually, using a Getter() method is often preferable too - just depends on how you want to do it. I will say, I would keep your Questions class as a generic Model class - as abstract as possible - and keep the questions external - say in XML or a webservice of some kind- and pass the data to the

[Flashcoders] xml question

2006-06-16 Thread Flash guru
First off thanks to anyone who responds I have this interactive peice that uses xml file that need to be edited in an admin atmoshpere. My question is: Can flash produce xml files? What would be the best way to produce xml files on the fly, if flash can't produce xml files? Lastly I can't use

RE: [Flashcoders] xml question

2006-06-16 Thread Merrill, Jason
If you can't use PHP, can you use anything else like ASP or Coldfusion? You'll need something like that to produce them. The Flash player, for security reasons, can't create XML files by itself on the server. You have to use something else along with Flash. This is also true of HTML - same

Re: [Flashcoders] xml question

2006-06-16 Thread Flash guru
I'm restricted to asp, but I'm a php native that is blind to the ways of asp On 6/16/06, Merrill, Jason [EMAIL PROTECTED] wrote: If you can't use PHP, can you use anything else like ASP or Coldfusion? You'll need something like that to produce them. The Flash player, for security reasons,

RE: [Flashcoders] xml question

2006-06-16 Thread Merrill, Jason
You'll have to do it with .ASP then. I'm not up on ASP myself, I have a .NET developer who can do that for me, but you can use .NET to write out XML files. Better yet, store in a database, use Webservices to access the data directly. Jason Merrill Bank of America Learning Technology Solutions

[Flashcoders] unsuscribe

2006-06-16 Thread AML
___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training

RE: [Flashcoders] unsuscribe

2006-06-16 Thread Bernard Visscher
To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders And BTW it's UNSUBSCRIBE not UNSUSCRIBE ;) -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Namens AML Verzonden: vrijdag 16 juni 2006 23:44 Aan:

RE: [Flashcoders] Composition problems

2006-06-16 Thread Bernard Visscher
Another things, a lot of people also capitalize class names, but that's personal preference. And if you aren't already, would recommend you organize your classes into packages - will get real messy real quick if you don't. And if you do create packages as Jason proposed.. My personal

RE: [Flashcoders] Can't update text in rotated text field

2006-06-16 Thread Steven Sacks
My code for printing landscape works in five different applications I have used it in. The author of the PrintJob class made some poor choices when coding it and you have to code around it. Here is my method explained with comments: function printCertificate() { // reference to the

[Flashcoders] flashcoders google search

2006-06-16 Thread Muzak
Put together a little Flash app that will search the FlashCoders archive, through Google: http://muzakdeezign.com/flashcoders/ Uses the Google SOAP Search API http://www.google.com/apis/index.html You can add your search as a querystring, for example:

Re: [Flashcoders] flashcoders google search

2006-06-16 Thread Aaron Buchanan
Very cool, thx muzak! One next step could be to write a lil firefox quicksearch plugin. Cheers! On 6/16/06 8:16 PM, Muzak [EMAIL PROTECTED] wrote: Put together a little Flash app that will search the FlashCoders archive, through Google: http://muzakdeezign.com/flashcoders/ Uses the Google

Re: [Flashcoders] flashcoders google search

2006-06-16 Thread Steve Rachels
That is one fine app. Thanks. Muzak wrote: Put together a little Flash app that will search the FlashCoders archive, through Google: http://muzakdeezign.com/flashcoders/ Uses the Google SOAP Search API http://www.google.com/apis/index.html You can add your search as a querystring, for