Re: [Flashcoders] how to "get" controls and anchors of curve, gradients, etc.
Hello Andrew, Burak and Peter! @Peter: nice to 'meet you'! Beside the fact, you code links are dead now, it is hard to get through to you. ;-) I have looked for those classes some time ago, and Burak and other helped me out. I also found some nice transformation objects that can be applied to Arrays based on the 'ASVDrawing' format. I always wonder, why this format has not experienced wider distribution, especially in the open source community, because when using a mtasc/compiler-only based workflow, it makes sense to draw vectors on runtime, I think. One could e.g. implement components and skin them using different 'ASVDrawing' formatted arrays. Greetings from the stormy black forest in Germany, Matthias 2007/6/26, Burak KALAYCI <[EMAIL PROTECTED]>: Hi, Yes, Peter's classes ship with ASV along with Ivan's AS2 class. Both of the main class codes are also duplicated in ASV help file, available online. I can send the class code to anyone interested, just email me and have "ASV" in the subject line else I may miss it. One can get Peter's code and see pages through http://www.archive.org . http://web.archive.org/web/20040813055937/http://www.peterjoel.com/ActionScript/index.php?go=asvdrawingtransform Best regards, Burak www.asvguy.com Burak KALAYCI, Manitu Group http://www.buraks.com http://www.manitugroup.com - Original Message - From: "Peter Hall" <[EMAIL PROTECTED]> To: Sent: Tuesday, June 26, 2007 12:43 AM Subject: Re: [Flashcoders] how to "get" controls and anchors of curve,gradients, etc. >I think those links are dead now. I lost some files a couple of years > back, during an ill-planned move. They are possibly lurking somewhere > on an old backup. But I think all the AS files ship with ASV anyway, > or else are available somewhere on buraks.com. It's worth asking Burak > for them. > > Peter > > On 6/25/07, Matthias Dittgen <[EMAIL PROTECTED]> wrote: >> If you can't find all necessary files and classes, I can probably help >> you out. >> >> But I have not bought ASV yet myself - but I like the ASVDrawing >> format. It is also used by Helen Triolos classes to draw SVG using >> Actionscript. >> So if Flash would save directly as SVG (does Flash CS3?) your workflow >> would include using SVG. ;-) >> >> You're probably right about old Illustrator format. It is near to be >> human readably though, isn't it? At least it is (well) documented. >> >> You might want to ask Burak (the ASV Guy) yourself, what ASV could do for >> you. >> >> Matthias >> >> 2007/6/25, Andrew Sinning <[EMAIL PROTECTED]>: >> > Thanks Matthias. I'll look into ASVDrawing. >> > >> > If I'm not mistaken, old Illustrator uses cubic-beziers, whereas Flash >> > uses quadratic. There are some algorithms for approximating a >> > conversion, but I'd rather not go down that road >> > >> > Matthias Dittgen wrote: >> > >> > > Hi, >> > > >> > > if your artist produced vector graphics using Flash, you could use >> > > the >> > > commercial version of ASV (http://www.buraks.com/asv/). ASV can >> > > export >> > > these graphics and produces an intermediate format for them based on >> > > Array. >> > > >> > > You can use this Array directly in your AS Code and draw the graphics >> > > via script using the Drawing API methods of Actionscript. You can >> > > easily modify the data in the Array before you draw them to screen. >> > > >> > > See the links below or search for "ASVDrawing": >> > > http://www.peterjoel.com/ActionScript/ASVDrawing.as >> > > http://www.peterjoel.com/Samples/?go=logoskew >> > > >> > > If using dynamic drawing via Actionscript is an option for you, you >> > > could "export" your data to Actionscript also using other detours, >> > > e.g. exporting to 'easy to parse' vector formats like old Illustrator >> > > formats and importing/converting them afterwards to Actionscript. >> > > >> > > hth, >> > > Matthias >> > > >> > > 2007/6/24, Andrew Sinning <[EMAIL PROTECTED]>: >> > > >> > >> Our artist has built a set of graphics using Flash. Now I need to >> > >> derive a set of algoriths to reproduce the different graphic >> > >> elements at >> > >> any scale or hue. Is there any way to "get" curve, gradiet, and >> > >> fill >> > >> data about the various layers of a movie clip using AS2? What about >> > >> AS3? >> > >> >> > >> My goal is to create a skin. Am I going about this the wrong way? >> > >> The >> > >> online literature about skinning AS2 components is pretty weak. Are >> > >> there any great books on this subject? >> > >> ___ >> > >> 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@c
Re: [Flashcoders] Convert URLs in a string to links
Well, simplest is to use one of the many regex classes out there, failing that 8<--8<--8<--8<--8<--8<--8<--8<-- var test = "Some link http://test.com and another http://www.berty.co.uklets test."; var markedUp = ""; var h = test.split("http://";); var idx = test.indexOf("http://";); var i = idx == 0 ? 0 : 1; if(idx != -1) { for(; i 1) { href = t.shift(); r = t.join(" "); } h[i] = "http://"; + href + "\">" + href + " " + r; } markedUp = h.join(""); } else markedUp = test; trace(markedUp); 8<--8<--8<--8<--8<--8<--8<--8<-- On 6/26/07, Mick G <[EMAIL PROTECTED]> wrote: Can anyone think of an efficient way to convert a URL (or multiple URLs) in a string to a link. eg. myString = "this website http://www.this.com is really cool"; would convert to: "this website http://www.this.com is really cool. I tried splitting the string at "http://"; the splitting that again at a space and... anyway, no luck here :) Any help appreciated. ___ 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] Huge problems with preloader
Hi all, It seems it's taking time to connect with the server or something. I'm trying this from spain and the server is in USA, so that might be the problem, I don't know. Anyway, what happens is when I try to load a swf of arround 130Kb and try to print something with onLoadProgress on screen it takes a while to start printing anything at all but then it prints like ten passes through that method and loads the file all at once. Let me explain myself, this is what happens. I click to load the file ... nothing happens ... nothing happens ... nothing happens ... nothing happens (for a second or two) It prints the preloader information I told it to print when it gets throught onLoadProgress (like if it had passed through it 10 times or so) and it shows the loaded file. Everything very very fast. So I'm waiting for it to start showing the upload progress and when it finally does the file has already been loaded but it shows the progress it followed anyway. If the file is larger more or less the same happens, but then I do get to see the loader printing on screen, I only miss the first part. Also, if the file is 123Kb, Why does getBytesTotal show 1347693 ? ___ 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] Attaching a change handler to a dynamically generated comboBox
Hello List, I am having an issue with attaching a "change" handler to a ComboBox that is being dynamically generated. What is wrong with this code I am using? var myComboBox = myScrollBox.createClassChildAtDepth(mx.controls.ComboBox, DepthManager.kTop, {_x:10, _y:10}); myComboBox.addItem({label:"Foo", data:"FooBar"}); function comboDisplay(component) { trace(myComboBox.getSelectedItem().data); } myComboBox.setChangeHandler("comboDisplay"); As a test, I tried: myComboBox.onPress = function() { trace(myComboBox.getSelectedItem().data); } ... and it did trace the first item, but of course it wouldn't work as a dropdown anymore. Thanks. -- Carl Welch http://www.carlwelch.com [EMAIL PROTECTED] 805.403.4819 ___ 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] Huge problems with preloader
May be the delay at the beginning is caused by a slow connection, e.g. when you try to download a file, the browser sends a request to the server in order to ask whether the file already stored in the browser's cache is updated on the server or not. If the server's response is "not modified", the browser takes the file from the cache, which will take almost no time. But if the connection is slow, the request for checking modification may take a longer time. RS> Also, if the file is 123Kb, Why does getBytesTotal show 1347693 ? SWFs are mostly compressed files, but getBytesTotal() returns the uncompressed size of the Flash movie, instead of the actual file size. Attila =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= From:Ricardo Sánchez <[EMAIL PROTECTED]> To: flashcoders@chattyfig.figleaf.com Date:Tuesday, June 26, 2007, 11:38:02 AM Subject: [Flashcoders] Huge problems with preloader --===-- Hi all, It seems it's taking time to connect with the server or something. I'm trying this from spain and the server is in USA, so that might be the problem, I don't know. Anyway, what happens is when I try to load a swf of arround 130Kb and try to print something with onLoadProgress on screen it takes a while to start printing anything at all but then it prints like ten passes through that method and loads the file all at once. Let me explain myself, this is what happens. I click to load the file ... nothing happens ... nothing happens ... nothing happens ... nothing happens (for a second or two) It prints the preloader information I told it to print when it gets throught onLoadProgress (like if it had passed through it 10 times or so) and it shows the loaded file. Everything very very fast. So I'm waiting for it to start showing the upload progress and when it finally does the file has already been loaded but it shows the progress it followed anyway. If the file is larger more or less the same happens, but then I do get to see the loader printing on screen, I only miss the first part. Also, if the file is 123Kb, Why does getBytesTotal show 1347693 ? ___ 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] Huge problems with preloader
Hi, if you generate your swf with a size report (see publish settings), how many bytes do you exported in the first frame? greets JC On 6/26/07, Ricardo Sánchez <[EMAIL PROTECTED]> wrote: Hi all, It seems it's taking time to connect with the server or something. I'm trying this from spain and the server is in USA, so that might be the problem, I don't know. Anyway, what happens is when I try to load a swf of arround 130Kb and try to print something with onLoadProgress on screen it takes a while to start printing anything at all but then it prints like ten passes through that method and loads the file all at once. Let me explain myself, this is what happens. I click to load the file ... nothing happens ... nothing happens ... nothing happens ... nothing happens (for a second or two) It prints the preloader information I told it to print when it gets throught onLoadProgress (like if it had passed through it 10 times or so) and it shows the loaded file. Everything very very fast. So I'm waiting for it to start showing the upload progress and when it finally does the file has already been loaded but it shows the progress it followed anyway. If the file is larger more or less the same happens, but then I do get to see the loader printing on screen, I only miss the first part. Also, if the file is 123Kb, Why does getBytesTotal show 1347693 ? ___ 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] Attaching a change handler to a dynamically generated comboBox
As far I remember setChangeHandler() was used in v1 component library for Flash 6. Are you surely using v1 components? I don't think so, since there was no createClassChildAtDepth(), mx.controls.ComboBox class, etc. In v2 components there is an other way of attaching event handlers (addEventListener, "change" event). Attila =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= From:Carl Welch <[EMAIL PROTECTED]> To: Flashcoders mailing list Date:Tuesday, June 26, 2007, 11:46:14 AM Subject: [Flashcoders] Attaching a change handler to a dynamically generated comboBox --===-- Hello List, I am having an issue with attaching a "change" handler to a ComboBox that is being dynamically generated. What is wrong with this code I am using? var myComboBox = myScrollBox.createClassChildAtDepth(mx.controls.ComboBox, DepthManager.kTop, {_x:10, _y:10}); myComboBox.addItem({label:"Foo", data:"FooBar"}); function comboDisplay(component) { trace(myComboBox.getSelectedItem().data); } myComboBox.setChangeHandler("comboDisplay"); As a test, I tried: myComboBox.onPress = function() { trace(myComboBox.getSelectedItem().data); } ... and it did trace the first item, but of course it wouldn't work as a dropdown anymore. Thanks. -- Carl Welch http://www.carlwelch.com [EMAIL PROTECTED] 805.403.4819 ___ 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[2]: [Flashcoders] Huge problems with preloader
HW> if you generate your swf with a size report (see publish settings), how many HW> bytes do you exported in the first frame? Probably he wants to display loading status of an external SWF and not the movie itself, since MovieClipLoader (and onLoadProgress) cannot track loading of the main movie - so the first frame's content doesn't affect the preloader. Attila ___ 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] Huge problems with preloader
show us some code. where are you testing this? IDE, browser, local, server? > 123Kb, Why does getBytesTotal show 1347693 ? compressed VS uncompressed size. regards, Muzak - Original Message - From: "Ricardo Sánchez" <[EMAIL PROTECTED]> To: Sent: Tuesday, June 26, 2007 11:38 AM Subject: [Flashcoders] Huge problems with preloader > Hi all, > > It seems it's taking time to connect with the server or something. I'm > trying this from spain and the server is in USA, so that might be the > problem, I don't know. > > Anyway, what happens is when I try to load a swf of arround 130Kb and try to > print something with onLoadProgress on screen it takes a while to start > printing anything at all but then it prints like ten passes through that > method and loads the file all at once. > > Let me explain myself, this is what happens. > > I click to load the file > ... nothing happens > ... nothing happens > ... nothing happens > ... nothing happens > (for a second or two) > It prints the preloader information I told it to print when it gets throught > onLoadProgress (like if it had passed through it 10 times or so) and it > shows the loaded file. Everything very very fast. > > So I'm waiting for it to start showing the upload progress and when it > finally does the file has already been loaded but it shows the progress it > followed anyway. > > If the file is larger more or less the same happens, but then I do get to > see the loader printing on screen, I only miss the first part. > > Also, if the file is 123Kb, Why does getBytesTotal show 1347693 ? ___ 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] loading xml into flash in spanish(desperate)
Really, I forgot myself this detail. Thanks for remembering Muzak. best regards Leandro Amano On 6/25/07, Muzak <[EMAIL PROTECTED]> wrote: Marking it as utf-8 doesn't really make the document itself utf-8. You have to actually save it as utf-8. In notepad you can select the encoding in the save as dialog (at the bottom). Make sure UTF-8 is selected, default is ANSI. The char list that works for me when using non-english languages are these: Uppercase Lowercase Numerals Punctuation Basic Latin Latin I regards, Muzak - Original Message - From: "Leandro Amano" <[EMAIL PROTECTED]> To: Sent: Monday, June 25, 2007 10:09 PM Subject: Re: [Flashcoders] loading xml into flash in spanish(desperate) In the embedFonts, select: Uppercase, Lowercase, numerals, ponctuation and Latin I. In the xml, mark enconding as UTF-8: best regards Leandro Amano On 6/25/07, Pedro Taranto <[EMAIL PROTECTED]> wrote: > > if you trace it, do you see the especials characters in the output panel?? > if the problem is only in the text field you have to embed the font and > the especials characters in the textfield? > here is the list that I always use when i have to embed fonts: > UPPERCASE > LOWERCASE > NUMERALS > PUNCTUATION > BASICLATIN > include these characters: > > > flash does not understand the html entities like &acetilde, because the > '&' is used to separete variables > > hope it helps > > --Pedro Taranto > > > Jesse Graupmann escreveu: > > Using Macromedia Flash MX as a multilingual authoring tool > > http://www.adobe.com/support/flash/languages/flashlocalization/ > > > > > > -Original Message- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On Behalf Of Gustavo > > Duenas > > Sent: Monday, June 25, 2007 11:50 AM > > To: flashcoders@chattyfig.figleaf.com > > Subject: Re: [Flashcoders] loading xml into flash in spanish(desperate) > > > > I'm still stuck on this... would somebody help me, I don't know why > > this flash apparently doesn't want to read the xml from the attributes, > > I changed the xml into utf-8 and nothing, I also set up _sans in the > > css and nothing, does anyone knows how can I finally convince this > > flash to show my spanish characters as and the (tildes)...thanks > > Everyhting is ok, but the spanish characters. this is quite > > disturbing because I speak spanish. > > > > > > Gustavo > > this is my code: > > > > > > stop(); > > > > > > > > > > menus = new XML(); > > > > menus.ignoreWhite = true; > > > > menus.onLoad = function(success) > > { > > > > var target = _root.screenTxt.myText_txt1; > > var holder = _root.menu; > > > > var titleMenus = this.firstChild.childNodes.length; > > var menuContent = this.firstChild; > > > > for (var i = 0; i < titleMenus; ++i ) > > { > > > > var depth = holder.getNextHighestDepth(); > > var btn = holder.attachMovie( "buttons", 'btn_' + i , > depth > > ); > > > > btn._x = 0; > > btn._y = -10 * i * 4; > > > > btn.data = { > > text: menuContent.childNodes[i].attributes.text, > > title: menuContent.childNodes [i].attributes.title > > }; > > > > > > btn.poa.text = btn.data.title; > > btn.onRelease = function(){ > > > > target.html=true; > > target.htmlText =""+ > > this.data.title+"" +"" + > > ""+this.data.text+""; > > > > } > > > > } > > > > } > > > > menus.load("txt/poa.xml"); > > > > > > this is the xml > > > > ___ > > 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 > -- -- Leandro Amano Digital Bug Chief Creative Officer Adobe Certified Expert Adobe Certified Instructor Adobe User Group Leader ___ 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/flashcode
Re[2]: [Flashcoders] loading xml into flash in spanish(desperate)
Just for information: the character ranges you listed do not cover all letters of Latin based scripts, even ones used in Europe (e.g. Hungarian, Lithuanian, Ruminian, etc.). Latin 1 mostly contains special characters of Western European languages only. Attila M> The char list that works for me when using non-english languages are these: M> M> Uppercase M> Lowercase M> Numerals M> Punctuation M> Basic Latin M> Latin I ___ 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 custom mouse pointer from library impossible??
Hi Digg, You do not obtain to attach from the Library or not obtain to manipulate the level? To attach the Display List it saw Library, it uses new Object, to manipulate the niveis, uses setChildIndex (DisplayObject (object), numChildren-1); var mc = new Symbol(); addChildAt(mc, numChildren-1); best regards Leandro Amano On 6/26/07, Digg Yeah <[EMAIL PROTECTED]> wrote: Creating a custom mouse pointer by attaching [addchild ] from library seems impossible in as3. Everytime i do it,the mouse actually shows up over the pointer movieclip if i move the mouse fast! Did anyone try using addchild to create mouse pointers from library ? I tried a lot, never works .[it works with simple geometrical objcts created with as , as shown in CS3 documentation ] Thanks in advance. Shane ___ 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 -- -- Leandro Amano Digital Bug Chief Creative Officer Adobe Certified Expert Adobe Certified Instructor Adobe User Group Leader ___ 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] Stopping a Movie CLip ANimation
Ben, Thanks so much for trying this. In reading all of the documentation on 3.0 it says no more ActionScript on MovieClip timelines at all which didn't bother me until I started thinking about the basic construction I use for starting out the Flash class. And I assumed stops counted as ActionScript but didn't test it. thanks again Mark ben wrote Can you elaborate on your question? Not that I'll be able to answer, but I'm confused by what you said. I haven't really tried much in the way of timeline stuff in AS3 as I just got Flash CS3 last week. If I read you right, you're saying that I can't add a stop action to the end of an AS3 Flash 9 published SWF. WellI did, and it worked. I made a little motion tween and put a stop action at the end, and it stopped, as expected. I did the same for the first frame and it didn't move. I must be misunderstanding what you're getting at, but would really like to know if there are any unexpected things to watch out for! fill me in? Thanks! ben Mark Badger wrote: > Hi, > I'm re-writing a beginning Flash class for designers. I used Movie > Clips so that they would just adjust to using movie clips for > interactivity as they move on to more complex topics. Graphic symbols > vs. Movie Clips would just confuse students and added a layer of > confusion that made life harder. > > Now in AS 3 I can't add stops to the first frame of the movie clip. No > big deal, but then I can't add stops to the last frame of a Movie Clip > either. Is the only way to stop a Movie Clip from looping is to check > if the last frame been reached and then stop it? This seems like an > overwhelming amount of thought for a newbie to grasp. And certainly > puts this poor teacher in tears trying to explain a conditional in the > second class of Flash. > ___ 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] Stopping a Movie CLip ANimation
Yes, you can add any valid actionscript version 3 to any FRAME on any timeline ( root, mc, nested mc, etc.). You can NOT add actionscript directly to objects (buttons, mc's, etc.) but instead you reference all objects via their instance name or linkage name with actionscript on any frame, or of course from an external class. Best practice is to put all possible actionscript on the first fram of the root timeline, or in an external class, but if you are a designer, it's easy and legal to put necessary actions on the designed mc timeline. jimbo *** REPLY SEPARATOR *** On 6/26/2007 at 6:29 AM Mark Badger wrote: >Ben, >Thanks so much for trying this. In reading all of the documentation on >3.0 it says no more ActionScript on MovieClip timelines at all which >didn't bother me until I started thinking about the basic construction I >use for starting out the Flash class. And I assumed stops counted as >ActionScript but didn't test it. > >thanks again > >Mark > >ben wrote > >Can you elaborate on your question? Not that I'll be able to answer, >but I'm confused by what you said. I haven't really tried much in the >way of timeline stuff in AS3 as I just got Flash CS3 last week. If I >read you right, you're saying that I can't add a stop action to the end >of an AS3 Flash 9 published SWF. WellI did, and it worked. I >made a little motion tween and put a stop action at the end, and it >stopped, as expected. I did the same for the first frame and it didn't >move. >I must be misunderstanding what you're getting at, but would really like >to know if there are any unexpected things to watch out for! >fill me in? >Thanks! >ben > >Mark Badger wrote: > >> > Hi, >> > I'm re-writing a beginning Flash class for designers. I used Movie >> > Clips so that they would just adjust to using movie clips for >> > interactivity as they move on to more complex topics. Graphic symbols >> > vs. Movie Clips would just confuse students and added a layer of >> > confusion that made life harder. >> > >> > Now in AS 3 I can't add stops to the first frame of the movie clip. No >> > big deal, but then I can't add stops to the last frame of a Movie Clip >> > either. Is the only way to stop a Movie Clip from looping is to check >> > if the last frame been reached and then stop it? This seems like an >> > overwhelming amount of thought for a newbie to grasp. And certainly >> > puts this poor teacher in tears trying to explain a conditional in the >> > second class of Flash. >> > > >___ >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 t ___ 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 custom mouse pointer from library impossible??
Mouse.hide(); On 6/26/07, Leandro Amano <[EMAIL PROTECTED]> wrote: Hi Digg, You do not obtain to attach from the Library or not obtain to manipulate the level? To attach the Display List it saw Library, it uses new Object, to manipulate the niveis, uses setChildIndex (DisplayObject (object), numChildren-1); var mc = new Symbol(); addChildAt(mc, numChildren-1); best regards Leandro Amano On 6/26/07, Digg Yeah <[EMAIL PROTECTED]> wrote: > Creating a custom mouse pointer by attaching [addchild ] from library > seems > impossible in as3. Everytime i do it,the mouse actually shows up over the > pointer movieclip if i move the mouse fast! > > Did anyone try using addchild to create mouse pointers from library ? I > tried a lot, never works .[it works with simple geometrical objcts created > with as , as shown in CS3 documentation ] > > Thanks in advance. > > Shane > ___ > 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 > -- -- Leandro Amano Digital Bug Chief Creative Officer Adobe Certified Expert Adobe Certified Instructor Adobe User Group Leader ___ 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] Huge problems with preloader
Ok, thanks all. Knowing that it must be a delay to start getting the info of the file being download what I do is meassure that delay and adapt the preloader accordingly. With every new download my new preolader adapts and knows better how long is it going to take it to start getting the info and how much of the file will be already downloaded when that happens. So the first part of the preloading is just an animation taking the time I assume is going to take given the last downloads and the second part is the real preloader of the bytes left. Kind of tricky but it now works pretty well. On 6/26/07, Muzak <[EMAIL PROTECTED]> wrote: show us some code. where are you testing this? IDE, browser, local, server? > 123Kb, Why does getBytesTotal show 1347693 ? compressed VS uncompressed size. regards, Muzak - Original Message - From: "Ricardo Sánchez" <[EMAIL PROTECTED]> To: Sent: Tuesday, June 26, 2007 11:38 AM Subject: [Flashcoders] Huge problems with preloader > Hi all, > > It seems it's taking time to connect with the server or something. I'm > trying this from spain and the server is in USA, so that might be the > problem, I don't know. > > Anyway, what happens is when I try to load a swf of arround 130Kb and try to > print something with onLoadProgress on screen it takes a while to start > printing anything at all but then it prints like ten passes through that > method and loads the file all at once. > > Let me explain myself, this is what happens. > > I click to load the file > ... nothing happens > ... nothing happens > ... nothing happens > ... nothing happens > (for a second or two) > It prints the preloader information I told it to print when it gets throught > onLoadProgress (like if it had passed through it 10 times or so) and it > shows the loaded file. Everything very very fast. > > So I'm waiting for it to start showing the upload progress and when it > finally does the file has already been loaded but it shows the progress it > followed anyway. > > If the file is larger more or less the same happens, but then I do get to > see the loader printing on screen, I only miss the first part. > > Also, if the file is 123Kb, Why does getBytesTotal show 1347693 ? ___ 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 "get" controls and anchors of curve, gradients, etc.
Thanks. This is excellent. Burak KALAYCI wrote: Hi, Yes, Peter's classes ship with ASV along with Ivan's AS2 class. Both of the main class codes are also duplicated in ASV help file, available online. I can send the class code to anyone interested, just email me and have "ASV" in the subject line else I may miss it. One can get Peter's code and see pages through http://www.archive.org . http://web.archive.org/web/20040813055937/http://www.peterjoel.com/ActionScript/index.php?go=asvdrawingtransform Best regards, Burak www.asvguy.com Burak KALAYCI, Manitu Group http://www.buraks.com http://www.manitugroup.com - Original Message - From: "Peter Hall" <[EMAIL PROTECTED]> To: Sent: Tuesday, June 26, 2007 12:43 AM Subject: Re: [Flashcoders] how to "get" controls and anchors of curve,gradients, etc. I think those links are dead now. I lost some files a couple of years back, during an ill-planned move. They are possibly lurking somewhere on an old backup. But I think all the AS files ship with ASV anyway, or else are available somewhere on buraks.com. It's worth asking Burak for them. Peter On 6/25/07, Matthias Dittgen <[EMAIL PROTECTED]> wrote: If you can't find all necessary files and classes, I can probably help you out. But I have not bought ASV yet myself - but I like the ASVDrawing format. It is also used by Helen Triolos classes to draw SVG using Actionscript. So if Flash would save directly as SVG (does Flash CS3?) your workflow would include using SVG. ;-) You're probably right about old Illustrator format. It is near to be human readably though, isn't it? At least it is (well) documented. You might want to ask Burak (the ASV Guy) yourself, what ASV could do for you. Matthias 2007/6/25, Andrew Sinning <[EMAIL PROTECTED]>: > Thanks Matthias. I'll look into ASVDrawing. > > If I'm not mistaken, old Illustrator uses cubic-beziers, whereas Flash > uses quadratic. There are some algorithms for approximating a > conversion, but I'd rather not go down that road > > Matthias Dittgen wrote: > > > Hi, > > > > if your artist produced vector graphics using Flash, you could use > > the > > commercial version of ASV (http://www.buraks.com/asv/). ASV can > > export > > these graphics and produces an intermediate format for them based on > > Array. > > > > You can use this Array directly in your AS Code and draw the graphics > > via script using the Drawing API methods of Actionscript. You can > > easily modify the data in the Array before you draw them to screen. > > > > See the links below or search for "ASVDrawing": > > http://www.peterjoel.com/ActionScript/ASVDrawing.as > > http://www.peterjoel.com/Samples/?go=logoskew > > > > If using dynamic drawing via Actionscript is an option for you, you > > could "export" your data to Actionscript also using other detours, > > e.g. exporting to 'easy to parse' vector formats like old Illustrator > > formats and importing/converting them afterwards to Actionscript. > > > > hth, > > Matthias > > > > 2007/6/24, Andrew Sinning <[EMAIL PROTECTED]>: > > > >> Our artist has built a set of graphics using Flash. Now I need to > >> derive a set of algoriths to reproduce the different graphic > >> elements at > >> any scale or hue. Is there any way to "get" curve, gradiet, and > >> fill > >> data about the various layers of a movie clip using AS2? What about > >> AS3? > >> > >> My goal is to create a skin. Am I going about this the wrong way? > >> The > >> online literature about skinning AS2 components is pretty weak. Are > >> there any great books on this subject? > >> ___ > >> 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 A
Re: [Flashcoders] AS3 custom mouse pointer from library impossible??
Thanks a lot for your reply Leandro. To clarify the situation a bit more better, i have uploaded the most relevant code along with a sample file at this thread: http://www.kirupa.com/forum/showthread.php?t=265342. It would be great if you could look into the code and the attachment [its just the most scaled down version to illustrate the mouse pointer issue] Once again,thanks a lot for the response Leandro. -Shane On 6/26/07, Leandro Amano <[EMAIL PROTECTED]> wrote: Hi Digg, You do not obtain to attach from the Library or not obtain to manipulate the level? To attach the Display List it saw Library, it uses new Object, to manipulate the niveis, uses setChildIndex (DisplayObject (object), numChildren-1); var mc = new Symbol(); addChildAt(mc, numChildren-1); best regards Leandro Amano On 6/26/07, Digg Yeah <[EMAIL PROTECTED]> wrote: > Creating a custom mouse pointer by attaching [addchild ] from library > seems > impossible in as3. Everytime i do it,the mouse actually shows up over the > pointer movieclip if i move the mouse fast! > > Did anyone try using addchild to create mouse pointers from library ? I > tried a lot, never works .[it works with simple geometrical objcts created > with as , as shown in CS3 documentation ] > > Thanks in advance. > > Shane > ___ > 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 > -- -- Leandro Amano Digital Bug Chief Creative Officer Adobe Certified Expert Adobe Certified Instructor Adobe User Group Leader ___ 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] Revenue?
I have been looking into a couple ways that you can make money with flash content. I was thinking about making widgets over games, but since I am so new, I figured the best thing to do was to come to the experts. 1. What should I create? (game/widget) 2. How should I dustribute? 3. How could I make a decent amount of revenue? ...Would be interesting to get a good thread going, Thanks! CW ___ 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: Re[2]: [Flashcoders] loading xml into flash in spanish(desperate)
- Original Message - From: "Rkos Attila" <[EMAIL PROTECTED]> To: "Muzak" Sent: Tuesday, June 26, 2007 1:40 PM Subject: Re[2]: [Flashcoders] loading xml into flash in spanish(desperate) Latin 1 mostly contains special characters of Western European languages only. > Which is the ones I use/need ;-) regards, Muzak ___ 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] Revenue?
hi Christopher why don't you check on SMS.CA But you are working there ?? nice WEB 2.0 move. best jeanphy Le 07-06-26 à 11:03, Christopher Wissmath a écrit : I have been looking into a couple ways that you can make money with flash content. I was thinking about making widgets over games, but since I am so new, I figured the best thing to do was to come to the experts. 1. What should I create? (game/widget) 2. How should I dustribute? 3. How could I make a decent amount of revenue? ...Would be interesting to get a good thread going, Thanks! CW ___ 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] FMS, No event when client had lost connection?
Hey guys, Has anyone expierenced that the FMS server doesn't get an "onDisconnect" form a client that has lost his connection? After a while (up to 10 min) the fms will throw the user out the list.. But by then the client could have reconnected again.. will get new Client ID and give trouble with the old "ghost" username in the peoplelist with people connected. Off course this can be solved with ducktape and ping commands every now and then.. but has anyone got another approuch? Maybe server settings or something else? This should be the 2.0.4 version With kind regards, Dennis ___ 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] Revenue?
Yeah, I am doing some research on what other options there are out there. I know you guys know best. Where else would you go? What do you like about other option? What do you like about SMS.ac? CW -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of promo+biboune.net Sent: Tuesday, June 26, 2007 8:17 AM To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] Revenue? hi Christopher why don't you check on SMS.CA But you are working there ?? nice WEB 2.0 move. best jeanphy Le 07-06-26 à 11:03, Christopher Wissmath a écrit : I have been looking into a couple ways that you can make money with flash content. I was thinking about making widgets over games, but since I am so new, I figured the best thing to do was to come to the experts. 1. What should I create? (game/widget) 2. How should I dustribute? 3. How could I make a decent amount of revenue? ...Would be interesting to get a good thread going, Thanks! CW ___ 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] Revenue?
£0.02 Learn flash - get hired. Learn it more - get hired to teach others. Rant about flash - get hired by Adobe. :) Christopher Wissmath wrote: I have been looking into a couple ways that you can make money with flash content. I was thinking about making widgets over games, but since I am so new, I figured the best thing to do was to come to the experts. 1. What should I create? (game/widget) 2. How should I dustribute? 3. How could I make a decent amount of revenue? ...Would be interesting to get a good thread going, Thanks! CW ___ 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] load image in livepreview?
I've been building components since.. well.. the Flash 5 days, and every once in a while I need a component to load an image and display it while the component is in livepreview (on the stage, before test movie, etc). Each time I dig around thinking this is just nuts.. there has to be a way, and most of the time I fake it and embed the image into the component or do some other hokey workaround. Well.. now I really need to have a component load an image during livepreview and I'm not finding a way. bah! Anybody out there have the secret? Or.. is it just not possible? Never miss an email again! Yahoo! Toolbar alerts you the instant new Mail arrives. http://tools.search.yahoo.com/toolbar/features/mail/ ___ 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] load image in livepreview?
when you say "load" are you talking externally? or embedded in the component swc? are we talking AS3? is this a new FLA based component for AS3 or swc? AS3 wraps the component at designtime with a livePreviewParent class and it's running a swf essentially. So, you should be able to load an external file without a problem. I'm building a component right now thats loading XML and multiple images at design time in the IDE without any problem without any special tricks. Although, i will say, you have to use an absolute path - relative won't work from where the FLA is saved if that's what you're assuming. C:\Program Files\Adobe\Adobe Flash CS3\en\Configuration\ActionScript 3.0\Classes\fl\livepreview\LivePreviewParent.as hth, John On 6/26/07, Mike Lyda <[EMAIL PROTECTED]> wrote: I've been building components since.. well.. the Flash 5 days, and every once in a while I need a component to load an image and display it while the component is in livepreview (on the stage, before test movie, etc). Each time I dig around thinking this is just nuts.. there has to be a way, and most of the time I fake it and embed the image into the component or do some other hokey workaround. Well.. now I really need to have a component load an image during livepreview and I'm not finding a way. bah! Anybody out there have the secret? Or.. is it just not possible? Never miss an email again! Yahoo! Toolbar alerts you the instant new Mail arrives. http://tools.search.yahoo.com/toolbar/features/mail/ ___ 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 -- [ JPG ] ___ 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] On upgrade - Combobox with CF dies
I have a three year old program that I am updating. It uses FCS and has a combobox that is populated directly from a CF database. When I run the old .swf file eveything is fine, so I know the back end is OK. http://www.virtualantietam.com/ms_vc/ms_vcOld.html (log in as Stephen) But when I Publish it in either Flash MX Pro 2004 or in Flash CS, everything works except the Combobox. It just sits there. Empty and sad. http://www.virtualantietam.com/ms_vc/ms_vc.html (log in as Stephen) I have changed a lot in this update, but the ComboBox fails even if I just open the old .fla and republish. I have the publish settings set to Flash Player 6 and Actionscript 1.0. Any thoughts? Thanks. Stephen Recker Interactive Producer Another Software Miracle P.O. Box 705 Sharpsburg, MD 21782 240-217-3664 800-417-9596 http://www.anothersoftwaremiracle.com http://www.virtualgettysburg.com http://www.virtualantietam.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] Attaching a change handler to a dynamically generated comboBox
I'm using Flash 9. I just tried using this instead of setChangeHandler: var myComboBox = myScrollBox.createClassChildAt Depth(mx.controls.ComboBox, DepthManager.kTop, {_x:10, _y:10}); myCondition.change = function(eventObj){ // combo = myComboBox.getSelectedItem().data; combo = myComboBox.selectedItem; trace(combo.label); } myComboBox.addEventListener("change", myCondition); ... And it didn't work either. Any advice? Thanks, --Carl On 6/26/07, Rákos Attila <[EMAIL PROTECTED]> wrote: As far I remember setChangeHandler() was used in v1 component library for Flash 6. Are you surely using v1 components? I don't think so, since there was no createClassChildAtDepth(), mx.controls.ComboBox class, etc. In v2 components there is an other way of attaching event handlers (addEventListener, "change" event). Attila =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= From:Carl Welch <[EMAIL PROTECTED]> To: Flashcoders mailing list Date:Tuesday, June 26, 2007, 11:46:14 AM Subject: [Flashcoders] Attaching a change handler to a dynamically generated comboBox --===-- Hello List, I am having an issue with attaching a "change" handler to a ComboBox that is being dynamically generated. What is wrong with this code I am using? var myComboBox = myScrollBox.createClassChildAtDepth(mx.controls.ComboBox, DepthManager.kTop, {_x:10, _y:10}); myComboBox.addItem({label:"Foo", data:"FooBar"}); function comboDisplay(component) { trace(myComboBox.getSelectedItem().data); } myComboBox.setChangeHandler("comboDisplay"); As a test, I tried: myComboBox.onPress = function() { trace(myComboBox.getSelectedItem().data); } ... and it did trace the first item, but of course it wouldn't work as a dropdown anymore. Thanks. -- Carl Welch http://www.carlwelch.com [EMAIL PROTECTED] 805.403.4819 ___ 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 -- Carl Welch http://www.carlwelch.com [EMAIL PROTECTED] 805.403.4819 ___ 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] load image in livepreview?
Sorry.. AS2, loading from external file --- John Grden <[EMAIL PROTECTED]> wrote: > when you say "load" are you talking externally? or embedded in the > component swc? are we talking AS3? is this a new FLA based component for > AS3 or swc? > > AS3 wraps the component at designtime with a livePreviewParent class and > it's running a swf essentially. So, you should be able to load an external > file without a problem. I'm building a component right now thats loading > XML and multiple images at design time in the IDE without any problem > without any special tricks. Although, i will say, you have to use an > absolute path - relative won't work from where the FLA is saved if that's > what you're assuming. > > C:\Program Files\Adobe\Adobe Flash CS3\en\Configuration\ActionScript > 3.0\Classes\fl\livepreview\LivePreviewParent.as > > hth, > > John > Bored stiff? Loosen up... Download and play hundreds of games for free on Yahoo! Games. http://games.yahoo.com/games/front ___ 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] load image in livepreview? [solution]
the hint from John Grden was good.. the path to the external file has to be absolute to load the image in during livepreview. Yahoo! oneSearch: Finally, mobile search that gives answers, not web links. http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC ___ 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
ADMIN: OT (was RE: [Flashcoders] Revenue?)
> I have been looking into a couple ways that you can make > money with flash content. I was thinking about making widgets > over games, but since I am so new, I figured the best thing > to do was to come to the experts. > > 1. What should I create? (game/widget) > 2. How should I dustribute? > 3. How could I make a decent amount of revenue? > > ...Would be interesting to get a good thread going, Note that the name of this list is [Flashcoders]. Not [Flashhowtomakemoney]. This is OT, please drop it. Thanks! Your friendly list administrator, Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! This email has been processed by SmoothZap - www.smoothwall.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] Watermarking FLV VIdeos
Hi, I want to watermark flv videos using command line utility. Can any one suggest me some solution. Thanks Tarjinder Kumar ___ 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] Flash Lite 2.1
- Original Message - From: "Martin Klasson" <[EMAIL PROTECTED]> To: "Flashcoders mailing list" Sent: Tuesday, February 06, 2007 11:46 AM Subject: [Flashcoders] Flash Lite 2.1 Hi Flashcoders, Do you have tips on where to find the best sources of information about Flash Lite development outside the adobe.com domain? Or is there a mailing-list, or is Flashcoders the place to talk and discuss Flash Lite problems and practices on? Check out the flashlite group on yahoo.. / martin ___ 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] detect if/when swf gets focus
Hi all, is there a way in AS2 to tell when an swf gains focus? We're having an issue when a user downloads a file via html link that when the download dialog box finishes a swf gains focus on the page(at least I think it's the swf, cant tell if i cant test). I've tried a few hacks trying to detect focus but nothing seems to work. :boggled: B. ___ 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] Revenue?
Based on previous experience of trying to commercialise Flash tools/ widgets etc we have learned two key things: 1 - Developers don't buy stuff. They simply don't like paying money for anything. 2 - If your skills are in Flash development then you are probably not a marketeer. So, find something you can commercialise in the consumer market, and get someone else to market it for you. 2c Arse www.snepo.com On 27/06/2007, at 1:03 AM, Christopher Wissmath wrote: I have been looking into a couple ways that you can make money with flash content. I was thinking about making widgets over games, but since I am so new, I figured the best thing to do was to come to the experts. 1. What should I create? (game/widget) 2. How should I dustribute? 3. How could I make a decent amount of revenue? ...Would be interesting to get a good thread going, Thanks! CW ___ 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] fyi ... Adobe's Marketing Of Flash and Apollo Should Be Copied By Others
Following is a link for a blog post that is a nice, feel good piece for the teams at Adobe and for the Adobe community: Adobe's Marketing Of Flash and Apollo Should Be Copied By Others http://blog.streamingmedia.com/the_business_of_online_vi/2007/06/adobes-marketin.html I just hope competitors never figure out Adobe's secret ;-) 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
[Flashcoders] MovieClip Buttons in Flash CS3 ActionScript 3
In ActionScript 2, I never used button symbols. Instead I would create buttons as MovieClips, give the frames of the buttons labels -- "_up", "_down", "_over" -- and assign an event handler to them. I tried this in AS3, but it didn't seem to work. Is there some new secret to MovieClip buttons in Flash 9? thanks, Adam ___ 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 can I keep some MovieClips always on top?
I need to maintain certain movieclips always on top. I have been using getNextHighestDepth() in creating these movieclips. One option is to specify the depth for these alone to be very close at the point of their creation. However, am not sure if mixing getNextHighestDepth() for some MCs and hard coding for some others is the best way to do this. Appreciate if anyone can suggest a better way.. Thanks Kannan Kannan Bharadwaj SolutionSpace Email: [EMAIL PROTECTED] URL: www.solution-space.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] How can I keep some MovieClips always on top?
Have a look at the DepthManager http://livedocs.adobe.com/flash/9.0/main/2920.html regards, Muzak - Original Message - From: "Kannan Bharadwaj" <[EMAIL PROTECTED]> To: Sent: Wednesday, June 27, 2007 8:46 AM Subject: [Flashcoders] How can I keep some MovieClips always on top? >I need to maintain certain movieclips always on top. I have been using > getNextHighestDepth() in creating these movieclips. One option is to specify > the depth for these alone to be very close at the point of their creation. > However, am not sure if mixing getNextHighestDepth() for some MCs and hard > coding for some others is the best way to do this. > > Appreciate if anyone can suggest a better way.. > > > > Thanks > > Kannan ___ 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