RE: [Flashcoders] Cairngorm 2.0 tutorials

2006-08-08 Thread Bjorn Schultheiss
http://labs.adobe.com/wiki/index.php/Cairngorm Regards, Bjorn Schultheiss Senior Flash Developer QDC Technologies -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Matti Bar-Zeev Sent: Tuesday, 8 August 2006 3:56 PM To: Flashcoders mailing list

RE: [Flashcoders] Cairngorm 2.0 tutorials

2006-08-08 Thread Matti Bar-Zeev
Give us some credit, mate :) been there before. Did you see any step by step tutorial there? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bjorn Schultheiss Sent: Tuesday, August 08, 2006 9:10 AM To: 'Flashcoders mailing list' Subject: RE: [Flashcoders]

RE: [Flashcoders] Cairngorm 2.0 tutorials

2006-08-08 Thread Bjorn Schultheiss
Maaate.. Everything is there, that's it. There is plenty there and it covers about all it's got to offer, so far. Did you dig into their blogs. Dude. http://weblogs.macromedia.com/auhlmann/archives/2006/07/cairngorm_2_for_1.cf m Regards, Bjorn Schultheiss Senior Flash Developer QDC

RE: [Flashcoders] Cairngorm 2.0 tutorials

2006-08-08 Thread Robin Burrer
As Bjorn suggested: http://labs.adobe.com/wiki/index.php/Cairngorm (how come Adobe is using PHP btw) Have a read through this very good article. After I studied the article I had a look at Jesse Warden's Cairngorm 2 web service example.

RE: [Flashcoders] Cairngorm 2.0 tutorials

2006-08-08 Thread Nick Weekes
Alex Uhlmann has some good sample applications using Cairngorm 2 here: http://weblogs.macromedia.com/auhlmann/archives/2006/07/cairngorm_2_for_1.cf m#more Cheers, Nick -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Robin Burrer Sent: 08 August 2006

RE: [Flashcoders] WSIWYG HTML text editor in Flash - follow onquestion

2006-08-08 Thread Giles Taylor
I think that replaceSel() acts on the rendered output rather than the code, so it thinks that you want to actually display the text that you entered rather than adding it to the code (hope that makes sense!) You could scan through the textfield.htmlText value (i.e. the code) and relate the

[Flashcoders] A working ComboBox with skinning options?

2006-08-08 Thread Robin Bultot (Woedend!)
I'm looking for a working combox which can be easily skinned. We've bought the MCOM componentset.. but it's heavily underdocumented. I can't get the content of the combobox skinned. I don't want to use the MX components beceause they mess up my depths. Does anyone know a good skinnable

[Flashcoders] Specifying constructors in interfaces

2006-08-08 Thread Andreas Rønning
I'm not too familiar with interfaces, but is there a way i can specify that an implementing class constructor must be structured a specific way? Such as if its a multiuser app it would require one and only one argument, being the netconnection instance? - Andreas

[Flashcoders] some event model questions

2006-08-08 Thread Andreas Rønning
I've run into a situation where i have two UI elements listening to one another. Is this bad form? - A ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

Re: [Flashcoders] A working ComboBox with skinning options?

2006-08-08 Thread Weyert de Boer
Why don't wrap your own it's only a text field + listbox and a button, where the listbox is made visible when you click on the toggle button. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

Re: [Flashcoders] WSIWYG HTML text editor in Flash - follow onquestion

2006-08-08 Thread John Grden
I know I'm late to the game on this, but maybe this might save you time? http://www.flashtexteditor.com/in.php I just used it on a site, and it worked perfectly. It couldn't have been a better use of time/money ;) hth, jpg On 8/8/06, Giles Taylor [EMAIL PROTECTED] wrote: I think that

RE: [Flashcoders] WSIWYG HTML text editor in Flash - follow onquestion

2006-08-08 Thread Merrill, Jason
Sorry, this is going back in the thread, but I originally said it had to be Flash 7. This tool requires Flash 8 according to the site. Looks like a great tool though, thanks! Jason Merrill Bank of America Learning Organization Effectiveness - Technology Solutions -Original

[Flashcoders] MC Reference path vs actual path

2006-08-08 Thread Andreas Rønning
inputField = this.createEmptyMovieClip(chat_input,1); then, with keyboard focus on that movieclip: trace(Selection.getFocus()); trace(inputField); outputs: _level0.chat_input; _level0.inputField; A) this makes Selection.getFocus() *awkward* in OOP. B) I

Re: [Flashcoders] WSIWYG HTML text editor in Flash - follow onquestion

2006-08-08 Thread John Grden
that's not true, it works in Flash 7 just fine - I JUST tried it and I know that I've read that in the docs somewhere as well. On 8/8/06, Merrill, Jason [EMAIL PROTECTED] wrote: Sorry, this is going back in the thread, but I originally said it had to be Flash 7. This tool requires Flash 8

Re: [Flashcoders] MC Reference path vs actual path

2006-08-08 Thread John Grden
inputField is a property of the object/movieclip it was created in. chat_input is the physical existance of the movieclip you're referencing with inputField. It doesn't seem retarded to me. You *may* want that separation for a reason some day down the line. I personally name then the same

RE: [Flashcoders] WSIWYG HTML text editor in Flash - follow onquestion

2006-08-08 Thread Merrill, Jason
Well that's cool then! This is the kind of tool I was looking for. Thanks! Jason Merrill Bank of America Learning Organization Effectiveness - Technology Solutions -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of John Grden

[Flashcoders] LoadMovie library

2006-08-08 Thread Bart Albrecht
Hi, I looked on the internet and did not find the answer. I read a few times can't be done What I want to do is load movieclips in my main.swf from a library.swf and put those movieclips on the root or put movieclips from the root in the controller of my loadmovie. Secondly I want to add a

RE: [Flashcoders] WSIWYG HTML text editor in Flash - follow onquestion

2006-08-08 Thread Merrill, Jason
that's not true, it works in Flash 7 just fine - I JUST tried it and I know that I've read that in the docs somewhere as well. How does the filebrowsing work with this component in the Flash 7 player? Does it not use the file browsing capabilities of Flash 8 and uses Javascript in an HTML window

RE: [Flashcoders] Invalid gateway URL

2006-08-08 Thread Wade Arnold
I am looking for actually detecting it in the program. I have a couple of components that use remoting and people always seem to not place the proper remoting URL into the inspectable property. This leaves us with a lot of the component doesn't work Wade -Original Message- From: [EMAIL

Re: [Flashcoders] WSIWYG HTML text editor in Flash - follow onquestion

2006-08-08 Thread John Grden
that's a good question: To allow easy server file browsing and direct upload of images (flash player 8 required) the component has built-in FileBrowser. php/Apache and .NET files needed for backend are included The author is very responsive, you should email him directly. I'm sure he has some

RE: [Flashcoders] WSIWYG HTML text editor in Flash - follow onquestion

2006-08-08 Thread Merrill, Jason
Thanks John. Hmmm... yeah, I'm always leery when using third party stuff - b/c it may seem to work great at first, but then the boss wants more features that the product doesn't have. Or there are some unknown limitations. I might just roll my own - I have something going already. Plus, if it

Re: [Flashcoders] LoadMovie library

2006-08-08 Thread Michael Bedar
First of all, try MovieClipLoader to load your swf's.. If you don't want to use a runtime shared library, then I'd suggest making each movieclip you want to load at runtime a separate swf. You can export MovieClips directly from your library. also, as long as it is set to export for

Re: [Flashcoders] Specifying constructors in interfaces

2006-08-08 Thread Meinte van't Kruis
Interesting question, I don't think so because every class constructor needs to be named like the class. So how would you define a constructor in an interface in this case?: public class Example implements IExample{ public funtion Example(){ } } public class Example2 implements

Re: [Flashcoders] WSIWYG HTML text editor in Flash - follow onquestion

2006-08-08 Thread John Grden
sure thing Jason, I've got the light version here, so if you don't get it through the proper channels soon enough, just let me know On 8/8/06, Merrill, Jason [EMAIL PROTECTED] wrote: Thanks John. Hmmm... yeah, I'm always leery when using third party stuff - b/c it may seem to work great at

[Flashcoders] Madobe certified professional - still recommend?

2006-08-08 Thread André Goliath
Hello List, I´m thinking about becoming a certifed Macromedia(?) Flash MX04 Developer, but I wonder if this qualification is still of any worth, what do you think? Have you profited in any way from your certification? Is there anything in the pipeline for Flash 8/9 or will there ever be? Flash

[Flashcoders] how to set the root directory - swf vs html?

2006-08-08 Thread quinrou .
Hi, My HTML and my flash movie live in 2 different directories. So when I work in the flash IDE my swf can load all its assets but when I try to use that same swf via its HTML page the swf can't find its assets. Because it now has its root as the html root. I am pretty sure there's a work around

RE: [Flashcoders] LoadMovie library

2006-08-08 Thread Bart Albrecht
Thx for your reaction. Unfortunately a shared library for each movieclip, would result in over 1000 swf's and this all for just calling some movieclips from an external library, is overkill I think. I hope there is still a better way for doing this. -Original Message- From: [EMAIL

Re: [Flashcoders] how to set the root directory - swf vs html?

2006-08-08 Thread Geoff Stearns
this is why i don't like putting my swf and html in different directories... try using the base attribute On Aug 8, 2006, at 11:04 AM, quinrou . wrote: Hi, My HTML and my flash movie live in 2 different directories. So when I work in the flash IDE my swf can load all its assets but

Re: [Flashcoders] how to set the root directory - swf vs html?

2006-08-08 Thread Chris Hill
swfFolder = _level0._url.substring(0,_level0._url.lastIndexOf(/)) + /; then use this variable to load your data: loadMovie(swfFolder + image.jpg); Peace Chris quinrou . wrote: Hi, My HTML and my flash movie live in 2 different directories. So when I work in the flash IDE my swf can load

Re: [Flashcoders] how to set the root directory - swf vs html?

2006-08-08 Thread Chris Hill
quinrou . wrote: Hi, My HTML and my flash movie live in 2 different directories. So when I work in the flash IDE my swf can load all its assets but when I try to use that same swf via its HTML page the swf can't find its assets. Because it now has its root as the html root. I am pretty

Re: [Flashcoders] Possible Challenge: AS 3.0 Compiler :)

2006-08-08 Thread Tyler Wright
It would be great to have the specs for AS3 just to modify current swfs in other ways (not necessarily compile from scratch). Obfuscation comes to mind ... Someone will do really well with an AS3 compiler ... so, who wants to start an AS3 compiler in AS3?! I'd be interested. Tyler On 8/6/06,

RE: [Flashcoders] LoadMovie library

2006-08-08 Thread Carlos Nazareno
How about if you loadMovie your entire Library SWF into your main SWF, then access your library files via mainSWF.librarySWF.libraryAsset syntax? Not sure, but you may have to create instances of your library asset on the stage and name them properly... -Naz DISCLAIMER: This Message may

RE: [Flashcoders] WSIWYG HTML text editor in Flash - follow on question

2006-08-08 Thread Merrill, Jason
have you tried using the unescape function?.something like this: test_txt.replaceSel(unescape(img src=\mountains.jpg\ width=\350\ height=\120\ /)); That doesn't seem to work. Still shows as: lt;img src=quot;mountains.jpgquot; width=quot;350quot; height=quot;120quot; /gt; Thanks though.

RE: [Flashcoders] WSIWYG HTML text editor in Flash - follow onquestion

2006-08-08 Thread Merrill, Jason
You could scan through the textfield.htmlText value (i.e. the code) and relate the selection index in the rendered output to the actual index in the code, then insert your image code in the textfield.htmlText. I have done this previously (for a different reason) by just running two counters as I

[Flashcoders] quotes in XML

2006-08-08 Thread Elie Zananiri
Hello all, I have an XML parsing question that I've been trying to solve for a little while now and I can't get it to work. I have a PHP script that loads text from an SQL db, formats it in an XML string and sends this string back to Flash using the LoadVars.sendAndLoad(script.php) function.

RE: [Flashcoders] quotes in XML

2006-08-08 Thread Steven Sacks | BLITZ
Character substitution, perhaps? Use pipes | perhaps. Then, in Flash... myLoadedString.split(|).join(\); ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

Re: [Flashcoders] ExternalInterface, embed tag and IE

2006-08-08 Thread John Dowdell
Vishal Kapur wrote of difficulty in persuading Microsoft Internet Explorer for Windows to accept messages from Adobe Flash Player when the HTML markup IE ate contained only an EMBED tag, no OBJECT: In terms of why I can't use an object tag, I should have clarified that I do not have control

Re: [Flashcoders] quotes in XML

2006-08-08 Thread Elie Zananiri
Thanks, that worked! I actually XML-encoded the string in PHP using pipes instead of ampersands and then converted the pipes back to ampersand in Flash once the string was received. The conversion from XML-encoding to regular characters is done automatically.

Re: [Flashcoders] quotes in XML

2006-08-08 Thread Sebastian Wichmann
Hi, try this: ?php echo sentStr=.rawurlencode($string).; ? Flash: unescape(string); Regards, Sebastian Wichmann -Ursprüngliche Nachricht- Von: Elie Zananiri [EMAIL PROTECTED] An: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Gesendet: Dienstag, 8. August 2006 20:28

Re: [Flashcoders] quotes in XML

2006-08-08 Thread ryanm
I actually XML-encoded the string in PHP using pipes instead of ampersands and then converted the pipes back to ampersand in Flash once the string was received. The conversion from XML-encoding to regular characters is done automatically. Another solution would be to use the XML object in

Re: [Flashcoders] WSIWYG HTML text editor in Flash - follow on question

2006-08-08 Thread John Grden
http://mirror1.cvsdude.com/trac/osflash/red5/browser/java/server/trunk/swf/DEV_Source/classes/com/blitzagency/data/DecodeHTML.as This is what I use for that Jason, hope that helps JG On 8/8/06, Merrill, Jason [EMAIL PROTECTED] wrote: have you tried using the unescape function?.something

[Flashcoders] Scrollpane issue

2006-08-08 Thread Randy Tinfow
We're having an odd issue with the ScrollPane component included with Flash 8 Pro. Testing on Flash Player 9. The scrollpane content contains a textfield that loads HTML Text from an XML document. The text displays correctly, but when scrolling, weird things happen. Using the mouse wheel,

RE: [Flashcoders] WSIWYG HTML text editor in Flash - follow on question

2006-08-08 Thread Merrill, Jason
John, Thanks - yes, that class works, thanks for the link. But unfortunately, it appears it is the Textfield.replaceSel() function which encodes it upon display - so I would have to then parse through the textfield and find the encoded string, then decode it using that class, and put it back in

[Flashcoders] Vanishing Accordion Labels

2006-08-08 Thread Matthew Simpson
Has anyone encountered vanishing Accordion Labels? Comment out the loadMovie and the labels appear on the accordion as expected. Uncomment the loadMovie and the labels disappear... Here's the AS...imports and var declarations omitted for brevity //Import Controls/Containers/Classes/Packages

[Flashcoders] HTML in XML

2006-08-08 Thread Burns, John D
I'm having a very weird problem and I'm hoping it's something simple that I'm overlooking. I have an xml document similar to this: news newsitem date=8/5/2006 headline=Some headlineBody of the news article. a href=http://www.google.com;Google/a More body of the article/newsitem newsitem

Re: [Flashcoders] HTML in XML

2006-08-08 Thread Ian Thomas
Hi John, The actual internal structure of the XML comes out as follows: news +-- newsitem |+-- TEXT NODE (Body of the news article.) |+-- a | | +-- TEXT NODE (Google) |+-- TEXT NODE (More body of the news article.) +-- newsitem etc. (I hope the formatting comes out) As you

RE: [Flashcoders] how to set the root directory - swf vs html?

2006-08-08 Thread Merrill, Jason
swfFolder = _level0._url.substring(0,_level0._url.lastIndexOf(/)) + /; That looks familiar. ;) Jason Merrill Bank of America Learning Organization Effectiveness - Technology Solutions -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On

[Flashcoders] png load queue

2006-08-08 Thread Howard Nager
I'm having a weird issue where my flash player is performing very very slowly wile loading a queue of png files. Everything is smooth before and after, but during the load it is super choppy (especially on a mac). I am loading in sequence up to 100 png files - if that makes a difference. Any

[Flashcoders] Uncompress a gzipped file

2006-08-08 Thread Max
I'm writing a program that processes a huge 4MB binary file in Flash 9. Thing is, if I compress it (specifically with gzip) I can lower the size to 1.67MB. My problem is that I can't uncompress it using ByteArray's uncompress() feature on the gzipped file. The documentation for compress() says

Re: [Flashcoders] WSIWYG HTML text editor in Flash - follow on question

2006-08-08 Thread John Grden
yeah I'm afraid I've not been following along closely enough, not sure what replaceSel() does or how it does it, but sounds like you're on top of it ;) let me know how it finaly works out, JG On 8/8/06, Merrill, Jason [EMAIL PROTECTED] wrote: John, Thanks - yes, that class works, thanks for

[Flashcoders] Accessing a Flash frame label

2006-08-08 Thread Jeff Hindman
Hey Flashcoders, How can I access a specific frame label in a Flash movie from an HTML link? It would look something like this: a href = http://www.mydomain.com/myMovie.swf?label='here'Click me/a where here is the frame label in the SWF. Thanks -- -- Jeff

Re: [Flashcoders] Accessing a Flash frame label

2006-08-08 Thread eric dolecki
frame labels become numeric when published to SWF, so you wouldn't be able to do that. However, you could always send in a specific variable value, and have a function in the SWF look at it, and target the mc you want. On 8/8/06, Jeff Hindman [EMAIL PROTECTED] wrote: Hey Flashcoders, How

Re: [Flashcoders] Accessing a Flash frame label

2006-08-08 Thread Marc Hoffman
Make sure, however, that the targeted frame is loaded before calling it within Flash -- otherwise, the function will fail and nothing will happen. - Marc At 04:42 PM 8/8/2006, you wrote: frame labels become numeric when published to SWF, so you wouldn't be able to do that. However, you could

[Flashcoders] CakePHP (CakeAMFPHP) ValueObjects

2006-08-08 Thread Marcelo de Moraes Serpa
I´ve been using CakePHP through CakeAMFPHP with great success lately. However, on my last projects with Cake and Flash, I haven´t used Value Objects. My next project is a big one and so the use of VO´s really be something important but I just don´t know where to start. Some questions I would like

Re: [Flashcoders] quotes in XML

2006-08-08 Thread David Rorex
On 8/8/06, Elie Zananiri [EMAIL PROTECTED] wrote: Hello all, I have an XML parsing question that I've been trying to solve for a little while now and I can't get it to work. I have a PHP script that loads text from an SQL db, formats it in an XML string and sends this string back to Flash

Re: [Flashcoders] How to secure actionscript code from reverse engineering

2006-08-08 Thread David Rorex
There are several apps out there that claim to protect swfs, I haven't tried any of them extensivly, but many appear to work. Try searching for them. Off the top of my head, I can think of swfencrypt, secureswf, MT's Obfu (mtasc.org/obfu). -David R On 8/8/06, Santhakumar K [EMAIL PROTECTED]

Re: [Flashcoders] Invalid gateway URL

2006-08-08 Thread David Rorex
Perhaps when your compent loads, have it call a remote method like ping or test or something, and if that method is not successful, show an error saying can't connect to gateway -David R On 8/8/06, Wade Arnold [EMAIL PROTECTED] wrote: I am looking for actually detecting it in the program. I

Re: [Flashcoders] HTML in XML

2006-08-08 Thread ryanm
As you can see, you have to iterate through all the children of newsitem, rather than just using the firstchild. newsNode.childNodes[i].firstChild.nodeValue.toString() should work also, since it would render the node and all of its children as a string. ryanm

Re: [Flashcoders] How to secure actionscript code from reverse engineering

2006-08-08 Thread Santhakumar K
David, I tried http://www.kindisoft.com and http://www.genable.com. If I chang all identifier in swf using those appllication, new generated swf is not running. is there is limitation to change the identifer like we may not change identifier of the imported classess. I dont know upto what