RE: [Flashcoders] special characters

2005-11-13 Thread Gregory_GOusable
Enrico, I tried what you've described - indeed! you wrote: How can I write the '' char, inside an html dynamic textfield? In fact, writing char isn't a problem, but loading it from text file is: it's either recognized as tag or (if you use lt; etc) another variable. But if you try create a local

Re: [Flashcoders] hot spots for buttons / video alpha channels

2005-11-13 Thread Ian Thomas
On 11/13/05, Millie Niss [EMAIL PROTECTED] wrote: (this seems to happen frequently when the button cinsists of say, a rectangle on one layer, with a text on a layer above it. Often, you use a button like this and discover that the text isn't clickable, and the only hot area is the part of

RE: [Flashcoders] UIScrollbar bug?

2005-11-13 Thread Paul Steven
On further investigation it looks like the UIScrollbar component does not work if there is any element from a shared library on screen. I have created a simple test file (mx2004) to illustrate this. http://www.mediakitchen.co.uk/scrollbar.zip I would really appreciate some advice on this as I

RE: [Flashcoders] ScrollPane weirdness

2005-11-13 Thread Steven Sacks
Assuming this is the swf/clip you loaded into the scrollpane: After it is finished loading, have the swf call the following: this._parent.setScrollProperties(this._width, 1, this._height, 1); Hope this works for you. -Steven -Original Message- From: [EMAIL PROTECTED]

Re: [Flashcoders] special characters

2005-11-13 Thread MetaArt
Well, the question is that the (.txt) files are done by unskilled users, using a simple appl to apply some basic features to chars (like bold, italic, underlined), so I must use simple text files. But, at last, maybe the string manipulation option is the only way... thank you for suggestion.

RE: [Flashcoders] Flipbook in AS2

2005-11-13 Thread Stephen Hueners
Thnkx for the offer...i think http://www.flippingbook.com/ is going to work just fine for me...I'm needing a full page turn and need the turn event fired from AS. appreciated -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Michael Klishin Sent: Saturday,

Re: [Flashcoders] special characters

2005-11-13 Thread Ian Thomas
In which case the onData option might be your best bet. The text files can then be whatever you like - it's up to you to process them in whatever way you wish. Basically by providing your own LoadVars.onData() function, you completely replace Flash's default processing of text files - you are

Re: [Flashcoders] dispatching events from a class

2005-11-13 Thread Ian Thomas
Hi Javier, This is because you've got things happening in the wrong order: - You create your EventTry() object, which calls init() - Init fires the event, but onEvent is still undefined - Init then calls die() - Die() deletes the EventTry object - You then set onEvent to your function - after

Re: [Flashcoders] dispatching events from a class

2005-11-13 Thread Muzak
The whole deal with event dispatching is that you listen for certain event to take place from the outside, not from the inside. The way you have it now, you're not really making use of event dispatching (well only in an weird way), but it's more like adding (overriding) a method of the class.

Re: [Flashcoders] dispatching events from a class

2005-11-13 Thread Javier Tello
Still doesn't work. If you look at the code the class fired the event before deleting itself. Anyway I simplify it without the die() method: // import mx.events.EventDispatcher; // // class EventTry { // //members; //event functions; private var

Re: [Flashcoders] dispatching events from a class

2005-11-13 Thread Martin Wood
that still wont work because you are dispatching the event before you bind the function as the handler. what are you trying to achieve (apart from getting the event to fire), i know this is just an example, but it seems a bit strange. anyway, you cant call init in the constructor to dispatch

Re: [Flashcoders] dispatching events from a class

2005-11-13 Thread Javier Tello
Yes!! Thanks a lot Martin, in the way you explain it, works. I didn´t notice it before because in real coding perhaps doesn't have such issue. But it's something to remember. _ that still wont work because you are dispatching the event before you bind the function as the

Re: [Flashcoders] dispatching events from a class

2005-11-13 Thread Javier Tello
Thanks Jester, I know, it was a discussion about using or not the prototype keyword, and if actionscript will support it in future versions. But like you say, it is still being used also in as3. I will try it. Regards, Javier. El 13/11/2005, a las 17:44, JesterXL escribió: EventDispatcher

[Flashcoders] XML onData, onLoad and replaceing #; strings.

2005-11-13 Thread Barrett
So I have a delima, I know that I can see the #xD; as text if I access the node in xml.onData, however when I attempt to modify the string output while in onLoad the #xD; was already converted into new lines, which are unnessary and need to be removed. The question is, how do I modify the string

RE: [Flashcoders] dispatching events from a class = HELP

2005-11-13 Thread Bruno Mosconi
Hi, I'm also having problems with Events. Could someone give me a little help on this issue? The EventListener is firing fine, but its associated method CAN NOT call another Class method. Why? Here is the Main Class: (Here is the Problem) import com.ultrafactor.LblButton; class

Re: [Flashcoders] swf to svg

2005-11-13 Thread Helen Triolo
Yes: http://flash-creations.com/notes/sample_svgtoflash.php (What is thecanvasproject?) Helen Eric R. Shinn wrote: Is there ActionScript 2.0 code out there to convert SVG to an object the DrawingAPI can understand? Cheers, Eric R. Shinn [EMAIL PROTECTED]

Re: [Flashcoders] dispatching events from a class = HELP

2005-11-13 Thread Ian Thomas
You need to use a Delegate. As this is a question which comes up about one a week on this mailing list (not your, fault, I know!) I'm afraid I'm going to direct you to the Flashcoders Wiki page about the problem rather than answer you in full here... http://www.osflash.org/flashcoders/as2 Hope

Re: [Flashcoders] dispatching events from a class

2005-11-13 Thread JesterXL
Actually, there aren't many Decorators in AS3 that I can find. Additionally, EventDispatcher is built-in. MovieClip actually extends EventDispatcher, so no need for all the mixin stuff. - Original Message - From: Javier Tello [EMAIL PROTECTED] To: Flashcoders mailing list

RE: [Flashcoders] dispatching events from a class = HELP

2005-11-13 Thread Bruno Mosconi
Why delegate if the method is inside the same Class? thanks -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ian Thomas Sent: domingo, 13 de novembro de 2005 15:46 To: Flashcoders mailing list Subject: Re: [Flashcoders] dispatching events from a class =

[Flashcoders] Q:UMl/Class Diagram plugin for AS2 development in Eclipse

2005-11-13 Thread bitstreams
A question for people using Eclipse. What UML/Class diagram plugin do you use/recommend for AS2 development? Any other favorite plugins? Thanks in advance Jim Bachalo [e] jbach at bitstream.ca [c] 416.668.0034 [w] www.bitstream.ca ...all

Re: [Flashcoders] dispatching events from a class = HELP

2005-11-13 Thread Ian Thomas
You need to use the Delegate in your addEventListener line - because you're passing clickTab to a completely different object, which will later call back to clickTab, but doesn't have the correct context. Passing this.clickTab isn't enough - passing Delegate.create(this,clickTab) should be enough.

RE: [Flashcoders] dispatching events from a class = HELP

2005-11-13 Thread Bruno Mosconi
Thanks! Btw, AS 3.0 looks like AS 2.0 FIXED... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ian Thomas Sent: domingo, 13 de novembro de 2005 16:25 To: Flashcoders mailing list Subject: Re: [Flashcoders] dispatching events from a class = HELP You need

Re: [Flashcoders] PODCAST and RSS feeds in flash audio player

2005-11-13 Thread hank williams
Well, I am not eric... but I think I know what he means. I have no idea what the software is for. The interface is unclear. There is no context. Interfaces need to be layered. You need to lead someone through the options, and you need to provide some explanation as to what your software is for.

[Flashcoders] Datagrid how to?

2005-11-13 Thread Noyes, Jeff
Anyone know how I can trace a particular cell in the datagrid? On focus (select) of a row item, I want to return the first cell -Original Message- From: Ricky Bacon [mailto:[EMAIL PROTECTED] Sent: Wednesday, November 09, 2005 8:55 PM To: Flashcoders mailing list Subject: [Flashcoders]

RE: [Flashcoders] ScrollPane weirdness

2005-11-13 Thread redknot
Thanks for the suggestion. To clarify, the setScrollProperties is acting on the scrollPane instance? I tried a variation of this after the swf finished loading, and it didn't change the behavior of the scrollbars unfortunately. Is that method (setScrollProperties) documented somewhere?

Re: [Flashcoders] Class Loading

2005-11-13 Thread JesterXL
Depends on when. There are 3 main time intervals that matter: - class export frame - class runtime initialization - SWF runtime class meshing * runtime shared libraries By default, in Flash MX 2004, classes are exported on frame 1; meaning they are initialized on frame 0 (which you can't do

Re: [Flashcoders] Class Loading

2005-11-13 Thread Jim Kremens
Runtime loading of SWF's, however, confuses me, and I haven't seen a defintive source that describes in what version, what happens in a loaded SWF has the same class, who overrwrites what, etc. The loading swf uses the first version of any class that it comes across. This can be a problem if two

[Flashcoders] Flash Remoting Question

2005-11-13 Thread Al Veldhuis
Hello, I have a question. I am reasonably experienced in Flash and Actionscripting, and I have recently tried to learn Flash Remoting. I find it extremely confusing at times to use. I have kinda given up. So I started searching for an alternative to Flash Remoting, and I came accoss a site that

Re: [Flashcoders] Class Loading

2005-11-13 Thread JesterXL
I had heard from an MM engineer that this depends on Player Version; does that really matter? And if so, how does it work with AS3? - Original Message - From: Jim Kremens [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Sunday, November 13, 2005

[Flashcoders] blogger with flash

2005-11-13 Thread Patrick Matte
Hi, i have made a flash 7 blog that uses blogger's xml output. It works perfectly when i test locally. But when i access the file from website, the xml object never returns success... Maybe its a cross-domain problem with flash ? The xml comes form http://anniegroovie.blogspot.com/atom.xml

Re: [Flashcoders] blogger with flash

2005-11-13 Thread JesterXL
Is your .swf on anniegroovie.blogspot.com? - Original Message - From: Patrick Matte [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Sunday, November 13, 2005 10:30 PM Subject: [Flashcoders] blogger with flash Hi, i have made a flash 7 blog that

Re: [Flashcoders] blogger with flash

2005-11-13 Thread Patrick Matte
No my swf is on another server! But i thought flash could read files from other servers. - Original Message - From: JesterXL [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Sunday, November 13, 2005 10:31 PM Subject: Re: [Flashcoders] blogger

Re: [Flashcoders] blogger with flash

2005-11-13 Thread JesterXL
Nope, this is part of the security sandbox since Flash 5. You will need either: - the swf to reside on anniegroove.blogspot.com - a shim.swf to reside on the above domain that merely says System.allowDomain(*); - a crossdomain.xml file to reside on the above domain that allows your site - a

Re: [Flashcoders] blogger with flash

2005-11-13 Thread Patrick Matte
Thanks, that sounds good ! I'll try this right away ! - Original Message - From: JesterXL [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Sunday, November 13, 2005 10:43 PM Subject: Re: [Flashcoders] blogger with flash Nope, this is part of the

Re: [Flashcoders] blogger with flash

2005-11-13 Thread Patrick Matte
I tried that bit of php code but couldn't resolved anything. The Loadvars returns the XML=onLoad=%5Btype%20Function%5D - Original Message - From: JesterXL [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Sunday, November 13, 2005 10:43 PM

Re: [Flashcoders] blogger with flash

2005-11-13 Thread JesterXL
If the XML file isn't gzipped, I'm not sure what that would return. Are you uploading that PHP file to your server and doing something like: lv = new LoadVars(); lv.owner = this; lv.filepath = http://anniegroovie.blogspot.com/atom.xml;; lv.onData= function(str) { this.owner.parseTheXML(str);

Re: [Flashcoders] blogger with flash

2005-11-13 Thread Patrick Matte
Do i have to change anything to that bit of php code ? ?php $file = gzfile($HTTP_POST_VARS[filename]); echo theXML= . implode(, $file); ? In flash - Original Message - From: JesterXL [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Sunday,

Re: [Flashcoders] blogger with flash

2005-11-13 Thread eric dolecki
why LoadVars? Just do a XML load of a proxy file which will in turn return your XML? http://www.ericd.net/weather_tutorial/security.html Thats the flavor of proxy that I like to use. On 11/13/05, JesterXL [EMAIL PROTECTED] wrote: If the XML file isn't gzipped, I'm not sure what that would

Re: [Flashcoders] blogger with flash

2005-11-13 Thread JesterXL
You don't have to; my PHP was setup to load from a filename, a filename variable you had to pass to Flash. If he hardcodes the filename in the PHP, he doesn't have to. - Original Message - From: eric dolecki [EMAIL PROTECTED] To: Flashcoders mailing list

Re: [Flashcoders] blogger with flash

2005-11-13 Thread Patrick Matte
this is awesome thanks ! - Original Message - From: eric dolecki [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Sunday, November 13, 2005 11:47 PM Subject: Re: [Flashcoders] blogger with flash why LoadVars? Just do a XML load of a proxy file