Re: [Flashcoders] ComboBoxV2 Preloader problem

2007-07-24 Thread Hans Wichman
Hi, this was recently discussed on the list, search for : Andy Herrman [EMAIL PROTECTED]to Flashcoders *[Flashcoders] Strange ComboBox issues when loaded in a child SWF* greetz JC ___ Flashcoders@chattyfig.figleaf.com To change your subscription

RE: [Flashcoders] Options for generating pdf files

2007-07-24 Thread Mendelsohn, Michael
So do you think it would be possible to take a fairly complex array, run it through some function in AS2 that describes the document page by page, send it to CF and out pops a pdf? Would it be possible to have templates using the drawing API, and add data? I'm understanding that CF could take

RE: [Flashcoders] ComboBoxV2 Preloader problem

2007-07-24 Thread Holth, Daniel C.
Perfect! Solved my problem! Thanks. Daniel Holth I.S. Programmer x5217 || J401 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Hans Wichman Sent: Tuesday, July 24, 2007 4:02 AM To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders]

RE: [Flashcoders] How to determine when an externally loaded swf hasended playing.

2007-07-24 Thread Holth, Daniel C.
Are these timeline based swfs, or single frame, or movieclips within movieclips? Or won't you know? You could create an onEnterFrame event that continually checks the swf's _currentframe compared to _totalframes. When they are equal, it has reached the end. If it's a single frame or

Re: [Flashcoders] How to determine when an externally loaded swf hasended playing.

2007-07-24 Thread Mike
Here is how I determine when a movie completes. The key section is this: myListener.complete = function(eventObject:Object):Void { trace(My video has been viewed); getURL(javascript:setCookie('mycookienameOK','My Video Title','365');void(0);); }; In the above I set a

RE: [Flashcoders] ComboBoxV2 Preloader problem

2007-07-24 Thread Juan Solano
Hi Daniel Big issue, he,, try with this. When you load the movie you have to block the root, like this. item = this.createEmptyMovieClip(movieName,2); item._lockroot = true; item.loadMovie(movieToLoad.swf); Cool JB - CostaRica From: Holth, Daniel C. [EMAIL PROTECTED] Reply-To:

[Flashcoders] How to remove a datagrid

2007-07-24 Thread Paul Steven
Probably a really dumb question but how do I remove a datagrid? I create the datagrid as follows and I want the function 'Click_Datagrid' to delete / remove the datagrid. var myDataGrid:DataGrid = new DataGrid(); myDataGrid.addColumn(Type); myDataGrid.addColumn(Qualification);

[Flashcoders] CDATA Html Text not working

2007-07-24 Thread Chris W. Paterson
So I'm working on a project... I'm reading xml nodes and placing each node into dynamic text fields... XML: content![CDATA[Blah blah a href=somelink.comsomeLink/a b some bold text /b]]/content The problem is the XML Node is not reading as a string and the html text field reads the node as a

RE: [Flashcoders] CDATA Html Text not working

2007-07-24 Thread Chris W. Paterson
here is the snipit of code: local.obCredits[this.firstChild.childNodes[i].firstChild.childNodes[j].nodeName] = this.firstChild.childNodes[i].firstChild.childNodes[j].childNodes; local.obCredits --- This is passed as an object later to a Class.

[Flashcoders] AS3 Events

2007-07-24 Thread Ian Thomas
Hi all, I'm in the process of converting a quite extensive code framework from AS2 to AS3, and I've got a 'how do you cope with this situation?' question. I understand events, event listeners, EventDispatcher etc., but I'm missing a trick somewhere (probably from my historical use of Delegate

RE: [Flashcoders] Options for generating pdf files

2007-07-24 Thread Palmer, Jim
Michael, I've used Coldfusion7 and PHP + PDFLib lite on several projects before. I've also used HTMLDOC for html-pdf conversion but Coldfusion has them all beat with the simplicity of html-pdf conversion. You literally output your inline html and using the CFDOCUMENT tag. The only problem is

Re: [Flashcoders] How to use media server alongwith webserver for video streaming

2007-07-24 Thread greg h
Hi Abhishek, Bob's summary is 100% correct. For more detail, you might want to check out the heading About streaming video here on the Delivery options for Flash video page of the Flash video learning guide: http://www.adobe.com/devnet/flash/articles/video_guide_02.html Also this page may help

Re: [Flashcoders] How to determine when an externally loaded swf hasended playing.

2007-07-24 Thread Christopher Whiteford
Yeah it is a movieClip in movieClip situation, which I tried of course using the onEnterFrame and currentframe = totalframes route but as it was an external swf which I have no control of so it wasn't able to detect the frames. Thanks though. On 7/24/07, Holth, Daniel C. [EMAIL PROTECTED]

Re: [Flashcoders] How to determine when an externally loaded swf hasended playing.

2007-07-24 Thread Christopher Whiteford
I didn't think of trying to use the netstream object, I will definitely try this. Thanks, Chris On 7/24/07, Mike [EMAIL PROTECTED] wrote: Here is how I determine when a movie completes. The key section is this: myListener.complete = function(eventObject:Object):Void { trace(My

RE: [Flashcoders] CDATA Html Text not working

2007-07-24 Thread Joshua Sera
Flash doesn't actuall support the CDATA tag. It sort of does, but all 's and 's get replaced with lt;'s and gt;'s. When you stick it in a text field, it correctly interprets the HTML entities, which leads to you getting HTML tags where they shouldn't be. --- Chris W. Paterson [EMAIL PROTECTED]

[Flashcoders] Lots of compiler errors after copying custom component

2007-07-24 Thread gluedanny
Hi there, I've made a compiled component with custom actions (a scrollbar). I have beeen using it fine in one movie but then found when I loaded this movie into another movie which had the old version of the component in it's library, the custom component wouldn't work in the other movie. To

[Flashcoders] flash comm process in windows 2003

2007-07-24 Thread Tony Trapp
Hey guys just wondering about something. I have a client that will have video on-demand for their site. I noticed as I played the video the flashcomm process in windows just kept climbing and once the video was stopped or the page unloaded the process never went down. Then I tried playing the

Re: [Flashcoders] CDATA Html Text not working

2007-07-24 Thread Alan MacDougall
Chris W. Paterson wrote: this.firstChild.childNodes[i].firstChild.childNodes[j].childNodes;--- this is how I am trying to access the content of that node. First off, I'm guessing I should use .nodeValue? Will that give me the entire node with ![CDATA[]]? Is it even possible to read the html

RE: [Flashcoders] How to remove a datagrid

2007-07-24 Thread Paul Steven
Thanks Paul - that worked a treat! -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Paul Andrews Sent: 24 July 2007 17:56 To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] How to remove a datagrid - Original Message - From: Paul

RE: [Flashcoders] CDATA Html Text not working

2007-07-24 Thread David Ngo
If you're using Flash 8, XPath was already integrated into its library/API. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chris W. Paterson Sent: Tuesday, July 24, 2007 1:44 PM To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] CDATA Html

[Flashcoders] ConvolutionFilter stops when it gets online

2007-07-24 Thread David Cohn
Hey all, What could cause a ConvolutionFilter to not show up online, when it works perfectly well locally? I'm publishing as Flash Player 8, ActionScript 2.0, my browser uses Shockwave Flash 9.0 r45, and the actionScript is including (I've tried import flash.filters.* as well): import

[Flashcoders] [JOB] Sr. Flash/AS Programmers, Los Angeles, CA | 70-125k

2007-07-24 Thread Beau Gould
Sr. Flash/AS Programmers, Los Angeles, CA | 70-125k My Los Angeles, CA client is one of the most renowned and acclaimed interactive agencies in the world. As a Senior Flash/ActionScript Programmer, you transform client goals into compelling, usable, and media-rich Interactive Experiences

[Flashcoders] A3 scrollbars in Flex app

2007-07-24 Thread Smith, Philip
Hello, We are experiencing the following error with actionscript 3/Flash CS3 scrollbars when embedded in a Flex application: TypeError: Error #1034: Type Coercion failed: cannot convert fl.events::[EMAIL PROTECTED] to mx.events.FlexEvent. at

Re: [Flashcoders] How to remove a datagrid

2007-07-24 Thread Paul Andrews
- Original Message - From: Paul Steven [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Tuesday, July 24, 2007 3:37 PM Subject: [Flashcoders] How to remove a datagrid Probably a really dumb question but how do I remove a datagrid? I create the datagrid as follows and I

RE: [Flashcoders] CDATA Html Text not working

2007-07-24 Thread David Ngo
Correct, but for most parsing functionality, the ones included in Flash 8 should be sufficient. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Merrill, Jason Sent: Tuesday, July 24, 2007 2:00 PM To: flashcoders@chattyfig.figleaf.com Subject: RE:

Re: [Flashcoders] CDATA Html Text not working

2007-07-24 Thread Chris W. Paterson
Great! That works! Thanks so much!! I'll look into that XPath... Maybe not for this project since it's on a tight deadline, but for the future! Thanks! Chris --- Alan MacDougall [EMAIL PROTECTED] wrote: Chris W. Paterson wrote:

Re: [Flashcoders] CDATA Html Text not working

2007-07-24 Thread Peter Hall
The xpath library included with Flash 8 is really quite basic, as it is the bare minimum for generated paths for databinding purposes. It only permits abbreviated syntax (though this is fine and preferable most of the time), doesn't support any axes other than child (e.g. you can't do a//b or

[Flashcoders] Flash 8 exception handling

2007-07-24 Thread Alan MacDougall
Okay, here's one for you. I extended Error with a very simple specific error type, like this: class com.mycompany.exceptions.InvalidPathFormatException extends Error { public function InvalidPathFormatException(message:String) { if (message != null) { this.message =

[Flashcoders] Displacement Map with mcs

2007-07-24 Thread eric e. dolecki
I started coding up a little sniper scope thing. bmp on the stage of the scene. a larger bmp pulled out and used with a displacement map/mask to simulate the magnified sniper scope with some displacement around the edges of the scope occular thing. However I'd like to have mcs on the stage to

Re: [Flashcoders] Returning a String fails

2007-07-24 Thread Paul Andrews
Haven't tested it but where you call eliminateSpaces inside the function, you don't save the result... - Original Message - From: Mendelsohn, Michael [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Tuesday, July 24, 2007 9:22 PM Subject: [Flashcoders] Returning a String

[Flashcoders] Rotating, skewing and coloring TextFields using device fonts.

2007-07-24 Thread strk
Hi all, I'd like to gather some opinions reguarding compatibility between Gnash and the proprietary players. Current Gnash development version is able to handle device fonts exactly in the same way as embedded fonts are handled. This means you can rotate, skew, colorize each component and

Re: [Flashcoders] Returning a String fails

2007-07-24 Thread R�kos Attila
You should rethink what you are doing :) If the string passed contains more than 1 space, your function will not return anything. Do you see a return statement here? if (phrase.indexOf( ) != -1) { eliminateSpaces(phrase); } Well, and the whole function seems to be an overkill, you can reach

Re: [Flashcoders] Returning a String fails

2007-07-24 Thread Pedro Taranto
you forgot to put a 'return' statement where you call eliminateSpaces(phrase) -- Pedro Taranto ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

[Flashcoders] Returning a String fails

2007-07-24 Thread Mendelsohn, Michael
Hi list... I've written a simple routine to eliminate spaces from a user entered string. But, it won't return the string. I'm sure it's something silly. Can anyone shed light? - MM function eliminateSpaces(phrase:String):String { var foundSpace = phrase.indexOf( ); if

[Flashcoders] WDDX library

2007-07-24 Thread Josh Ettwein
This is a bit of an oddball request, but a long time ago, Branden Hall wrote a WDDX library in AS1 and I think Jobe Makar had written an AS2 port of it. Anyone know where I can get Jobe's version? Thanks! Josh ___ Flashcoders@chattyfig.figleaf.com

RE: [Flashcoders] Returning a String fails

2007-07-24 Thread David Ngo
I'd probably still put it in some sort of util function you can call anywhere. function eliminateSpaces(phrase:String):String { return phrase.split(' ').join(''); } -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rákos Attila Sent: Tuesday, July

[Flashcoders] AS3 - how do i find the path to where a MC belongs?

2007-07-24 Thread quinrou .
Hi all, I am wondering how can I manage to find the path to where a MC belongs? in AS2 when you wanted the target to where the MC was all you had to do was to trace the movieclip instance. For instance cosider the following example: var mc:MovieClip = this.attachMovie(something , something0 ,

Re: [Flashcoders] Rotating, skewing and coloring TextFields using device fonts.

2007-07-24 Thread David Rorex
Personally I think you should keep it as compatible as possible. Otherwise, someone might develop a SWF, only checking against gnash, and not realize that it doesn't work correctly in the official player (which the majority of users will be using). This means that gnash would not be as useful for

Re: [Flashcoders] AS3 Events

2007-07-24 Thread Muzak
an A instance should have a property that holds the contextInfo value. class B { function loadSomethingAndProcessIt(url:String, contextInfo:Object):void { var a:A = new A(); a.contextInfo = contectInfo; a.addEventListener(Event.COMPLETE,onALoaded); a.loadSomething(url);

Re: [Flashcoders] AS3 - how do i find the path to where a MC belongs?

2007-07-24 Thread eka
Hello :) in AS3 i don't find a native method ? For the moment you can test : package { import flash.display.* ; public class test extends Sprite { /** * Creates a new test instance. */ public function test() { var container:Sprite =

RE: [Flashcoders] WDDX library

2007-07-24 Thread Palmer, Jim
Seeing as I could find this useful myself, I found it... http://actionscript.codefetch.com/example/8v/Lesson12/Assets/Wddx.as?qy=XML That's the one from Jobe Makar -- Jim Palmer ! Mammoth Web Operations -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of

Re: [Flashcoders] AS3 Events

2007-07-24 Thread Ian Thomas
Muzak, Thanks for that. But to me, that breaks encapsulation - it assumes that A _knows_ it might be used in such a manner. What if you're writing to an API which doesn't? One of my stated requirements - as above - would be to achieve this without A having to be modified/aware of it's

Re: [Flashcoders] Rotating, skewing and coloring TextFields using device fonts.

2007-07-24 Thread Zeh Fernando
Hi all, I'd like to gather some opinions reguarding compatibility between Gnash and the proprietary players. Current Gnash development version is able to handle device fonts exactly in the same way as embedded fonts are handled. This means you can rotate, skew, colorize each component and

Re: [Flashcoders] AS3 - how do i find the path to where a MC belongs?

2007-07-24 Thread eric e. dolecki
http://www.kirupa.com/forum/showthread.php?p=1935107 On 7/24/07, eka [EMAIL PROTECTED] wrote: Hello :) in AS3 i don't find a native method ? For the moment you can test : package { import flash.display.* ; public class test extends Sprite { /** * Creates a

Re: [Flashcoders] AS3 Events

2007-07-24 Thread Muzak
Well, alot depends on the context of the whole thing (the bigger picture). If contextInfo isn't used/part of class A or B, it shouldn't even be there. But since you said: object B wraps it and wants to do something context specific once A has finished loading Then contextInfo should probably

Re: [Flashcoders] Rotating, skewing and coloring TextFields using device fonts.

2007-07-24 Thread strk
On Tue, Jul 24, 2007 at 07:22:20PM -0300, Zeh Fernando wrote: Just as a side note, textfields rendered with device fonts can be 'captured' by way of BitmapData instances and manipulated as an image, so on most aspects, they can still be manipulated although you'd need a few more steps for

Re: [Flashcoders] Returning a String fails

2007-07-24 Thread Jordan L. Chilcott
Aside from the fact that this is not as simple a method as doing a String.split() and then joining each array element, your method didn't keep the return value after each recursion. I added a local var for clarity. function

Re: [Flashcoders] Rotating, skewing and coloring TextFields using device fonts.

2007-07-24 Thread Mark Winterhalder
On 7/24/07, David Rorex [EMAIL PROTECTED] wrote: Personally I think you should keep it as compatible as possible. Otherwise, someone might develop a SWF, only checking against gnash, and not realize that it doesn't work correctly in the official player (which the majority of users will be

[Flashcoders] Class exclusion in AS3 in Flash IDE

2007-07-24 Thread Steve Bond
Hi, I've been looking high and low for a way to exclude class file from compiling into a swf on publish, similar to the functionality available when publishing AS2 apps (outlined here: http://livedocs.adobe.com/flash/9.0/main/wwhelp/wwhimpl/common/html/wwhelp.h

Re: [Flashcoders] Rotating, skewing and coloring TextFields using device fonts.

2007-07-24 Thread Zeh Fernando
Just as a side note, textfields rendered with device fonts can be 'captured' by way of BitmapData instances and manipulated as an image, so on most aspects, they can still be manipulated although you'd need a few more steps for that (and Flash Player 8+). Can this be done with embedded fonts

[Flashcoders] Generating Actionscript from Flash CS3 Pro

2007-07-24 Thread Adam Duston
Dear Flashcoders, I am an AS3 coder -- I am actually the tech lead for waves.tv (which is lacking in features right now but still fun to use -- try it!). I typically split my UI into View and Controller components, and I typically make my Views as thin as possible to test my infrastructure