[Flashcoders] GIF -IMAGE LOADING
Hi All, For my project i need load GIF Animated GIF's from Xml and want to show in SLIDESHOW.. I' ve used Timer for loading but i'm not able to make fade ON/OFF one by one.. as like in AS2.. I've try with SPRite still it is not worked out.. Thanks! For any one help me! bye Yuva ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] problem with swfaddress
Try naming the : var attributes={id:"MainMafle"} to var attributes={id:"main1"} Not sure if it will help, but I can remember some wierd issues with swfaddress and the id. Jiri Gustavo Duenas wrote: Hi I have a problem in swf address, I've been following the example on gotoandlearn.com and this is my second time, first time went good, but this time is odd. here is my code on the flash side: stop(); import com.asual.swfaddress.SWFAddress; import com.asual.swfaddress.SWFAddressEvent; import flash.display.*; import flash.filters.*; import flash.display.BlendMode; import flash.net.URLLoader; import flash.net.URLRequest; import flash.display.Loader; import flash.text.StyleSheet; import fl.controls.UIScrollBar; //swfaddress// SWFAddress.addEventListener(SWFAddressEvent.CHANGE, onChange); function onChange(e:SWFAddressEvent):void{ trace(e.value); if(e.value != "/") SWFAddress.setTitle("Mafle Photography Jacksonville Fl-" + e.value.substring(1)); else SWFAddress.setTitle("Mafle Photography - Home"); } function aboutUs():void{ SWFAddress.setValue("AboutUs"); trace("about"); } function commercialPics():void{ SWFAddress.setValue("Commercial"); trace("commercial"); } function contactUs():void{ SWFAddress.setValue("Contact"); trace("contact"); } function modelPictures():void{ SWFAddress.setValue("Models"); trace("models"); } function portraitPics():void{ trace("portraits"); SWFAddress.setValue("Portraits"); } function weddingPictures():void{ SWFAddress.setValue("Weddings"); trace("weddings"); } function engagementPictures():void{ SWFAddress.setValue("Engagements"); trace("engagements"); } function homeMafle():void{ SWFAddress.setValue("Home"); trace("home"); } function blogMafle():void{ SWFAddress.setValue("Blog"); trace("blog"); } function stockPictures():void{ SWFAddress.setValue("Stock"); trace("stock"); } function clickDefault():void{ SWFAddress.setValue("Default"); trace("default"); } function onClick(e:MouseEvent):void{ if (e.currentTarget.name == "about"){ aboutUs(); }else if(e.currentTarget.name=="commercial"){ commercialPics(); }else if(e.currentTarget.name=="weddings"){ weddingPictures(); }else if(e.currentTarget.name=="portraits"){ portraitPics(); }else if(e.currentTarget.name=="engagements"){ engagementPictures(); }else if(e.currentTarget.name=="contact"){ contactUs(); }else if(e.currentTarget.name=="models"){ modelPictures(); }else if(e.currentTarget.name=="stock"){ stockPictures(); }else if(e.currentTarget.name=="blog"){ blogMafle(); }else if(e.currentTarget.name=="home"){ homeMafle(); }else { clickDefault();} } ok, I've been doing everything as the video said, but I don't see a problem in the flash. here is my html code. Untitled Document var attributes={id:"MainMafle"}swfobject.embedSWF("main1.swf", "content", "1024", "768", "10.0.0",null,null,null, attributes);OK. everything is looking good, but in someway it is not working, someone please help me out. Gustavo ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] problem with swfaddress
Hi, I was wondering if this issue has something to do with the fact That I have embed fonts in the flash movie? let me know, otherwise, I'm still needing desperately help. gus On Jul 6, 2009, at 10:06 PM, Gustavo Duenas wrote: Hi I have a problem in swf address, I've been following the example on gotoandlearn.com and this is my second time, first time went good, but this time is odd. here is my code on the flash side: stop(); import com.asual.swfaddress.SWFAddress; import com.asual.swfaddress.SWFAddressEvent; import flash.display.*; import flash.filters.*; import flash.display.BlendMode; import flash.net.URLLoader; import flash.net.URLRequest; import flash.display.Loader; import flash.text.StyleSheet; import fl.controls.UIScrollBar; //swfaddress// SWFAddress.addEventListener(SWFAddressEvent.CHANGE, onChange); function onChange(e:SWFAddressEvent):void{ trace(e.value); if(e.value != "/") SWFAddress.setTitle("Mafle Photography Jacksonville Fl-" + e.value.substring(1)); else SWFAddress.setTitle("Mafle Photography - Home"); } function aboutUs():void{ SWFAddress.setValue("AboutUs"); trace("about"); } function commercialPics():void{ SWFAddress.setValue("Commercial"); trace("commercial"); } function contactUs():void{ SWFAddress.setValue("Contact"); trace("contact"); } function modelPictures():void{ SWFAddress.setValue("Models"); trace("models"); } function portraitPics():void{ trace("portraits"); SWFAddress.setValue("Portraits"); } function weddingPictures():void{ SWFAddress.setValue("Weddings"); trace("weddings"); } function engagementPictures():void{ SWFAddress.setValue("Engagements"); trace("engagements"); } function homeMafle():void{ SWFAddress.setValue("Home"); trace("home"); } function blogMafle():void{ SWFAddress.setValue("Blog"); trace("blog"); } function stockPictures():void{ SWFAddress.setValue("Stock"); trace("stock"); } function clickDefault():void{ SWFAddress.setValue("Default"); trace("default"); } function onClick(e:MouseEvent):void{ if (e.currentTarget.name == "about"){ aboutUs(); }else if(e.currentTarget.name=="commercial"){ commercialPics(); }else if(e.currentTarget.name=="weddings"){ weddingPictures(); }else if(e.currentTarget.name=="portraits"){ portraitPics(); }else if(e.currentTarget.name=="engagements"){ engagementPictures(); }else if(e.currentTarget.name=="contact"){ contactUs(); }else if(e.currentTarget.name=="models"){ modelPictures(); }else if(e.currentTarget.name=="stock"){ stockPictures(); }else if(e.currentTarget.name=="blog"){ blogMafle(); }else if(e.currentTarget.name=="home"){ homeMafle(); }else { clickDefault();} } ok, I've been doing everything as the video said, but I don't see a problem in the flash. here is my html code. Untitled Document var attributes={id:"MainMafle"}swfobject.embedSWF("main1.swf", "content", "1024", "768", "10.0.0",null,null,null, attributes);OK. everything is looking good, but in someway it is not working, someone please help me out. Gustavo ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] weirdness in flv playing
Hello list, I load a flv with NetConnection class, and I pause it just after it starts. So, I wait it load 100%, to play it w/o any lag. The issue is, when it's 100% and I plays, it starts play fast, like two times the normal speed. If I reload my page, as it's cached, it backs to regular speed... Have anyone already encountered some similar issue? Seems the pause in my net connection is messing up my flv frame rate... Thank you, -- Fabio Pinatti :: web.developer www.pinatti.com.br :: 19. 9184.3745 / 3342.1130 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] AS3 Loader failing under 10,0,22,87
Are there known issues with player 10,0,22,87 with the Loader class failing when there are multiple Loader children in the display list at the same time?I had a prototype working just fine under Windows with an older plugin, but after updating the plugin only one Loader will complete at a time. I'm also seeing the problem under FF and Safari on my Mac, both of which have 10,0,22,87 installed. The user gets to choose which images get loaded. If I refresh the movie and choose a different image, each individual image will load. But if I have one Loader displayed and then choose a 2nd image to get displayed next to it, it won't load. If I remove the first Loader before selecting a 2nd one then the 2nd one seems to work just fine, but even doing this it eventually fails. I guess the next step is to install a older plugin to see if that fixes it Thanks! ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Distributing Fonts in a standalone application
http://www.fontembedding.com/ AFAIK, if you have a license to use the font and the license does not forbid you to embed it into a SWF file you can use it because you are not giving the TTF file away, but check out the URL above for clarification - it looks quite useful. Glen Kenneth Kawamoto wrote: I remember Macromedia used to say: "Because embedded fonts are available only to the movie, there are no legal obstacles to distributing fonts in Director movies" or "Director modify the font slightly so it's no longer the original font" type thing. I'd have thought Adobe's stance is the same, but if you want to play safe you can use Adobe fonts :) http://www.adobe.com/type/browser/legal/embeddingeula.html Kenneth Kawamoto http://www.materiaprima.co.uk/ Sumeet Kumar wrote: Hi All, I am developing a desktop application in AS 2.0, in which user can design(add text, change text font or add image on the Tshirt for printing) his/her T-Shirts. Also, i have to give certain templates to user, out of these templates user can pick any template and design the T-Shirts using the selected template. For designing the templates, I am using windows default fonts like verdana, arial etc. My questions is, can i distribute these fonts by creating swf files(shared library)? Any help on this would be great. Regards Sumeet kumar ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Distributing Fonts in a standalone application
I remember Macromedia used to say: "Because embedded fonts are available only to the movie, there are no legal obstacles to distributing fonts in Director movies" or "Director modify the font slightly so it's no longer the original font" type thing. I'd have thought Adobe's stance is the same, but if you want to play safe you can use Adobe fonts :) http://www.adobe.com/type/browser/legal/embeddingeula.html Kenneth Kawamoto http://www.materiaprima.co.uk/ Sumeet Kumar wrote: Hi All, I am developing a desktop application in AS 2.0, in which user can design(add text, change text font or add image on the Tshirt for printing) his/her T-Shirts. Also, i have to give certain templates to user, out of these templates user can pick any template and design the T-Shirts using the selected template. For designing the templates, I am using windows default fonts like verdana, arial etc. My questions is, can i distribute these fonts by creating swf files(shared library)? Any help on this would be great. Regards Sumeet kumar ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] weird whitespace issue
There are a couple of things that might cause PHP to send extra characters with your text. Try clearing the Output Buffer before generating any HTTP headers and sending text via PHP. That has worked for me in the past. http://us3.php.net/manual/en/function.ob-clean.php http://us3.php.net/manual/en/function.ob-end-clean.php - Jason ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] weird whitespace issue
hey cedric, nope! it changes, plus i don't see it ever locally! weirdest thing ever... 2009/7/6 Cedric Muller > hello tom, > > you mean the whitespace from the start of the paragraph ? isn't it some > paragraph start margin ? > > cheers > cedric > > hey all, >> just in the final stages of finishing a project and have come across >> something i've not seen b4, which is a problem ;) >> >> basically have a look here... www.sciop.it/news/articoli/108/ >> >> before the N there is some whitespace. using firebug i see that before the >> N >> there is nothing whatsoever coming from the db via php, i have also tried >> using a while loop to strip out leading spaces from the htmlText property >> of >> the textfield in question. i think it has something to do with using an >> tag to get the text to flow around different sized images. >> >> it doesn't happen all the time however, diffferent articles sometimes >> don't >> have the problem, sometimes it's worse (www.sciop.it/news/articoli/106/). >> >> anyone know what's going on here? >> >> thanks, >> >> tom. >> ___ >> Flashcoders mailing list >> Flashcoders@chattyfig.figleaf.com >> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >> > > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] weird whitespace issue
hello tom, you mean the whitespace from the start of the paragraph ? isn't it some paragraph start margin ? cheers cedric hey all, just in the final stages of finishing a project and have come across something i've not seen b4, which is a problem ;) basically have a look here... www.sciop.it/news/articoli/108/ before the N there is some whitespace. using firebug i see that before the N there is nothing whatsoever coming from the db via php, i have also tried using a while loop to strip out leading spaces from the htmlText property of the textfield in question. i think it has something to do with using an tag to get the text to flow around different sized images. it doesn't happen all the time however, diffferent articles sometimes don't have the problem, sometimes it's worse (www.sciop.it/news/articoli/ 106/). anyone know what's going on here? thanks, tom. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] weird whitespace issue
hey all, just in the final stages of finishing a project and have come across something i've not seen b4, which is a problem ;) basically have a look here... www.sciop.it/news/articoli/108/ before the N there is some whitespace. using firebug i see that before the N there is nothing whatsoever coming from the db via php, i have also tried using a while loop to strip out leading spaces from the htmlText property of the textfield in question. i think it has something to do with using an tag to get the text to flow around different sized images. it doesn't happen all the time however, diffferent articles sometimes don't have the problem, sometimes it's worse (www.sciop.it/news/articoli/106/). anyone know what's going on here? thanks, tom. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Distributing Fonts in a standalone application
Hi All, I am developing a desktop application in AS 2.0, in which user can design(add text, change text font or add image on the Tshirt for printing) his/her T-Shirts. Also, i have to give certain templates to user, out of these templates user can pick any template and design the T-Shirts using the selected template. For designing the templates, I am using windows default fonts like verdana, arial etc. My questions is, can i distribute these fonts by creating swf files(shared library)? Any help on this would be great. Regards Sumeet kumar ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders