[flexcoders] Re: Swapping components but keeping a single ID

2006-12-06 Thread drome.dario
Hi Troy, I have deal with some similar thing and I finally found that the best approach is to have a single AS variable referencing the right component at the right moment, that is, change the object pointed by the AS variable when your state changes. In the other hand, I also found that

[flexcoders] Re: Sand Box Security Error

2006-12-04 Thread drome.dario
Kumar, This is a security violation of a basic Flex rule: you can not access to url coming from other domains than those where the swf comes from That is, your swf comes from localhost and you are trying to access to rss.news.yahoo.com... this is not allowed by default. You would have to put

[flexcoders] Re: uploading an object

2006-12-04 Thread drome.dario
Once you have the serialized data, it is easy to write a multipart chunk for that data... Is it what you are looking for? --- In flexcoders@yahoogroups.com, Daryn Nakhuda [EMAIL PROTECTED] wrote: The same author wrote a jpg encoder. I was just hoping to leverage the existing middleware

[flexcoders] Re: FDS on the desktop?

2006-12-04 Thread drome.dario
Lach, There are a lot of entries in the web talking about embeding swf into desktop applications, this one is the last I have seen http://www.richapps.de/articles/externalinterface_part1/ Most of them work in Win but, if you try to do it in Mac, things are harder. Regards --- In

[flexcoders] Re: How can open a Stream?

2006-07-19 Thread drome.dario
The error that you are experiencing is because of the default value for the resultFormat property of HTTPService: it expect an xml and, as far as I see, you are sending a PDF from your server. As long as HTTPService doesn't support binary results, you should think on start using URLLoader or

[flexcoders] Re: Err - seems simple but.... convert from a String to a ByteArray?

2006-07-05 Thread drome.dario
var str:String = Hi David Golds; var bin:ByteArray = new ByteArray(); bin.writeUTFBytes( str ); Hope it helps Regards. --- In flexcoders@yahoogroups.com, davidgolds [EMAIL PROTECTED] wrote: How can I convert from a String to a ByteArray? ByteArray to String was easy

[flexcoders] Re: ExternalInterface + JavaScript : import

2006-06-26 Thread drome.dario
Rohan, I think that it is not possible to do what you are trying. It is like to attempt to run a C64 BASIC program using MicroSoft VisualBasic without any changes: both are BASIC dialects but they are quite diferent. Let's know if we are understanding you issue. Regards. Dario --- In

[flexcoders] Re: JavaScript MXML component

2006-06-16 Thread drome.dario
Abdul, Your component works fine (as expected) in Safari and FireFox for MacOSX. In my component, I use ExternalInterface.call( eval, jscode ) to inject the javascript code into the wrapper and it has problems when in the jsocde variable there are \n, \r and so on (i have had to replace them)

[flexcoders] Re: ExternalInterface | How to get called from flash inxml flavor?

2006-06-16 Thread drome.dario
. --- --- In flexcoders@yahoogroups.com, drome.dario [EMAIL PROTECTED] wrote: Hi guys, I have seen that ActiveX version of Flash Player issues an event (FlashCall) that describes using xml the function call that the programmer has called with ExternalInterface.call method. That xml has the form : invoke

[flexcoders] Re: running Flex 2 Beta 3 UIs

2006-06-16 Thread drome.dario
Have you try what I said on message #39669? In our facilities, every computer has the same problem and we solve it using the procedure I talked about. Regards --- In flexcoders@yahoogroups.com, Tarun Telang [EMAIL PROTECTED] wrote: Hi, I have executed both the installers for Flash 9.0

[flexcoders] Re: ExternalInterface Flex 2 FireFox issue..... is not a function

2006-06-16 Thread drome.dario
Has your application's name any special characters like , ', \ and so on? --- In flexcoders@yahoogroups.com, moyosaned [EMAIL PROTECTED] wrote: --- In flexcoders@yahoogroups.com, moyosaned maikelsibbald@ wrote: It's working perfectly in IE! but Firefox is giving a javascript- error.

[flexcoders] Re: running Flex 2 Beta 3 UIs

2006-06-15 Thread drome.dario
I experienced what seems to be the same problem: I was not able to see my flexapp in neither MSIE nor SAFlashPlayer.exe and, however, I was able to see it using FireFox. Try the following (it worked for my case) 1. Verify that the problem is related to the ActiveX version of flashplayer: try

[flexcoders] FlashPlayer 9 B3 Installer DO NOT WORK on MacIntel

2006-06-15 Thread drome.dario
Hi guys, I have downloaded the Player9_B3_OSX_05-08.dmg from Adobe site and I have tried to install flash in my MiniMac (MacOSX 10.4.6 CPU Intel Core Duo) and the installer crash. The same installer works fine in a MacOSX 10.4.6 PPC-G5. Any known issues? Yahoo!

[flexcoders] Re: FlashPlayer 9 B3 Installer DO NOT WORK on MacIntel

2006-06-15 Thread drome.dario
Mac Player is slw in comparision to the new Windows player. My 2 cents. Cheers Owen --- In flexcoders@yahoogroups.com, drome.dario drome.dario@ wrote: Hi guys, I have downloaded the Player9_B3_OSX_05-08.dmg from Adobe site and I have tried to install flash in my

[flexcoders] Re: Does anyone know where to find flex icons

2006-06-15 Thread drome.dario
Probably, they are embeded into the framework's swc Have you look into? --- In flexcoders@yahoogroups.com, Kelly @ Dekayd Media Inc. [EMAIL PROTECTED] wrote: Does anyone know where to find the icons used in Flex components? More specifically does anyone know where to find the icons used in

[flexcoders] Re: JavaScript MXML component

2006-06-15 Thread drome.dario
Abdul, Great!... Today, during my work day, I have finished a component to do the same: to inject javascript code into the flash wrapper. My final goal is to centralize all javascript, html and the flex app itself into a single SWF and thus, minimize the initial html wrapper to a simple boot

[flexcoders] Re: One last try: Javascript security

2006-06-14 Thread drome.dario
FineLine, I have curiosity about your situation: you say it works like a champ when the HTML and the SWF are in the original compile directory. For me it DOESN'T work independently of the directory where the files reside so, What do you exactly mean with original compile directory? do you

[flexcoders] Re: One last try: Javascript security

2006-06-14 Thread drome.dario
ttings_manager04.html --- In flexcoders@yahoogroups.com, drome.dario [EMAIL PROTECTED] wrote: FineLine, I have curiosity about your situation: you say it works like a champ when the HTML and the SWF are in the original compile directory. For me it DOESN'T work independently of the directory where

[flexcoders] Re: One last try: Javascript security

2006-06-14 Thread drome.dario
Now... I'm wondering on how an installer program could config flash player in order to trust on a given set of files. Any ideas? Regards Yahoo! Groups Sponsor ~-- Get to your groups with one click. Know instantly when new email arrives

[flexcoders] Re: ExternalInterface | How to get called from flash inxml flavor?

2006-06-13 Thread drome.dario
-up-flash- 8s.html On 6/10/06, Luís Gustavo Sanabio [EMAIL PROTECTED] wrote: Hi... I'm sorry, but what is NPPlugin? 2006/6/9, drome.dario [EMAIL PROTECTED]: Came on guys!... just a suggestion?... even simple? -- Flexcoders Mailing List FAQ: http

[flexcoders] Re: How to drag a file into Flash?

2006-06-13 Thread drome.dario
Hi Alex, As one of the Rebus developers, I think that you are one (the only one?) that may help me: please, take a look on msg# 38354 ExternalInterface How to get called from flash in xml flavor. As you can guess after reading my post, I'm involved in writting a SWF wrapper, however, Do not

[flexcoders] Re: One last try: Javascript security

2006-06-13 Thread drome.dario
Hi, I have been banging my head against the wall for hours with the same problem and, finally, i found a post that stated that ExternalInterface.call and addCallBack do not work if either the html wrapper or the html wrapper are in a local disk. It seems to be due to the fact that using

[flexcoders] Re: Return value from ExternalInterface.call method

2006-06-12 Thread drome.dario
. --- In flexcoders@yahoogroups.com, drome.dario [EMAIL PROTECTED] wrote: Hi people, I can not achieve to get any return value from javascript other than null. In th HTML container I have a functions like this: function f(p) { alert(p); return(p); } In my flex app I call the browser

[flexcoders] Re: ExternalInterface | How to get called from flash inxml flavor?

2006-06-12 Thread drome.dario
Hi Gustavo, NPPlugin is the form of flash that runs under FireFox, Safari and any other browser except MSIE. In MSIE flash is an ActiveX. --- In flexcoders@yahoogroups.com, Luís Gustavo Sanabio [EMAIL PROTECTED] wrote: Hi... I'm sorry, but what is NPPlugin? 2006/6/9, drome.dario [EMAIL

[flexcoders] Re: HTTP Service, XML response and latin characters

2006-06-12 Thread drome.dario
Hi Pablo, The characters you indicate seem to be the lowercase-tilde spanish vowels plus 'ñ' and they also seem to be UTF-8 encoded, that is, if your xml has a processing instruction indicating that encoding, those chars should appear as áéíóúñ. Make a double check to your xml and its encoding

[flexcoders] Return value from ExternalInterface.call method

2006-06-09 Thread drome.dario
Hi people, I can not achieve to get any return value from javascript other than null. In th HTML container I have a functions like this: function f(p) { alert(p); return(p); } In my flex app I call the browser function in the following way: var ret:*; ret = ExternalInterface.call( f,

[flexcoders] Re: Viewing HTML

2006-06-09 Thread drome.dario
generator=window.open('','name','height=400,width=500'); generator.document.write(a); generator.document.close(); return successful;//this gets assigned to flex variable 'm' above } /SCRIPT --- In flexcoders@yahoogroups.com, drome.dario drome.dario@ wrote: Just

[flexcoders] Re: Flex2 :: \r\n in returned db query :: Tips?

2006-06-09 Thread drome.dario
Have you used a RegExp to locate and replace those character secuences by the ones you need? --- In flexcoders@yahoogroups.com, Michael Schmalle [EMAIL PROTECTED] wrote: Hi, I have had this problem for a long time; Is there any technique to get rid of the Windows \r\n other than doing

[flexcoders] Re: ExternalInterface | How to get called from flash inxml flavor?

2006-06-09 Thread drome.dario
Came on guys!... just a suggestion?... even simple? Yahoo! Groups Sponsor ~-- Everything you need is one click away.  Make Yahoo! your home page now. http://us.click.yahoo.com/AHchtC/4FxNAA/yQLSAA/nhFolB/TM

[flexcoders] Re: How to draw different Flex Controls/Containers at runtime?

2006-06-09 Thread drome.dario
Most of mx controls can be created with AS. The only thing that you have to take into account is to add the objects you create to the container hierarchy and to set the event listeners accordly with your needs --- In flexcoders@yahoogroups.com, Jawad Anwar [EMAIL PROTECTED] wrote: Hi

[flexcoders] Re: Return value from ExternalInterface.call method

2006-06-09 Thread drome.dario
); document.myMXML.SetVariable(ret,p); } I haven't tested this, but that's the idea. -TH --- In flexcoders@yahoogroups.com, drome.dario drome.dario@ wrote: Hi people, I can not achieve to get any return value from javascript other than null. In th HTML container I have a functions like

[flexcoders] Re: Viewing HTML

2006-06-08 Thread drome.dario
Suzy, Taking Christophe's example, I think that you can inject your in- memory-html into the HTMLDocument inside the iframe. --- In flexcoders@yahoogroups.com, Suzy Lawson [EMAIL PROTECTED] wrote: Yeah, that was Christophe's blog I believe. The problem with that is the iFrame is loading an

[flexcoders] Re: Help on Illegal assignment to function

2006-06-08 Thread drome.dario
I Agree with Gordon in the interpretation of that stated in the documentation: If the method is declared at compile time, you can not change it even if the class is dynamic or not However, if you define your method at runt time, then, you can change it when you need it. So, given that the

[flexcoders] Re: Viewing HTML

2006-06-08 Thread drome.dario
Hi, It is not a problem with whitespace between tags, as Suzy said, it is a problem because of the cr/lf in the html code, let me explain: Supose that we have a string variable named param whose value is hello Brian\nHow are you?, then when one uses, i.e., ExternalInterface.call(jsFunc, param)

[flexcoders] Re: Flex 2: passing XML string via ExternalInterface produces unterminated string

2006-06-08 Thread drome.dario
See message #38961... I think that you are experiencing the same problem described there. --- In flexcoders@yahoogroups.com, Matt Chotin [EMAIL PROTECTED] wrote: This stuff should work. Can you try running through the XML and removing the \r\n so that you only have \n (which ideally you'd

[flexcoders] Re: Viewing HTML

2006-06-08 Thread drome.dario
@yahoogroups.com, drome.dario [EMAIL PROTECTED] wrote: Hi, It is not a problem with whitespace between tags, as Suzy said, it is a problem because of the cr/lf in the html code, let me explain: Supose that we have a string variable named param whose value is hello Brian\nHow are you?, then when one

[flexcoders] Re: How up upload a ByteArray to PHP on the server?

2006-06-07 Thread drome.dario
Hello, I'm assuming that what you want is to send a binary to your server in the same way that if it was sent by a browser (using that browse button in some forms) and then, at the server side, consume that file using PHP. In that case, I think that the best way is to implement (using

[flexcoders] Re: ExternalInterface | How to get called from flash inxml flavor?

2006-06-07 Thread drome.dario
knock, knock...nobody out there?Still standing Yahoo! Groups Sponsor ~-- Protect your PC from spy ware with award winning anti spy technology. It's free. http://us.click.yahoo.com/97bhrC/LGxNAA/yQLSAA/nhFolB/TM

[flexcoders] ExternalInterface | How to get called from flash inxml flavor?

2006-06-02 Thread drome.dario
Hi guys, I have seen that ActiveX version of Flash Player issues an event (FlashCall) that describes using xml the function call that the programmer has called with ExternalInterface.call method. That xml has the form : invoke name=thenameofthefunctionarguments.../arguments/invoke However,

[flexcoders] Flex Hosting

2006-05-30 Thread drome.dario
Hello all, I'm trying to write a desktop application that, finally, will embed a flex 2.0 application. It is a mandatory request that this desktop appl is cross platform so I am writing it using C++. It is also mandatory that both applications (desktop one and flex one) can call each other.

[flexcoders] Re: trace function

2006-05-30 Thread drome.dario
Hi, I run into the same problem and, in my case, it was solved launching the debug session from Flex Builder but, first, make sure that the url or path to launch setting for your project is an http url and that points to your -debug.html file. Hope this help. --- In