Re: [Flashcoders] sending information from HTML to swf
I found what I need at http://www.mustardlab.com/developer/ The only question for help. I want to have flash player on the second html page. So I need after clicking on link on the first html page send mp3 name to the second html page as url with name.Then I should take this name from this URL and send to swf. I understand that is not flash question but maybe anybody can show javascript that takes information from URL. Thanks 2007/7/26, natalia Vikhtinskaya [EMAIL PROTECTED]: Any articles or examples? 2007/7/26, Helmut Granda [EMAIL PROTECTED]: search on javascript + actionscript. That is one way. ...helmut On 7/26/07, natalia Vikhtinskaya [EMAIL PROTECTED] wrote: Hi I need an advice how to send information from html to swf. I have list of links and want to send mp3 names to flash player that I created on the page. Is that possible? If yes maybe somebody have examples that explains how. Thank for any help. ___ 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 http://www.figleaf.com http://training.figleaf.com ___ 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 http://www.figleaf.com http://training.figleaf.com ___ 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 http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] sending information from HTML to swf
http://www.google.com/search?hl=enq=flash+javascript+communicationmeta= - Original Message - From: natalia Vikhtinskaya [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Thursday, July 26, 2007 7:35 AM Subject: Re: [Flashcoders] sending information from HTML to swf Any articles or examples? 2007/7/26, Helmut Granda [EMAIL PROTECTED]: search on javascript + actionscript. That is one way. ...helmut ___ 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 http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Cell renderers in AS 3 UI Data Grid
Hi List, Has anyone tried to have a column use a combo box inside a cell in a AS3 data grid? I've done a fair amount of searching help and livedocs and can't find any clear examples of how to do this. I believe I'd need to attach a cellRenderer to the column I'd like to use and write a class for it. The class would extend combo box and whatever I define to be in the instance of the combo box will magically appear in the cell. Does this sound right? Cheers, John -- John Skidgel [EMAIL PROTECTED] ___ 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 http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Re:Displaying Chinese character set via XML
I cannot get a dynamic text field to display Chinese characters from XML. Results vary from question marks in the field, to undefined, to blank. What should happen is that Flash derives elements from the XML and displays them in the textfield. I'm using XMLSA to parse the xml. I've no experience of importing chinese characters from XML but I did once do something similar with Azeri (as spoken in Azerbaijan). I seem to remember having problems with Textpad as an XML editor and ended up using a freeware editor called Notepad++ (google it). Can't remember the exact issue but it was something to do with unicode encoding. Hope that helps Joe Joe Cutting Computer exhibits and installations www.joecutting.com 35 Hospital Fields Road, York, YO10 4DZ 01904 624681 As of 31st May 2007 I have another new office so please note my new address. Phone number and email stay the same. ___ 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 http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] AS3 - how do i find the path to where a MC belongs?
Dunno about as3.. but what about the old _target property? :) - Original Message - From: quinrou . [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Thursday, July 26, 2007 12:06 PM Subject: Re: [Flashcoders] AS3 - how do i find the path to where a MC belongs? yeah eka that seems to be a good solution but a bit resourceful depending how deep the nested mcs are. Surely there must be a native property or medoth to find the tree/path from the mc to the stage... This is driving mad... 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 new test instance. */ public function test() { var container:Sprite = new Sprite() ; var container2:Sprite = new Sprite() ; container2.graphics.beginFill(0xFF, 1) ; container2.graphics.drawCircle(0, 0, 150) ; addChild(container) ; container.addChild(container2) ; var target:String = getDisplayPathName(container2) ; trace( target ) ; } static public function getDisplayPathName( display:DisplayObject ):String { var parents:Array = [] ; var parent:* = display ; while( true ) { parents.push( parent.name ) ; parent = parent.parent ; if (parent.name == null) { break ; } } parents.reverse() ; return parents.join( . ) ; } } but it's not the better solution lol eKA+ :) 2007/7/24, quinrou . [EMAIL PROTECTED]: 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 , 0); var mc = mc.something0.attachMovie(somethingelse , somethingelse0 , 0); trace(mc) // _level0.something0.somethingelse0 In AS3 since everything is a class everytime I trace an object i get its class name. So is there anyway of know the tree to where a mc belongs? thanks seb ___ 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 http://www.figleaf.com http://training.figleaf.com ___ 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 http://www.figleaf.com http://training.figleaf.com ___ 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 http://www.figleaf.com http://training.figleaf.com ___ 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 http://www.figleaf.com http://training.figleaf.com
[Flashcoders] [JOB] - Flash Developer (Switzerland)
Hi all! We are looking for a professional flash developer. We're located in Biel, Switzerland, the main office language is (swiss)german. We're working for interesting brands and develop and maintain the video magazine www.bkanal.ch. If you're interested please check out the detailed job description: http://snipurl.com/1os4z (german) If you have any questions, please don't hesitate to contact us. Cheers Phil - phil suter projektleitung direkt +41(32) 366 00 51 mobile +41(78) 711 51 97 skype phil.suter [EMAIL PROTECTED] orange8 interactive AG mattenstrasse 90 ch-2503 biel-bienne +41 (32) 365 11 11 www.orange8.com ___ 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 http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] (OT) fscommand and air
If you need to creating PDFs from Flash itself, check out Alive PDF: http://www.bytearray.org/?p=104 Cheers! On 7/25/07, Troy Rollins [EMAIL PROTECTED] wrote: On Jul 25, 2007, at 6:21 PM, John Dowdell wrote: If so, then no, I don't... the current pre-releases can invoke an installed Adobe Reader to display a PDF, This, in itself, let all the air out of AIR for me. When I saw how AIR could do such a great job of fusing SWF and HTML, I guess I thought it would have similar capability with PDF. Instead it seems more like PDF is bolted on to the side. It is always on top, uses the Reader controls, and has very limited connectivity to the rest of the app. Acrobat remains one of the most important file formats, with the least integration functionality or interactive design tools. Ever try making an interactive PDF in Acrobat pro, or that LiveCycle thing? -- Troy RPSystems, Ltd. http://www.rpsystems.net ___ 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 http://www.figleaf.com http://training.figleaf.com -- Juan Delgado - Zárate http://zarate.tv http://dandolachapa.com http://loqueyosede.com ___ 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 http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] AS3 Events
On 7/25/07, Sunil Jolly [EMAIL PROTECTED] wrote: Sorry, it's not very clear in all that garbled code. If you make a new instance of B each time then only 1 request would be made to each instance. Hi Sunil, I'm trying to cover situations where you _don't_ create a new instance of B each time; that's part of the issue. :-) But thanks! Ian ___ 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 http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] AS3 instantiating a new class object from a string value
How about using the abstract factory design pattern? public class MyFactory { public static function createObject(objType:String):* { switch (objType) { case Foo: return new Foo(); case Bar: return new Bar(); default: return new Foo(); } } var myObj:* = MyFactory.createObject(Foo); James O'Reilly — Consultant Adobe Certified Flash Expert http://www.jamesor.com Design • Code • Train Matt Muller wrote: Hi, I'm trying to instantiate a new class object from a xml attribute which is a string, but its not having any of it. I've tried casting the string to an object and also using this['class_id'] etc but no luck. Does someone have a solution? Thanks, MaTT ___ 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 http://www.figleaf.com http://training.figleaf.com ___ 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 http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Flash Dev needed: BIG Interactive
BIG Interactive is seeking an intermediate-level fulltime flash developer. If you have experience with all things Flash, as well as experience with AS2 and OOP, and you are looking for a position where you can learn and enhance those skills while creating award caliber Flash experiences, we want to meet you. This position leans more towards programming than design or animation. Position Requirements: * Experience developing with Flash 8 * Experience writing AS2 * A basic understanding of OOP practices * Experience working with xml and integration of dynamic data (remoting a plus) * Media integration skills (audio, video, etc.) * Resourcefulness combined with problem solving skills * A willingness to learn and a desire to improve BIG Interactive provides marketing, creative and technology services to leading clients such as FOX, Anheuser-Busch, Honda, to name just a few. We are committed to excellence at every level. We offer a highly professional, fast-paced, winning environment, competitive salary, 401k, medical benefits, paid vacation and sick days. Please contact us [EMAIL PROTECTED]mailto:[EMAIL PROTECTED]. BIG Interactive 11835 W. Olympic Blvd. Ste 350 Los Angeles, Ca 90064 P: (310) 893-0194 F: (310) 571-1835 ___ 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 http://www.figleaf.com http://training.figleaf.com
[Flashcoders] object Arrays
Hello All, Basically I am trying to create a object which I can pass to my array and then access some properties of this object. Only problem is, I am trying to achieve this in a class. Basically I declared my array as a class variable and then instantiated it in my constructor function in the class. I do have this function which is supposedly to create an object with certain properties. private function lizPieceObj(levelup:MovieClip, lizPieceMc:MovieClip, masker:MovieClip, levelMasker:MovieClip) { // build an obj to mimick 2d array. this.levelup = levelup; this.lizPieceMC = lizPieceMC; this.masker = masker; this.levelMasker = levelMasker; } Here is, in another function, I am trying to create this object. piecesArray[index] = new lizPieceObj(levelup, lizPieceMc, masker, levelMasker); in order to access them later like piecesArray[index].levelup, piecesArray[index].masker etc. But upon compilingthe code, I do get this error. There is no property with the name levelup. There is no property with the name lizPiece, There is no property with the name masker etc. you get the idea. I am assuming this is something to do with scope. I am yet not sure how to deal with it though. Thanks a lot. ___ 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 http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] object Arrays
Show the whole class definition. The compiler is pretty definite but you have not shown the part that it is complaining about. You are only show the part where it realizes that a complaint is in order. The error is higher up in the code. Ron David Ngo wrote: Are you declaring your properties public or have public getters to access them within your class? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of ilteris kaplan Sent: Thursday, July 26, 2007 3:18 PM To: Flash Lists Subject: [Flashcoders] object Arrays Hello All, Basically I am trying to create a object which I can pass to my array and then access some properties of this object. Only problem is, I am trying to achieve this in a class. Basically I declared my array as a class variable and then instantiated it in my constructor function in the class. I do have this function which is supposedly to create an object with certain properties. private function lizPieceObj(levelup:MovieClip, lizPieceMc:MovieClip, masker:MovieClip, levelMasker:MovieClip) { // build an obj to mimick 2d array. this.levelup = levelup; this.lizPieceMC = lizPieceMC; this.masker = masker; this.levelMasker = levelMasker; } Here is, in another function, I am trying to create this object. piecesArray[index] = new lizPieceObj(levelup, lizPieceMc, masker, levelMasker); in order to access them later like piecesArray[index].levelup, piecesArray[index].masker etc. But upon compilingthe code, I do get this error. There is no property with the name levelup. There is no property with the name lizPiece, There is no property with the name masker etc. you get the idea. I am assuming this is something to do with scope. I am yet not sure how to deal with it though. Thanks a lot. ___ 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 http://www.figleaf.com http://training.figleaf.com ___ 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 http://www.figleaf.com http://training.figleaf.com ___ 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 http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] object Arrays
It's not really good paractice to name classes with Obj in the title, but anyway: class lizPieceObj { public var levelup:MovieClip; public varlizPieceMC:MovieClip; public varmasker:MovieClip; public varlevelMasker:MovieClip; public function lizPieceObj(levelup:MovieClip, lizPieceMc:MovieClip, masker:MovieClip, levelMasker:MovieClip) { // build an obj to mimick 2d array. this.levelup = levelup; this.lizPieceMC = lizPieceMC; this.masker = masker; this.levelMasker = levelMasker; } } I haven't checked it. You mention a class variable in your description, I'm not sure if you really mean a property (instance variable) or a class property (static variable), or if your constructor is intentionally private. Paul - Original Message - From: ilteris kaplan [EMAIL PROTECTED] To: Flash Lists flashcoders@chattyfig.figleaf.com Sent: Thursday, July 26, 2007 8:18 PM Subject: [Flashcoders] object Arrays Hello All, Basically I am trying to create a object which I can pass to my array and then access some properties of this object. Only problem is, I am trying to achieve this in a class. Basically I declared my array as a class variable and then instantiated it in my constructor function in the class. I do have this function which is supposedly to create an object with certain properties. private function lizPieceObj(levelup:MovieClip, lizPieceMc:MovieClip, masker:MovieClip, levelMasker:MovieClip) { // build an obj to mimick 2d array. this.levelup = levelup; this.lizPieceMC = lizPieceMC; this.masker = masker; this.levelMasker = levelMasker; } Here is, in another function, I am trying to create this object. piecesArray[index] = new lizPieceObj(levelup, lizPieceMc, masker, levelMasker); in order to access them later like piecesArray[index].levelup, piecesArray[index].masker etc. But upon compilingthe code, I do get this error. There is no property with the name levelup. There is no property with the name lizPiece, There is no property with the name masker etc. you get the idea. I am assuming this is something to do with scope. I am yet not sure how to deal with it though. Thanks a lot. ___ 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 http://www.figleaf.com http://training.figleaf.com ___ 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 http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] How to Avoid Terminate Script Message
you change change the timeout of the swf before you make it a projector with a tool such as flasm On 7/26/07, Rákos Attila [EMAIL PROTECTED] wrote: Split the parsing process into chunks (e.g. parse maximum n nodes in a frame). Or if your data is static and will not change (e.g. it is distributed on CD-ROM, etc.), convert the XML into an AS source file of arrays and objects, and compile it into the main SWF or into a separate movie, which can be loaded by the main movie (this eliminates parsing at all). Attila =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= From:Jorge Antonio Diaz Gutierrez [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com flashcoders@chattyfig.figleaf.com Date:Thursday, July 26, 2007, 8:24:11 PM Subject: [Flashcoders] How to Avoid Terminate Script Message --===-- Hello there people: I'm creating a projector that parses a XML DataBase but parsing takes about 10 seconds, so Terminate Script Windows came up each time I launch my app. Any suggestion?? Is there any way to set it disabled on my Projector. Thanks ___ 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 http://www.figleaf.com http://training.figleaf.com =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= ___ 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 http://www.figleaf.com http://training.figleaf.com -- j:pn http://www.memorphic.com/news/ ___ 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 http://www.figleaf.com http://training.figleaf.com
[Flashcoders] DataGrid in Flash CS3 with AS3
I am still struggling to create a flash AS3 application that needs to display a datagrid of data similar to the following: http://www.mediakitchen.co.uk/mark_sheet.jpg I would appreciate advice as to whether the datagrid is the most suitable approach to the display of data like this? I hadn't anticipated it would be this difficult to display data like this!!! The bits I am struggling on are multi-line text and inserting a drop down list in the datagrid. I also have another screen that needs to display images in a datagrid. The trouble with multiline text is my text is dynamically read in from a server generated xml data so I do not know how many lines of text it will be. And with the dropdown list I am just a bit out of my depth in terms of inserting anything other than text into a datagrid - it certainly doesn't seem to be the easiest task to do! I hope someone can point me in the right direction. Thanks ___ 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 http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] Cell renderers in AS 3 UI Data Grid
Aloha John, Check this out. It will help you understand cellrenderers. http://www.communitymx.com/content/article.cfm?cid=B4AED CellRenderers are a bit confusing at first glance but once you understand UI components they get less so. Really you can have anything you want in a cell. Just createChildren the instances... (createClassObject or createObject) There was also something in the documentation which linked to a page which didn't exist but if you take that title and do a search on the internet for it you'll find some downloadable examples. Sorry for being vague here but I'm actually on my way out the door. Anyway the article link above explains everything you should need. Aloha, Kalani -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of John Skidgel Sent: Wednesday, July 25, 2007 11:05 PM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] Cell renderers in AS 3 UI Data Grid Hi List, Has anyone tried to have a column use a combo box inside a cell in a AS3 data grid? I've done a fair amount of searching help and livedocs and can't find any clear examples of how to do this. I believe I'd need to attach a cellRenderer to the column I'd like to use and write a class for it. The class would extend combo box and whatever I define to be in the instance of the combo box will magically appear in the cell. Does this sound right? Cheers, John -- John Skidgel [EMAIL PROTECTED] ___ 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 http://www.figleaf.com http://training.figleaf.com ___ 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 http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] object Arrays
Are you declaring your properties public or have public getters to access them within your class? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of ilteris kaplan Sent: Thursday, July 26, 2007 3:18 PM To: Flash Lists Subject: [Flashcoders] object Arrays Hello All, Basically I am trying to create a object which I can pass to my array and then access some properties of this object. Only problem is, I am trying to achieve this in a class. Basically I declared my array as a class variable and then instantiated it in my constructor function in the class. I do have this function which is supposedly to create an object with certain properties. private function lizPieceObj(levelup:MovieClip, lizPieceMc:MovieClip, masker:MovieClip, levelMasker:MovieClip) { // build an obj to mimick 2d array. this.levelup = levelup; this.lizPieceMC = lizPieceMC; this.masker = masker; this.levelMasker = levelMasker; } Here is, in another function, I am trying to create this object. piecesArray[index] = new lizPieceObj(levelup, lizPieceMc, masker, levelMasker); in order to access them later like piecesArray[index].levelup, piecesArray[index].masker etc. But upon compilingthe code, I do get this error. There is no property with the name levelup. There is no property with the name lizPiece, There is no property with the name masker etc. you get the idea. I am assuming this is something to do with scope. I am yet not sure how to deal with it though. Thanks a lot. ___ 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 http://www.figleaf.com http://training.figleaf.com ___ 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 http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Blazepdf examples?
Hi list... Does anyone have any links to blazePDF examples? I can't seem to find any when searching. Thanks, - MM ___ 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 http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] [CS3 - AS3] Getting BitmapData from a Library image
Indeed. I should have thought of that. Its base class is BitmapData and it requires two parameters (w,h) when creating a new object. Many thanks! Charles P. On 7/26/07, Jobe Makar [EMAIL PROTECTED] wrote: Hi, I know it doesn't make sense, but try passing in the width and height in the constructor. If I remember correctly that will do it. Jobe Makar http://www.electrotank.com http://www.electro-server.com phone: 252-627-8026 mobile: 919-609-0408 fax: 919-882-1121 - Original Message - From: Charles Parcell [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Thursday, July 26, 2007 1:30 PM Subject: [Flashcoders] [CS3 - AS3] Getting BitmapData from a Library image I am stumped. I have an image in my Library and I have set it to export to AS and in frame 1. I have given it the Linkage of Brick and the flash.display.BitmapData . With just that, I am able to build a SWF with no errors. But I want to use the image's BitmapData to build a larger image that will be displayed on Stage. So, to that end I am instancing the image from the Library via imageSource = new Brick(); This should make an instance of the image so I can then grab its BitmapData. but I get the following error for the indicated code above. 1136: Incorrect number of arguments. Expected 2. Thoughts? Charles P. ___ 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 http://www.figleaf.com http://training.figleaf.com ___ 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 http://www.figleaf.com http://training.figleaf.com ___ 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 http://www.figleaf.com http://training.figleaf.com
[Flashcoders] How to Avoid Terminate Script Message
Hello there people: I'm creating a projector that parses a XML DataBase but parsing takes about 10 seconds, so Terminate Script Windows came up each time I launch my app. Any suggestion?? Is there any way to set it disabled on my Projector. Thanks ___ 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 http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Q:simple depth management
mc.getInstanceAtDepth(mc.getNextHighestDepth() - 1); Attila =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= From:[EMAIL PROTECTED] [EMAIL PROTECTED] To: flashcoders flashcoders@chattyfig.figleaf.com Date:Thursday, July 26, 2007, 7:48:20 PM Subject: [Flashcoders] Q:simple depth management --===-- Maybe I've just been working too late, but can't get my head around the MOST EFFICIENT way of retrieving the topmost nested movieclip inside another movieclip. Suggestions? [e] jbach at bitstream.ca [c] 416.668.0034 [w] www.bitstream.ca ...all improvisation is life in search of a style. - Bruce Mau,'LifeStyle' ___ 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 http://www.figleaf.com http://training.figleaf.com =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= ___ 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 http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Q:simple depth management
Maybe I've just been working too late, but can't get my head around the MOST EFFICIENT way of retrieving the topmost nested movieclip inside another movieclip. Suggestions? [e] jbach at bitstream.ca [c] 416.668.0034 [w] www.bitstream.ca ...all improvisation is life in search of a style. - Bruce Mau,'LifeStyle' ___ 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 http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] (OT) fscommand and air
Yea but it definite solves my problems. Thank you Zarate. On 7/26/07, Troy Rollins [EMAIL PROTECTED] wrote: On Jul 26, 2007, at 4:19 AM, Zárate wrote: If you need to creating PDFs from Flash itself, check out Alive PDF: http://www.bytearray.org/?p=104 Personally, I was more interested in display of PDF content in a manner which is consistent with the rest of my applications. For this, *nothing* currently beats Director with the Impressario xtra. -- Troy RPSystems, Ltd. http://www.rpsystems.net ___ 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 http://www.figleaf.com http://training.figleaf.com ___ 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 http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Textfield over Bitmap Issue
Is the following a known issue? If so anyone know what I can do about it? If you look at the screenshot (linked below) there is a coloured line along the top of the word Germany (it appears all around while tweening, on the outline of the textbox). It is a dynamically created textfield over a dynamically loaded bitmap with smoothing applied as the parent sprite is all scaled from 0.3 to 1 (shown at scale of 1) using Tweener. It's a real issue, as when it's tweening in particular, it's very obvious. I thought it might be the AntiAliasType.ADVANCED but it appears when I use NORMAL too. http://www.ibltd.com/static/example/postcard.png All thoughts gratefully received. Michael ___ 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 http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] (OT) fscommand and air
Ya know what would be great for the next release of Director. If Lingo would have some native support for those classes and features that AIR supports. So, you make an AIR app, but realize that you need some if this extra functionality that only Director can give you. Just take your AIR project and make a projector in Director. And give Flash direct access to Xtras without having to go through some kind of Director proxy. Would be nice I think! ben Troy Rollins wrote: On Jul 26, 2007, at 4:19 AM, Zárate wrote: If you need to creating PDFs from Flash itself, check out Alive PDF: http://www.bytearray.org/?p=104 Personally, I was more interested in display of PDF content in a manner which is consistent with the rest of my applications. For this, *nothing* currently beats Director with the Impressario xtra. -- Troy RPSystems, Ltd. http://www.rpsystems.net ___ 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 http://www.figleaf.com http://training.figleaf.com ___ 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 http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] AS3 instantiating a new class object from a string value
MaTT, See getDefinitionByName() function in flash.utils It will give you a reference to the class name that is specified by a string. You can then use that reference to get an instance of that class. Of course you must make sure the class is loaded. Regards, Benny -Oorspronkelijk bericht- Onderwerp: [Flashcoders] AS3 instantiating a new class object from a string value Hi, I'm trying to instantiate a new class object from a xml attribute which is a string, but its not having any of it. I've tried casting the string to an object and also using this['class_id'] etc but no luck. Does someone have a solution? ___ 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 http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] (OT) fscommand and air
I don't have the full thread here at the moment, but if no one has mentioned Gregg Wygonik's BlazePDF work, for creation of PDF files from within SWF, then here's the link: http://www.blazepdf.com/faq.html jd/adobe ___ 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 http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] getURL with doc doesn't work in IE
Hi Daniel, Yes we have encountered this quite a lot as we used to link to quite a few docs from a flash movie from CDROMs. Never really had a fix for it except to create an HTML document that automatically redirected to the DOC from within. Problem was, you couldnt send a query string to the HTML via flash so you had to create one HTML file per DOC file. Not nice but works for IE6. From memory, IE6 nicely handles Word within the new browser window opened but FF/Mozilla will open a new (blank) window and then spawn Word to handle the DOC file via a dialog box. A bit messy especially if the user is running FF tabbed browsing. We have since tried to avoid opening DOCs within Flash ever since. HTH Darren On 26/07/07, Holth, Daniel C. [EMAIL PROTECTED] wrote: Hello, I have the following code in an onRelease event of a button: getURL(systems_breakdown_notes.doc,_blank); In FireFox the document opens fine, but in IE it gives a page error: Action canceled : Internet Explorer was unable to link to the Web page you requested. The page might be temporarily unavailable. ... If I focus into the address bar and hit enter (not changing anything) it will open the document. There is a comment in livedocs about this problem in IE 6, but no solutions. We can't upgrade IE, or distribute FireFox (devs have it for testing, but not the rest of employees). Anyone encountered this before, and have a solution? Thanks Daniel Holth I.S. Programmer x5217 || J401 This e-mail and its attachments are intended only for the use of the addressee(s) and may contain privileged, confidential or proprietary information. If you are not the intended recipient, or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution, displaying, copying, or use of this information is strictly prohibited. If you have received this communication in error, please inform the sender immediately and delete and destroy any record of this message. Thank you. ___ 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 http://www.figleaf.com http://training.figleaf.com ___ 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 http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Memory issue with large images
Hi All, Sorry if this is an old issue thats been discussed but couldn't find anything in google or the archives. I'm building a program that loads in images that could be over 2mb and we have noticed that the memory usage spikes after the image is loaded. Not only that but depending on if u use AS2 or AS3, memory usage could be higher in one while the other is lower. We are assuming this is Flash decompressing the image for view, but I'm curious if thats the truth. Any one know?? Here are some test results: File size: 4.26mb - Memory usage: (AS2) 61.2mb - (AS3) 55mb File size: 88k - Memory usage: (AS2) 9.9k - (AS3) 11k Thanks! Lori- ___ 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 http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] AS3 instantiating a new class object from a stringvalue
- Original Message - From: Matt Muller [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Thursday, July 26, 2007 12:29 PM Subject: [Flashcoders] AS3 instantiating a new class object from a stringvalue Hi, I'm trying to instantiate a new class object from a xml attribute which is a string, but its not having any of it. I've tried casting the string to an object and also using this['class_id'] etc but no luck. I'm not sure if I understand this properly. Are you trying to instantiate a new object whose class name is specified in the xml? Does someone have a solution? Thanks, MaTT ___ 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 http://www.figleaf.com http://training.figleaf.com ___ 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 http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] AS3 - how do i find the path to where a MC belongs?
yeah eka that seems to be a good solution but a bit resourceful depending how deep the nested mcs are. Surely there must be a native property or medoth to find the tree/path from the mc to the stage... This is driving mad... 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 new test instance. */ public function test() { var container:Sprite = new Sprite() ; var container2:Sprite = new Sprite() ; container2.graphics.beginFill(0xFF, 1) ; container2.graphics.drawCircle(0, 0, 150) ; addChild(container) ; container.addChild(container2) ; var target:String = getDisplayPathName(container2) ; trace( target ) ; } static public function getDisplayPathName( display:DisplayObject ):String { var parents:Array = [] ; var parent:* = display ; while( true ) { parents.push( parent.name ) ; parent = parent.parent ; if (parent.name == null) { break ; } } parents.reverse() ; return parents.join( . ) ; } } but it's not the better solution lol eKA+ :) 2007/7/24, quinrou . [EMAIL PROTECTED]: 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 , 0); var mc = mc.something0.attachMovie(somethingelse , somethingelse0 , 0); trace(mc) // _level0.something0.somethingelse0 In AS3 since everything is a class everytime I trace an object i get its class name. So is there anyway of know the tree to where a mc belongs? thanks seb ___ 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 http://www.figleaf.com http://training.figleaf.com ___ 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 http://www.figleaf.com http://training.figleaf.com ___ 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 http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] AS3 Events
Hi Frank, Having had a think about it, that's not _much_ different to what Delegate is doing under the hood - just Delegate's wrapper is much much lighter weight. Your version does make sure the returned event is properly typed, which is an advantage. I think I'm going with another answer in the end, but thanks. :-) Ian On 7/25/07, Frank Pepermans [EMAIL PROTECTED] wrote: How about using a wrapper class? package { import flash.events.Event; import flash.events.IEventDispatcher; public final class Wrapper { private var _contextInfo:Object; private var _a:IEventDispatcher; public function get content():IEventDispatcher { return _a; } public function get contextInfo():Object { return _contextInfo; } public function Wrapper(url:String, contextInfo:Object) { _contextInfo = contextInfo; // new instance _a = new A(); // or reference _a = A.getInstance(); // _a.addEventListener(Event.COMPLETE, onCompleteEvent); _a.loadSomething(url); } private function onCompleteEvent(eventObj:Event):void { // implement custom event to which class B will listen dispatchEvent(new CustomEvent(eventObj.type, _contextInfo)); // or specify a getter for contextInfo from this Wrapper class } } } -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ian Thomas Sent: 25 July 2007 15:16 To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] AS3 Events Oh, and reading the link you supplied, the only concrete suggestion is from Aral Balkan, who suggests (as someone did in an earlier thread) that you subclass the Event class. How would that help in my case? Any suggestions? To go back to my original example, if you assume class A is a black box that fires an event of class Event (Event.COMPLETE), we have no way (to the best of my knowledge) to make class A produce subclasses of Event instead; unless the suggestion is to subclass A to produce different events, which (depending on A's implementation) could be very difficult. Ian (Getting frustrated!) On 7/25/07, Ian Thomas [EMAIL PROTECTED] wrote: On 7/25/07, Sunil Jolly [EMAIL PROTECTED] wrote: Hi Ian, It seems like the proper way would be to create the extra functions/classes to handle this. That would solve those two issues which aren't major, but would make your code cleaner. ___ 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 http://www.figleaf.com http://training.figleaf.com ___ 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 http://www.figleaf.com http://training.figleaf.com ___ 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 http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] sending information from HTML to swf
http://www.google.com/search?hl=enq=javascript+url+querystringmeta= And you should consider joining flashnewbies: http://chattyfig.figleaf.com/mailman/listinfo/flashnewbie - Original Message - From: natalia Vikhtinskaya [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Thursday, July 26, 2007 8:42 AM Subject: Re: [Flashcoders] sending information from HTML to swf I found what I need at http://www.mustardlab.com/developer/ The only question for help. I want to have flash player on the second html page. So I need after clicking on link on the first html page send mp3 name to the second html page as url with name.Then I should take this name from this URL and send to swf. I understand that is not flash question but maybe anybody can show javascript that takes information from URL. Thanks ___ 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 http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] sending information from HTML to swf
Thank you I have found. name = name.replace(/[\[]/,\\\[).replace(/[\]]/,\\\]); var regexS = [\\?]+name+=([^#]*); var regex = new RegExp( regexS ); var results = regex.exec( window.location.href ); if( results == null ) return ; else return results[1]; Maybe anybody need. 2007/7/26, Muzak [EMAIL PROTECTED]: http://www.google.com/search?hl=enq=flash+javascript+communicationmeta= - Original Message - From: natalia Vikhtinskaya [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Thursday, July 26, 2007 7:35 AM Subject: Re: [Flashcoders] sending information from HTML to swf Any articles or examples? 2007/7/26, Helmut Granda [EMAIL PROTECTED]: search on javascript + actionscript. That is one way. ...helmut ___ 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 http://www.figleaf.com http://training.figleaf.com ___ 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 http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] How to Avoid Terminate Script Message
Split the parsing process into chunks (e.g. parse maximum n nodes in a frame). Or if your data is static and will not change (e.g. it is distributed on CD-ROM, etc.), convert the XML into an AS source file of arrays and objects, and compile it into the main SWF or into a separate movie, which can be loaded by the main movie (this eliminates parsing at all). Attila =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= From:Jorge Antonio Diaz Gutierrez [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com flashcoders@chattyfig.figleaf.com Date:Thursday, July 26, 2007, 8:24:11 PM Subject: [Flashcoders] How to Avoid Terminate Script Message --===-- Hello there people: I'm creating a projector that parses a XML DataBase but parsing takes about 10 seconds, so Terminate Script Windows came up each time I launch my app. Any suggestion?? Is there any way to set it disabled on my Projector. Thanks ___ 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 http://www.figleaf.com http://training.figleaf.com =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= ___ 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 http://www.figleaf.com http://training.figleaf.com
[Flashcoders] [JOB] Flash coder needed ASAP -- AS2
Hey all The company i work for is looking for an Actionscript person to work with me (and a couple server peeps and designers). We're a social-network development company with 97% of new projects being 100% Flash front ends. Our projects are mostly for network television properties, and based around user-generated content (think MySpace meets YouTube meets Food Network -- but all in Flash). What we need is someone who can jump in, get up to speed in a matter of hours and use existing FLAs, code, and components and build sites based on new specs. Design skills are really helpful in seeing designer mock-ups come to life and keeping things looking good, but an all out animator/illustrator is NOT what we need. Where: your living room -- which is hopefully somewhere in the US, because we can't deal with timezone differences real well. (Or, we do have offices in NYC and LA) When: NOW!! Full-time commitment, please. Pay: negotiable (not my part to deal with) You: AS2 master, have built some RIA's, some games, some tools, etc., knowledge of building and using components, class-based coding, can work under super-tight-need-it-yesterday deadlines where specs change two or three times in the course of an afternoon, data stuff like XML and JSON, building re-usable widgets, can work with ugly i just needed it to work code and not bitch all day about proper commenting style. Photoshop skill is most delightful. Extra bonus for Yahoo Flash maps knowledge, 3D concepts, Red5, and any of the various styles of throat singing. You'll laugh, you'll cry, you might get to meet reality TV stars (the boss is one). It's a decent gig. And you get to work with me! (joy, i know) If you are interested, please email me OFF LIST (gwygonik @ gmail [dot] com) with some links, code samples, general experience, etc., and we'll talk about it. Cheers g. ___ 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 http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] (OT) fscommand and air
Thank you John. On 7/26/07, John Dowdell [EMAIL PROTECTED] wrote: I don't have the full thread here at the moment, but if no one has mentioned Gregg Wygonik's BlazePDF work, for creation of PDF files from within SWF, then here's the link: http://www.blazepdf.com/faq.html jd/adobe ___ 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 http://www.figleaf.com http://training.figleaf.com ___ 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 http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] AS3 instantiating a new class object from a stringvalue
Look at getDefinitionByName. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jake Prime Sent: Thursday, July 26, 2007 9:27 AM To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] AS3 instantiating a new class object from a stringvalue I'm not sure about the actual code to instantiate, however make sure that the class you are creating is actually compiled in the first place. If it is not explicitly mentioned in your code somewhere it will not be compiled and will not be able to be created at run-time. jake On 26/07/07, Matt Muller [EMAIL PROTECTED] wrote: Hi, I'm trying to instantiate a new class object from a xml attribute which is a string, but its not having any of it. I've tried casting the string to an object and also using this['class_id'] etc but no luck. Does someone have a solution? Thanks, MaTT ___ 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 http://www.figleaf.com http://training.figleaf.com ___ 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 http://www.figleaf.com http://training.figleaf.com ___ 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 http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] AS3 instantiating a new class object from a string value
Thanks, I ended up doing this though... var ClassReference:Class = getDefinitionByName(com.foo.view.playerSkins. + aTopNavItems[i].classType) as Class; this[aTopNavItems[i].class_id] = new ClassReference(); cheers, MaTT On 7/26/07, Jake Prime [EMAIL PROTECTED] wrote: I'm not sure about the actual code to instantiate, however make sure that the class you are creating is actually compiled in the first place. If it is not explicitly mentioned in your code somewhere it will not be compiled and will not be able to be created at run-time. jake On 26/07/07, Matt Muller [EMAIL PROTECTED] wrote: Hi, I'm trying to instantiate a new class object from a xml attribute which is a string, but its not having any of it. I've tried casting the string to an object and also using this['class_id'] etc but no luck. Does someone have a solution? Thanks, MaTT ___ 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 http://www.figleaf.com http://training.figleaf.com ___ 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 http://www.figleaf.com http://training.figleaf.com ___ 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 http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Re:Displaying Chinese character set via XML
Thanks, but I don't think that's the problem. I've reverted to using Notepad and still have problems. Marc At 01:48 AM 7/26/2007, Joe Cutting wrote: I cannot get a dynamic text field to display Chinese characters from XML. Results vary from question marks in the field, to undefined, to blank. What should happen is that Flash derives elements from the XML and displays them in the textfield. I'm using XMLSA to parse the xml. I've no experience of importing chinese characters from XML but I did once do something similar with Azeri (as spoken in Azerbaijan). I seem to remember having problems with Textpad as an XML editor and ended up using a freeware editor called Notepad++ (google it). Can't remember the exact issue but it was something to do with unicode encoding. Hope that helps Joe ___ 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 http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] AS3 instantiating a new class object from a string value
flash.utils package, getDefinitionByName() Attila =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= From:Matt Muller [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Date:Thursday, July 26, 2007, 1:29:47 PM Subject: [Flashcoders] AS3 instantiating a new class object from a string value --===-- Hi, I'm trying to instantiate a new class object from a xml attribute which is a string, but its not having any of it. I've tried casting the string to an object and also using this['class_id'] etc but no luck. Does someone have a solution? Thanks, MaTT ___ 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 http://www.figleaf.com http://training.figleaf.com =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= ___ 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 http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] [Solved] getURL with doc doesn't work in IE
Removed _blank from the getURL and its working now. Daniel Holth I.S. Programmer x5217 || J401 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Holth, Daniel C. Sent: Thursday, July 26, 2007 6:18 AM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] getURL with doc doesn't work in IE Hello, I have the following code in an onRelease event of a button: getURL(systems_breakdown_notes.doc,_blank); In FireFox the document opens fine, but in IE it gives a page error: Action canceled : Internet Explorer was unable to link to the Web page you requested. The page might be temporarily unavailable. ... If I focus into the address bar and hit enter (not changing anything) it will open the document. There is a comment in livedocs about this problem in IE 6, but no solutions. We can't upgrade IE, or distribute FireFox (devs have it for testing, but not the rest of employees). Anyone encountered this before, and have a solution? Thanks Daniel Holth I.S. Programmer x5217 || J401 This e-mail and its attachments are intended only for the use of the addressee(s) and may contain privileged, confidential or proprietary information. If you are not the intended recipient, or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution, displaying, copying, or use of this information is strictly prohibited. If you have received this communication in error, please inform the sender immediately and delete and destroy any record of this message. Thank you. ___ 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 http://www.figleaf.com http://training.figleaf.com This e-mail and its attachments are intended only for the use of the addressee(s) and may contain privileged, confidential or proprietary information. If you are not the intended recipient, or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution, displaying, copying, or use of this information is strictly prohibited. If you have received this communication in error, please inform the sender immediately and delete and destroy any record of this message. Thank you. ___ 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 http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] FileReference returning full path?
Upload the file and return the full path when done. Look into the uploadCompleteData event http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/net/FileReference.html#event:uploadCompleteData regards, Muzak - Original Message - From: Mendelsohn, Michael [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Thursday, July 26, 2007 4:35 PM Subject: [Flashcoders] FileReference returning full path? Hi list... Any way for FileReference to return the full path instead of just the name of the file selected? If not, how else to get it? - MM ___ 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 http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] (OT) fscommand and air
On Jul 26, 2007, at 4:19 AM, Zárate wrote: If you need to creating PDFs from Flash itself, check out Alive PDF: http://www.bytearray.org/?p=104 Personally, I was more interested in display of PDF content in a manner which is consistent with the rest of my applications. For this, *nothing* currently beats Director with the Impressario xtra. -- Troy RPSystems, Ltd. http://www.rpsystems.net ___ 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 http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Displaying Chinese character set via XML
If you're using Unicode for your XML, the language used for text does not make any difference if it's French or Chinese. But your TextField needs characters embedded to display the text - if you're not using a device font. I just created a bare-bones movie with a TextField on Stage, with SimSun all Chinese characters embedded. Then used makeXMLSA() to parse an XML with Chinese text. It displays just fine. (But the SWF is 6.5MB) By the way there's no need to wrap the text with CDATA unless you want to escape illegal characters. Kenneth Kawamoto http://www.materiaprima.co.uk/ I cannot get a dynamic text field to display Chinese characters from XML. Results vary from question marks in the field, to undefined, to blank. What should happen is that Flash derives elements from the XML and displays them in the textfield. I'm using XMLSA to parse the xml. Another language (French) works fine. Anyone have a Chinese example that works? Here's what I've got so far: * TrueType font is SimSun. * XML is being saved as UTF-8 in TextPad and declares UTF-8 as the encoding language. Also tried this all using NotePad. Got both text editors to show the Chinese characters as the actual characters and also as boxes. Tried saving as UTF-8 and also as Big-Endian. I'm using CDATA around all text. * XML is being pasted from MS Word. Also tried pasting from Excel. * Flash textfield: Set for HTML. I've tried various combinations of embedding Chinese characters, including embedding ALL Chinese characters (lots of bytes!). I've also tried populating the text field with ALL the Chinese text, and using Auto-fill to embed those characters. I'm not using any bolding or italics. I'm losing hair over this and would really appreciate either a working example (including the xml and flash files) or some more troubleshooting methods. Thanks, Marc ___ 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 http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] AS3 Events
Hi Muzak, I think what I've already decided (having slept on it) to go for something similar to your 3rd method - to restructure (class that behave like) A so that they can carry (and return) context info. The reason I finally decided to go for that rather than Delegate is actually to deal with garbage collection; simply to make it easier for the coders using the API, as otherwise they'd have to track created Delegate objects so that they can be removed again, which is just an unnecessary headache. So; I'll try this through this iteration of the framework APIs and see how it goes. Thanks for your suggestions, Ian On 7/25/07, Muzak [EMAIL PROTECTED] wrote: Third would be to have class A dispatch a custom event which holds the contextInfo, but this also means you'll have to pass the contextInfo to A in the first place (in B) and since you wanted to avoid that, I didn't mention this solution earlier. ___ 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 http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Contract work - AS2 and AS3
Hi, Electrotank is looking for a few contractors for a variety of projects. Projects range in scope from ActionScript 2/3 games and applications, to technical writing and multi-user widget development. Work would be remote. Please send men an email offlist to [EMAIL PROTECTED] Please include this information: - Availability - Are you proficient in AS2 and AS3? - Do you have multiplayer game development experience? - Do you have ElectroServer experience? - A small number of example links. If a login is required, please supply that. Thanks! Jobe Makar http://www.electrotank.com http://www.electro-server.com phone: 252-627-8026 mobile: 919-609-0408 fax: 919-882-1121 ___ 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 http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] [CS3 - AS3] Getting BitmapData from a Library image
Hi, I know it doesn't make sense, but try passing in the width and height in the constructor. If I remember correctly that will do it. Jobe Makar http://www.electrotank.com http://www.electro-server.com phone: 252-627-8026 mobile: 919-609-0408 fax: 919-882-1121 - Original Message - From: Charles Parcell [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Thursday, July 26, 2007 1:30 PM Subject: [Flashcoders] [CS3 - AS3] Getting BitmapData from a Library image I am stumped. I have an image in my Library and I have set it to export to AS and in frame 1. I have given it the Linkage of Brick and the flash.display.BitmapData . With just that, I am able to build a SWF with no errors. But I want to use the image's BitmapData to build a larger image that will be displayed on Stage. So, to that end I am instancing the image from the Library via imageSource = new Brick(); This should make an instance of the image so I can then grab its BitmapData. but I get the following error for the indicated code above. 1136: Incorrect number of arguments. Expected 2. Thoughts? Charles P. ___ 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 http://www.figleaf.com http://training.figleaf.com ___ 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 http://www.figleaf.com http://training.figleaf.com
[Flashcoders] FileReference returning full path?
Hi list... Any way for FileReference to return the full path instead of just the name of the file selected? If not, how else to get it? - MM ___ 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 http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] AS3 instantiating a new class object from a string value
Hello :) in AS3 to instanciate an object with only this class name (String) you can use the flash.utils.getDefinitionByName() method : http://livedocs.adobe.com/flash/9.0/ActionScriptLangRefV3/flash/utils/package.html#getDefinitionByName() EKA+ :) 2007/7/26, JOR [EMAIL PROTECTED]: How about using the abstract factory design pattern? public class MyFactory { public static function createObject(objType:String):* { switch (objType) { case Foo: return new Foo(); case Bar: return new Bar(); default: return new Foo(); } } var myObj:* = MyFactory.createObject(Foo); James O'Reilly — Consultant Adobe Certified Flash Expert http://www.jamesor.com Design • Code • Train Matt Muller wrote: Hi, I'm trying to instantiate a new class object from a xml attribute which is a string, but its not having any of it. I've tried casting the string to an object and also using this['class_id'] etc but no luck. Does someone have a solution? Thanks, MaTT ___ 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 http://www.figleaf.com http://training.figleaf.com ___ 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 http://www.figleaf.com http://training.figleaf.com ___ 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 http://www.figleaf.com http://training.figleaf.com
[Flashcoders] getURL with doc doesn't work in IE
Hello, I have the following code in an onRelease event of a button: getURL(systems_breakdown_notes.doc,_blank); In FireFox the document opens fine, but in IE it gives a page error: Action canceled : Internet Explorer was unable to link to the Web page you requested. The page might be temporarily unavailable. ... If I focus into the address bar and hit enter (not changing anything) it will open the document. There is a comment in livedocs about this problem in IE 6, but no solutions. We can't upgrade IE, or distribute FireFox (devs have it for testing, but not the rest of employees). Anyone encountered this before, and have a solution? Thanks Daniel Holth I.S. Programmer x5217 || J401 This e-mail and its attachments are intended only for the use of the addressee(s) and may contain privileged, confidential or proprietary information. If you are not the intended recipient, or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution, displaying, copying, or use of this information is strictly prohibited. If you have received this communication in error, please inform the sender immediately and delete and destroy any record of this message. Thank you. ___ 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 http://www.figleaf.com http://training.figleaf.com
[Flashcoders] AS3 instantiating a new class object from a string value
Hi, I'm trying to instantiate a new class object from a xml attribute which is a string, but its not having any of it. I've tried casting the string to an object and also using this['class_id'] etc but no luck. Does someone have a solution? Thanks, MaTT ___ 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 http://www.figleaf.com http://training.figleaf.com
RE: [Flashcoders] Team Foundation Server
Thanks, I believe Dreamweaver is suppose to work with TFS through MSSCCI Provider interface, but I haven't discovered how to set it up... Doug Coning Senior Web Development Programmer FORUM Solutions [EMAIL PROTECTED] Adobe Flash Certified Expert -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Muzak Sent: Wednesday, July 25, 2007 7:16 PM To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] Team Foundation Server AFAIK, Flash source control only works with VSS 6. regards, Muzak - Original Message - From: Doug Coning [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Wednesday, July 25, 2007 4:12 PM Subject: [Flashcoders] Team Foundation Server Greetings All, Is anyone using Flash with Team Foundation Server for source control? If so, do you mind sharing the steps it took to setup the connection to TFS? Thanks, Doug Coning ___ 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 http://www.figleaf.com http://training.figleaf.com This e-mail and any attachment(s) are intended for the specified recipient(s) only and are legally protected. If you have received this communication in error, please reply to sender's e-mail address with notification of the error and then destroy this message in all electronic and physical forms. ___ 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 http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] AS3 instantiating a new class object from a string value
I'm not sure about the actual code to instantiate, however make sure that the class you are creating is actually compiled in the first place. If it is not explicitly mentioned in your code somewhere it will not be compiled and will not be able to be created at run-time. jake On 26/07/07, Matt Muller [EMAIL PROTECTED] wrote: Hi, I'm trying to instantiate a new class object from a xml attribute which is a string, but its not having any of it. I've tried casting the string to an object and also using this['class_id'] etc but no luck. Does someone have a solution? Thanks, MaTT ___ 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 http://www.figleaf.com http://training.figleaf.com ___ 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 http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Textfield over Bitmap Issue
Is the following a known issue? If so anyone know what I can do about it? If you look at the screenshot (linked below) there is a coloured line along the top of the word Germany (it appears all around while tweening, on the outline of the textbox). Hey Michael, I've seen this happening before on different situations, but it's not very consistent - it basically depends on the number of objects piled on top of each other, player version, amount of data on memory, etc. There's no sure way to trigger it, nor to fix it. The only solution I've found is changing the way some of the objects are rendered - either by using different blend modes, turning on cacheAsBitmap, or applying dummy filters - just something to make it snap out of the wrong rendering path. At one previous work I've even found that if I had one transparent box on top of the offending area, it'd force a complete redraw on every frame and fix the issue completely. Also, if you're using the beta player, well, it has a lot more of these issues than the normal versions, so I wouldn't use it as a reference. Zeh ___ 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 http://www.figleaf.com http://training.figleaf.com
[Flashcoders] [CS3 - AS3] Getting BitmapData from a Library image
I am stumped. I have an image in my Library and I have set it to export to AS and in frame 1. I have given it the Linkage of Brick and the flash.display.BitmapData . With just that, I am able to build a SWF with no errors. But I want to use the image's BitmapData to build a larger image that will be displayed on Stage. So, to that end I am instancing the image from the Library via imageSource = new Brick(); This should make an instance of the image so I can then grab its BitmapData. but I get the following error for the indicated code above. 1136: Incorrect number of arguments. Expected 2. Thoughts? Charles P. ___ 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 http://www.figleaf.com http://training.figleaf.com