[Flashcoders] Re: import documents into flash
Hey Guys, Thanks for the reply. To give a bit more information: The application would be one that runs standalone on the desktop. It would be able to import .html files, word documents and pdf files. Then grab the text in those documents and use that content. The documents wouldn't be displayed in their original way. Is flash truly a good tool for this? Grtz Tom On Feb 16, 2010, at 6:00 PM, flashcoders-requ...@chattyfig.figleaf.com wrote: Re: import documents into flash ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] import documents into flash
Hi! A client asked me to create a application that imports different data documents into flash. Html pages, word documents and pdf's. It's about the text only and the layout doesn't matter. Is flash the right choice for this? Regards, Tom ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] letter spacing changes when animating text fields
Hi, I'm trying to animate a sprite containing several sprites with a text field in each of them. The animation is far from fluid though. The letter spacing of the text field seems to change. I had this problem before already. I tried different tween engines and hand written animation using an onEnterFrame event but still no good luck. Does anybody know a workaround? The problem can be seen over here when you click the plus and minus sign: http://www.10pix.nl/Steiner/#/0_0_0 Thanks! Tom ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Interface for displayObjects
Hi! I have a tiny little problem with the following: I have two classes that should have the same dataType in order to use them in a third class. So I created an Interface that both of them implement. The two classes extend Sprite because they have a visual representation. However, when I try to add them to the displayList flash doesn't recognise them as a displayObject. I read that many people at this moment cast them back to a displayObject but that to me feels like a workaround. Anybody any suggestions? Thanks! Tom ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] drag along custom path
Hi guys, I'm trying to drag a sprite along a rectangle with rounded corners. Does anybody know an easy way to do this? Kind regards, Tom ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] central up to date data
Hi List! I'm using a class named utils.as to store data like color values in my project. This class is then extended by let's say the application.as and the menu.as. Next in the application class I change the value of a var in the utils class. When retrieving this value from the third (menu) class I still get the old value instead of the new one. What is the best thing to do when I want to keep my data central, up to date and accesible for all classes in my project? Kind regards, Tom ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] increasing real memory use
Hi list, I created a kioks application that needs to display data (text and images) 24/7. The flash projector file however uses more and more real memory from the start on. I therefore created a simple version of it as can be seen in the code below. It contains four classes: Application.as, Een.as, Twee.as and Three.as. When this simplified version runs the task manager (windows) or activity monitor (mac) reveals a data leak even though I clear up vars and listeners. The code is pretty simple, still I can't find out for quite a while now what the problem can be. Regards, Tom // Application.as // Application.as // Application.as // Application.as // Application.as // Application.as // Application.as // Application.as // Application.as import classes.*; class classes.Application { static var root_p:MovieClip = _root; function Application() { var een:Een = new Een(); var twee:Twee = new Twee(); var drie:Drie = new Drie(); root_p.een = een; root_p.twee = twee; root_p.drie = drie; root_p.een.display(); } } //Een.as //Een.as //Een.as //Een.as //Een.as //Een.as //Een.as //Een.as //Een.as //Een.as //Een.as //Een.as //Een.as //Een.as //Een.as //Een.as //Een.as import classes.*; class classes.Een { static var root_p:MovieClip = _root; function Een() { } function display() { root_p.twee.display(); } } //Twee.as //Twee.as //Twee.as //Twee.as //Twee.as //Twee.as //Twee.as //Twee.as //Twee.as //Twee.as //Twee.as //Twee.as //Twee.as //Twee.as //Twee.as import classes.*; class classes.Twee { static var root_p:MovieClip = _root; function Twee() { } function display() { loadNewImage(); } function loadNewImage() { var _this:Object = this; var image_p:MovieClip = root_p.attachMovie(void, image_mc, 0); var ml:MovieClipLoader = new MovieClipLoader(); var l:Object = new Object(); l.onLoadInit = function(target_mc:MovieClip) { if(target_mc == image_p) { var c:Number = 0; root_p.onEnterFrame = function() { if(c == 20) { c = null this.onEnterFrame = null; delete this.onEnterFrame; root_p.drie.display(ml, l); } else { c++ } } } } ml.addListener(l); ml.loadClip(2246.jpg, image_p); } } //Drie.as //Drie.as //Drie.as //Drie.as //Drie.as //Drie.as //Drie.as //Drie.as //Drie.as //Drie.as //Drie.as //Drie.as //Drie.as //Drie.as //Drie.as //Drie.as //Drie.as // import classes.*; class classes.Drie { static var root_p:MovieClip = _root; function Drie() { } function display(ml:MovieClipLoader, l:Object) { ml.unloadClip(root_p.image_mc); root_p.image_mc.removeMovieClip(); ml.removeListener(l); ml = null; l = null; var c:Number = 0; root_p.onEnterFrame = function() { if(c == 400) { this.onEnterFrame = null; delete this.onEnterFrame; c = null; root_p.een.display(); } else { c++ } } } } ___ 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 leak
Hi There, I created a flash projector file to display media on a flat screen. The application loads images and xml and is supposed to loop all day long. However, after each loop the application steals 10 mb in memory more. I deleted all the movieclips and checked all the vars with the help of a foreach loop and deleted them to. Does anybody know how to deal with this data leak?? Regards, Tom ___ 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] difference between coding in classes and in root directly
Hi, My goal is to play an FLV and use the setInterval method without problems at the same time. This works fine when my code is placed on the timeline. When the EXACT same code is placed in an external class however the FLV gets interrupped soon as the setInterval is invoked. Also an onEnterFrame interferes with the flv when using an external class. How is this possible? Kind regards, Tom class Test { static var root_p:MovieClip = _root; function Test() { display(); setInterMezzo() } function display() { var videoHolder_p:MovieClip = _root.attachMovie(videoHolder, videoHolder_mc, 0); //setup netstream var connection_nc:NetConnection = new NetConnection(); connection_nc.connect(null); var stream_ns:NetStream = new NetStream(connection_nc); //movies var videoHolder_p:MovieClip = _root.attachMovie(videoHolder, videoHolder_mc, 0); videoHolder_p.video.attachVideo(stream_ns); root_p.stream_ns.play(bokk1.flv); } function setInterMezzo() { setInterval(this, checkOnMove, 2000); } function checkOnMove() { trace(ok) } } ___ 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: difference between coding in classes and in root directly
Apologies, underneath the exact code I'm using. class Test { static var root_p:MovieClip = _root; function Test() { display(); setInterMezzo() } function display() { var videoHolder_p:MovieClip = _root.attachMovie(videoHolder, videoHolder_mc, 0); //setup netstream var connection_nc:NetConnection = new NetConnection(); connection_nc.connect(null); var stream_ns:NetStream = new NetStream(connection_nc); //movies var videoHolder_p:MovieClip = _root.attachMovie(videoHolder, videoHolder_mc, 0); videoHolder_p.video.attachVideo(stream_ns); stream_ns.play(bokk1.flv); } function setInterMezzo() { setInterval(this, checkOnMove, 2000); } function checkOnMove() { trace(ok) } } On 8/23/07, Tom Huynen [EMAIL PROTECTED] wrote: Hi, My goal is to play an FLV and use the setInterval method without problems at the same time. This works fine when my code is placed on the timeline. When the EXACT same code is placed in an external class however the FLV gets interrupped soon as the setInterval is invoked. Also an onEnterFrame interferes with the flv when using an external class. How is this possible? Kind regards, Tom class Test { static var root_p:MovieClip = _root; function Test() { display(); setInterMezzo() } function display() { var videoHolder_p:MovieClip = _root.attachMovie(videoHolder, videoHolder_mc, 0); //setup netstream var connection_nc:NetConnection = new NetConnection(); connection_nc.connect(null); var stream_ns:NetStream = new NetStream(connection_nc); //movies var videoHolder_p:MovieClip = _root.attachMovie(videoHolder, videoHolder_mc, 0); videoHolder_p.video.attachVideo(stream_ns); root_p.stream_ns.play(bokk1.flv); } function setInterMezzo() { setInterval(this, checkOnMove, 2000); } function checkOnMove() { trace(ok) } } ___ 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: difference between coding in classes and in root directly
Hi Marcelo, var test:Test = new Test(); on the first keyframe indeed. When I'm executing the code from the timeline I leave out the class definition and so. the make things a bit more clear: --- situation one (first keyframe): //setup netstream var connection_nc:NetConnection = new NetConnection(); connection_nc.connect(null); var stream_ns:NetStream = new NetStream(connection_nc); //movies var videoHolder_p:MovieClip = _root.attachMovie(videoHolder, videoHolder_mc, 0); videoHolder_p.video.attachVideo(stream_ns); stream_ns.play(bokk1.flv); --- situation two (first keyframe): var test:Test = new Test(); in combination with an externat class Test: class Test { var connection_nc:NetConnection = new NetConnection(); connection_nc.connect(null); var stream_ns:NetStream = new NetStream(connection_nc); //movies var videoHolder_p:MovieClip = _root.attachMovie(videoHolder, videoHolder_mc, 0); videoHolder_p.video.attachVideo(stream_ns); stream_ns.play(bokk1.flv); } The second gives problems when using an onEnterFrame of setInterval function. I discovered a work around when using an external class by doing the following class Test { var connection_nc:NetConnection = new NetConnection(); _root.connection_nc = connection_nc _root.connection_nc.connect(null); var stream_ns:NetStream = new NetStream(_root.connection_nc); _root.stream_ns = stream_ns //movies var videoHolder_p:MovieClip = _root.attachMovie(videoHolder, videoHolder_mc, 0); videoHolder_p.video.attachVideo(_root.stream_ns); _root.stream_ns.play(bokk1.flv); } Now it works. So by defining everything in the root no problems arise. The weird thing is that when not defining everything in the root works as well but soon as an onEnterFrame or seInterval is invoked the FLV stops playing. Any idea why this happens? Tom On 8/23/07, Marcelo de Moraes Serpa [EMAIL PROTECTED] wrote: This is the same code you sent in your first message. You can't have a class in a keyframe's code if you're using AS2, so, what I would like to know is where in your FLA you are creating this class' instance. You might be creating it in the first keyframe, like this: Keyframe1: var teste = new Test(); So, how are you doing it ? On 8/23/07, Tom Huynen [EMAIL PROTECTED] wrote: Apologies, underneath the exact code I'm using. class Test { static var root_p:MovieClip = _root; function Test() { display(); setInterMezzo() } function display() { var videoHolder_p:MovieClip = _root.attachMovie(videoHolder, videoHolder_mc, 0); //setup netstream var connection_nc:NetConnection = new NetConnection(); connection_nc.connect(null); var stream_ns:NetStream = new NetStream(connection_nc); //movies var videoHolder_p:MovieClip = _root.attachMovie(videoHolder, videoHolder_mc, 0); videoHolder_p.video.attachVideo(stream_ns); stream_ns.play(bokk1.flv); } function setInterMezzo() { setInterval(this, checkOnMove, 2000); } function checkOnMove() { trace(ok) } } On 8/23/07, Tom Huynen [EMAIL PROTECTED] wrote: Hi, My goal is to play an FLV and use the setInterval method without problems at the same time. This works fine when my code is placed on the timeline. When the EXACT same code is placed in an external class however the FLV gets interrupped soon as the setInterval is invoked. Also an onEnterFrame interferes with the flv when using an external class. How is this possible? Kind regards, Tom class Test { static var root_p:MovieClip = _root; function Test() { display(); setInterMezzo() } function display() { var videoHolder_p:MovieClip = _root.attachMovie(videoHolder, videoHolder_mc, 0); //setup netstream var connection_nc:NetConnection = new NetConnection(); connection_nc.connect(null); var stream_ns:NetStream = new NetStream(connection_nc); //movies var videoHolder_p:MovieClip = _root.attachMovie(videoHolder, videoHolder_mc, 0); videoHolder_p.video.attachVideo(stream_ns); root_p.stream_ns.play(bokk1.flv); } function setInterMezzo() { setInterval(this, checkOnMove, 2000); } function checkOnMove() { trace(ok) } } ___ 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] sending array items as function parameters
Another question... I have an array that varies in length: var myArray:Array = [item0, item1, item2, etc]; And I have a few functions that require a different amount of parameters: function test1(arg1:String, arg2:String){} function test2(arg1:String, arg2:String, arg3:String, arg4:String){} Depending on the situation one of the functions above is called and the items in the myArray should be sent as parameters. Something like this should happen: test1(myArray[0], myArray[1], etc); However, the length of myArray varies so this won't work. When I create string like var str:String = myArray[0] + , + myArray[1] + , etc everything is picked up as one parameter. Same goes for sending the myArray as parameter. It would require something like a for loop between de brackets... Is it possible? Regards, Tom ___ 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 array items as function parameters
Wow, and so easy!! Thanks a lot!! :) On 8/22/07, Hans Wichman [EMAIL PROTECTED] wrote: call and apply are your friends On 8/22/07, Tom Huynen [EMAIL PROTECTED] wrote: Another question... I have an array that varies in length: var myArray:Array = [item0, item1, item2, etc]; And I have a few functions that require a different amount of parameters: function test1(arg1:String, arg2:String){} function test2(arg1:String, arg2:String, arg3:String, arg4:String){} Depending on the situation one of the functions above is called and the items in the myArray should be sent as parameters. Something like this should happen: test1(myArray[0], myArray[1], etc); However, the length of myArray varies so this won't work. When I create string like var str:String = myArray[0] + , + myArray[1] + , etc everything is picked up as one parameter. Same goes for sending the myArray as parameter. It would require something like a for loop between de brackets... Is it possible? Regards, Tom ___ 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: Special font issue
Hey Joe, Thanks for your reaction. I've been trying to get it to work for a long time now. But still, no results. Can it be that it just isn't possible with the font I'm working with? Regards, Tom On 6/4/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Tom, Yes it is correct. But it doesn't work...The whole text is displayed correctly in the right font but euro signs are just leftout. while plain static text displays the euro sign perfectly.. I spent some time on this problem and eventually solved it. I can't remember the details but the solution is based on two key bits of information There are actually two character codes for the Euro symbol - a unicode one and an ASCII one. Different typefaces have them in different places: So I use character code \u20AC to put a Euro in the menu (AS2 menu component) And character code \u00A4 to insert a euro character in Futura. I found the only reliable way to embed the Euro character is to create a dummy dynamic textfield with the Euro in it and set to your specified font and typestyle (bold etc). Make sure the font is embedded and explicitly specify the euro in the emded box. Hope this is helpful 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 ___ 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: Special font issue
Yes I did...I don't understand it either. The sign is visible in a static textfield but it disappears in a dynamic one whatever I do. I solved it by applying another textformat each time a euro sign is present. Applying multiple textformats just for this isn't that nice but at least it's something... Thanks for the advise though, appreciate it! Tom On 6/5/07, Karina Steffens [EMAIL PROTECTED] wrote: Did you try a straight test with simply placing the dynamic text field on the stage with the euro symbol typed-in and font embedded? That should tell you if it's possible, but I can't believe that a euro symbol doesn't come with a Helvetica-family font. -Original Message- From: Tom Huynen [mailto:[EMAIL PROTECTED] Sent: 05 June 2007 09:24 To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] Re: Special font issue Hey Joe, Thanks for your reaction. I've been trying to get it to work for a long time now. But still, no results. Can it be that it just isn't possible with the font I'm working with? Regards, Tom On 6/4/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Tom, Yes it is correct. But it doesn't work...The whole text is displayed correctly in the right font but euro signs are just leftout. while plain static text displays the euro sign perfectly.. I spent some time on this problem and eventually solved it. I can't remember the details but the solution is based on two key bits of information There are actually two character codes for the Euro symbol - a unicode one and an ASCII one. Different typefaces have them in different places: So I use character code \u20AC to put a Euro in the menu (AS2 menu component) And character code \u00A4 to insert a euro character in Futura. I found the only reliable way to embed the Euro character is to create a dummy dynamic textfield with the Euro in it and set to your specified font and typestyle (bold etc). Make sure the font is embedded and explicitly specify the euro in the emded box. Hope this is helpful 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 ___ 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] Special font issue
Hi list, I'm developing a narrowcase project. The euro sign (€) in the external xml data is encoded in this way: #8364; I use Helvetica Light to display the content. It can display the eurosign perfectly when I create a static text field inb the fla. However soon as I embed the font and try to create a textfield dynamicly the eurosign disapears. The strange thing is that it works with some other fonts but not with the one I need. I tried google all day but my problem isn't solved yet. Anybody some advice for me? Regards, Tom ___ 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] Special font issue
Hello Jason, Thanks for your reaction. I do embed the font as a library item. This normally always works. Today I discoverd however that some fonts to display the eurosign and some don't. The logical explanation would be that the sign isn't supported for those specific fonts. However, when I try to type the sign in the fla in a static form the font does support the sign. Any idea about this situation? Regards, Tom On 6/4/07, Jason Law [EMAIL PROTECTED] wrote: You may need to add the font as a library item. When creating the text field dynamically it has issues with embedding special characters in my own tests. -Original Message- From: [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED] On Behalf Of Tom Huynen Sent: Monday, June 04, 2007 9:54 AM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] Special font issue Hi list, I'm developing a narrowcase project. The euro sign (€) in the external xml data is encoded in this way: #8364; I use Helvetica Light to display the content. It can display the eurosign perfectly when I create a static text field inb the fla. However soon as I embed the font and try to create a textfield dynamicly the eurosign disapears. The strange thing is that it works with some other fonts but not with the one I need. I tried google all day but my problem isn't solved yet. Anybody some advice for me? Regards, Tom ___ 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 email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. Dissemination, distribution or copying of this email or the information herein by anyone other than the intended recipient, or an employee or agent responsible for delivering the message to the intended recipient, is prohibited. If you have received this email in error, please immediately notify us by calling our Help Desk at (415) 581-5552 or by e-mailing us at [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] Special font issue
Hi Karina, I tried two ways of embedding: - Embedding trough the library making the font a library symbol. - Embedding by creating a dynamic textfield (all character sets and including the eurosign) the first one goes by the code below. Both don't seem to work Tom var root_p:MovieClip = _root; var tf:TextFormat = new TextFormat(); tf.size = 22; tf.color = 0x00; tf.font = 35 Helvetica Thin; var test_txt:TextField = root_p.createTextField(test_txt, 0, 50, 50, 500, 500); test_txt.border = true; test_txt.embedFonts = true; test_txt.html = true; test_txt.htmlText = testing + #8364; + ok; test_txt.setTextFormat(tf); On 6/4/07, Karina Steffens [EMAIL PROTECTED] wrote: Hi Ton, What character sets are you embedding? Have you tried including the euro sign in the field next to the autofill button? Karina -Original Message- From: Tom Huynen [mailto:[EMAIL PROTECTED] Sent: 04 June 2007 14:54 To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] Special font issue Hi list, I'm developing a narrowcase project. The euro sign (€) in the external xml data is encoded in this way: #8364; I use Helvetica Light to display the content. It can display the eurosign perfectly when I create a static text field inb the fla. However soon as I embed the font and try to create a textfield dynamicly the eurosign disapears. The strange thing is that it works with some other fonts but not with the one I need. I tried google all day but my problem isn't solved yet. Anybody some advice for me? Regards, Tom ___ 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] Special font issue
Yes it is correct. But it doesn't work...The whole text is displayed correctly in the right font but euro signs are just leftout. while plain static text displays the euro sign perfectly.. On 6/4/07, Jason Law [EMAIL PROTECTED] wrote: Tom, 35 Helvetica Thin is the link identifier on the font symbol correct? That should work -Original Message- From: [EMAIL PROTECTED] [mailto: [EMAIL PROTECTED] On Behalf Of Tom Huynen Sent: Monday, June 04, 2007 11:16 AM To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] Special font issue Hi Karina, I tried two ways of embedding: - Embedding trough the library making the font a library symbol. - Embedding by creating a dynamic textfield (all character sets and including the eurosign) the first one goes by the code below. Both don't seem to work Tom var root_p:MovieClip = _root; var tf:TextFormat = new TextFormat(); tf.size = 22; tf.color = 0x00; tf.font = 35 Helvetica Thin; var test_txt:TextField = root_p.createTextField(test_txt, 0, 50, 50, 500, 500); test_txt.border = true; test_txt.embedFonts = true; test_txt.html = true; test_txt.htmlText = testing + #8364; + ok; test_txt.setTextFormat(tf); On 6/4/07, Karina Steffens [EMAIL PROTECTED] wrote: Hi Ton, What character sets are you embedding? Have you tried including the euro sign in the field next to the autofill button? Karina -Original Message- From: Tom Huynen [mailto:[EMAIL PROTECTED] Sent: 04 June 2007 14:54 To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] Special font issue Hi list, I'm developing a narrowcase project. The euro sign (€) in the external xml data is encoded in this way: #8364; I use Helvetica Light to display the content. It can display the eurosign perfectly when I create a static text field inb the fla. However soon as I embed the font and try to create a textfield dynamicly the eurosign disapears. The strange thing is that it works with some other fonts but not with the one I need. I tried google all day but my problem isn't solved yet. Anybody some advice for me? Regards, Tom ___ 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 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. Dissemination, distribution or copying of this email or the information herein by anyone other than the intended recipient, or an employee or agent responsible for delivering the message to the intended recipient, is prohibited. If you have received this email in error, please immediately notify us by calling our Help Desk at (415) 581-5552 or by e-mailing us at [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] OT: Salary Questions
not true, you can enjoy the sun of mexico ;) On 4/18/07, Andrés González Aragón [EMAIL PROTECTED] wrote: Here in México a Senior with these skills. U$15k-U$20k at year. A game developement manager (Flash Guru) like me and others 6 people in the country. U$32k-U$37k at year :.( We are fucked 2007/4/18, Alias™ [EMAIL PROTECTED]: That's USD, right? $100,000 = £49,704.66 = € 73,462.297 Alias On 18/04/07, Weyert de Boer [EMAIL PROTECTED] wrote: 100-120K nice... ___ 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 -- Andrés González Aragón Desarrollador Multimedia http://www.quantium.com.mx ___ 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] FLV (like youtube)
Hi there, A project requires me to create an app that enables people to upload .avi and mov's. These movies must be visible in the frontoffice. Does anybody know how to convert .avi and .mov into FLV? Or is there a better alternative? Kind regards, Tom ___ 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] FLV and classes
Hi friends, I have the following strange problem: I have a index.fla and a Application.as. the index.fla contains a movieclip exported for actionscript name test. it contains a VideoObject with instance name testVideo In the external Application class I attach the movieClip to the stage. I can trace the videoObject but the flv won't load. The funny thing is that when I do this all directly on the timeline it works fine... The code in the class: var test_p:MovieClip = _root.attachMovie(test, test_mc, 10); var my_nc = new NetConnection(); my_nc.connect(null); var my_ns = new NetStream(my_nc); test_p.testVideo.attachVideo(my_ns); my_ns.play(movies/mini_1.flv); Anyone a suggestion? Kind Regards, Tom ___ 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] User Centred Design
Hello friends, For my graduation on multmedia design over here in The Netherlands I'm doing research on User Centred Design. I've been coding in actionscript for a few years now and the purpose of the research is to be able to create beautifull interfaces with high usability standards. So far I believe that user centred design comes from several disciplines like: Cognitive Psychology, Anthropology, Human-Computer Interaction, Visual and Graphic Arts, Communication, User-Interface Theory, Linguistics, Human-Factors, Information Design, Instructional Design, Color Theory, Typography, and more. It's a bit off topic but I know that you guys are the right persons to ask for advise. And so I would like to ask if anybody has any suggestions for me. Maybe on books or articles or just in general. Thanks in advanced Love you all! ___ 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] User Centred Design
Thanks a lot Mark, really appreciate it! On 3/21/07, Mark Winterhalder [EMAIL PROTECTED] wrote: And so I would like to ask if anybody has any suggestions for me. Maybe on books or articles or just in general. I found this both informative and highly entertaining: http://www.uwtv.org/programs/displayevent.aspx?rID=2103 This is a lecture by Alan Kay which contains stuff you might find interesting as well. I recommend you get the large MPEG2 version, because it contains old videos of early interfaces (Doug Engelbert etc): http://www.archive.org/details/AlanKeyD1987 http://www.archive.org/details/AlanKeyD1987_2 Some very nice stuff here: http://www.visualcomplexity.com/ HTH, Mark On 3/21/07, Tom Huynen [EMAIL PROTECTED] wrote: Hello friends, For my graduation on multmedia design over here in The Netherlands I'm doing research on User Centred Design. I've been coding in actionscript for a few years now and the purpose of the research is to be able to create beautifull interfaces with high usability standards. So far I believe that user centred design comes from several disciplines like: Cognitive Psychology, Anthropology, Human-Computer Interaction, Visual and Graphic Arts, Communication, User-Interface Theory, Linguistics, Human-Factors, Information Design, Instructional Design, Color Theory, Typography, and more. It's a bit off topic but I know that you guys are the right persons to ask for advise. And so I would like to ask if anybody has any suggestions for me. Maybe on books or articles or just in general. Thanks in advanced Love you all! ___ 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] User Centred Design
I checked it out and it's great! I found this one myself: Also pretty good: http://www.experientia.com/blog Regards, Tom On 3/21/07, tzoli [EMAIL PROTECTED] wrote: Here, you can find lot of articles on usability and design - http://www.alistapart.com/ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tom Huynen Sent: Wednesday, March 21, 2007 10:50 AM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] User Centred Design Hello friends, For my graduation on multmedia design over here in The Netherlands I'm doing research on User Centred Design. I've been coding in actionscript for a few years now and the purpose of the research is to be able to create beautifull interfaces with high usability standards. So far I believe that user centred design comes from several disciplines like: Cognitive Psychology, Anthropology, Human-Computer Interaction, Visual and Graphic Arts, Communication, User-Interface Theory, Linguistics, Human-Factors, Information Design, Instructional Design, Color Theory, Typography, and more. It's a bit off topic but I know that you guys are the right persons to ask for advise. And so I would like to ask if anybody has any suggestions for me. Maybe on books or articles or just in general. Thanks in advanced Love you all! ___ 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