[Flashcoders] [OT] Flash Developer Needed for CD-ROM Project
Hello, disclaimerApologies in advance if job postings are frowned upon on this list. I noticed a few others, so I'm hoping it's okay./disclaimer ForgeFX http://www.forgefx.com/ , a San Francisco-based studio looking to create a long-term relationship with an independent Flash developer to partner with us to produce educational CDROM-based content for a major national publisher. We've worked with this publisher for more than three years and will have a large volume of recurring work for the right partner. The project work involves converting large volumes of textbook content into an interactive CD which presents the content in the form of screens that are similar in functionality to a PowerPoint presentation. Some screens have some basic interactivity or contain a link to video content. This is an off-site telecommuting position. QUALIFICATIONS * Ability to architect an efficient data driven framework and then use that framework to build hundreds of content screens. * Organized and detail oriented. Able to track and manage hundreds of asset files. * Enthusiastic self-starter. Able to work independently and efficiently. * Strong understanding of technical issues around building content for educational environments, including a mix of older Mac and PC machines. * Experience developing educational or edu-tainment content is a plus. * US West-coast candidates preferred. If this sounds like something you'd be interested in, and to give us a sense of your coding experience, please review and submit the results for this short programmer's test: http://www.forgefx.com/contractors/flash/test/ Thanks, Adam // Adam Q. Kane ([EMAIL PROTECTED]) // Lead Programmer, ForgeFX, LLC // 808.262.2305 // www.forgefx.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] RE: Swf not loading at run time
Dave, I have the same issue with html page not loading my swf runtime objects. All my flash objects are stored in the same directory which is one level below my html directory. When my html page gets loaded, it seems to look for the runtime library file in the same directory as the html page and since it is not able to find it, it does not load any runtime objects. If I move the runtime library file to the html directory, everything works fine. However, from a file organization standpoint, I would like to have all my swf files in a different directory. Is there anyway I can do this? Thanks in advance Regards, Kannan http://www.solution-space.net Message: 6 Date: Mon, 11 Jun 2007 08:57:31 -0500 From: dave matthews [EMAIL PROTECTED] Subject: [Flashcoders] RE: Swf not loading at run time To: flashcoders@chattyfig.figleaf.com Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; format=flowed hi JohnT, The path to loaded .swf files changes when accessing from an HTML page on the net - it is different than the IDE/authoring environment. For example, with all .swf's in the same folder, the path is direct, the main.swf loads peers from the same folder. When main.swf is embedded in a web page, main.swf loads from the web page's _files folder (adjust file explorer in windoze to show 'hidden' folders)... HTML pages with .swf content store assets in an accompanying 'webPageName_files' folder. So, main.swf must call to the web page's accompanying folder to find the to be loaded .swf files, since main.swf is now outside of the storage folder - the path from the HTML embedded main.swf would be: webPageName_files/to_be_loaded.swf The key is that even though all the .swf files are in the same folder on the server, the main.swf is actually outside of that folder in the HTML page when it is trying to call the content to load. Also, an earlier comment in this thread mentioned case ( capital vs small letters ) on many servers... it's true. hth, Dave_Matthews http://www.2GoTo.com -original--- Message: 10 Date: Mon, 11 Jun 2007 19:38:06 +1000 From: John Trentini [EMAIL PROTECTED] Subject: [Flashcoders] Swf not loading at run time Hi guys, I am going insane, please give me a hint, I have a swf embedded in a html doc (the intro). this when completed loads another swf (the main interface). I have an empty mc into which I load another swf (showcase) which dynamically displays a variety of image presentation. When testing the Movie from the authoring environment, everything works like a charm but when I publish and view the html in the browser the showcase.swf does not seem to be loading; I have the same issue also when I open the swf file from the player The html and all swf files reside in the same folder at the same level. I have double checked and tried everything I know and I am getting quite desperate now as I don't know what else to do. Is there any simple reason/issue with the implementation? What else can I try to resolve this? thanks JohnT ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Flash Games With Joysticks
Hi, I was doing a search on how can we play the flash games on TV but didn't got great information. For instance, a simple pacman game which is created in flash, how can we play it with joystick and display on TV? What all things we need to consider making it workable with joysticks and TV? Regards, Vivek Gaikwad ___ 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: Swf not loading at run time
http://kb.adobe.com/selfservice/viewContent.do?externalId=tn_04157sliceId=1 - Original Message - From: Kannan Bharadwaj [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Tuesday, June 12, 2007 8:42 AM Subject: [Flashcoders] RE: Swf not loading at run time Dave, I have the same issue with html page not loading my swf runtime objects. All my flash objects are stored in the same directory which is one level below my html directory. When my html page gets loaded, it seems to look for the runtime library file in the same directory as the html page and since it is not able to find it, it does not load any runtime objects. If I move the runtime library file to the html directory, everything works fine. However, from a file organization standpoint, I would like to have all my swf files in a different directory. Is there anyway I can do this? Thanks in advance Regards, 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
[Flashcoders] Re: XML Photo Changer Button
Can anyone help?THanks On 6/11/07, José Maria Barros [EMAIL PROTECTED] wrote: Hi changed the folowing code: //creates the numbered buttons //newButt = attachMovie(butt, butt+i, 999+i); //newButt._x = 210+(newButt._width)*pub_count; //newButt._y = 370; //newButt.txt.text = [pub_count]; cliente = mainFotos[i].childNodes[2].attributes.cliente; linha = mainFotos[i].childNodes[2].attributes.projecto; ano = mainFotos[i].childNodes[2].attributes.ano; link = mainFotos[i].childNodes[0].firstChild.nodeValue; //newButt.link2 = mainFotos[i].childNodes[1].firstChild.nodeValue; testeButton.onRelease = function() { mc_loading._visible = true; work_mc._y = 428; imagem_mc._y = -365; imagemp_mc._x = 704; // load the clip myMCL.loadClip(link, imagem_mc); work_mc.cli_txt.text = cliente; work_mc.lin_txt.text = linha; work_mc.ano_txt.text = ano; folioAppearY(work_mc, (i+3), 235); }; pub_count++; } } } The problem is that when i click the button he goes to the last node...how can i make it stop at each value and then when i press it..goes to the new one? im still trying..a help would be great.. José Maria On 6/11/07, José Maria Barros [EMAIL PROTECTED] wrote: Hi..ive been doing a photo menu in xml. Basically i create text buttons for each node that loads a new photo with new information. What i want is to take out the numbers and substitute for two buttons only, one next and one previous button. I cant for now program that everytime i press the button i cant make them go one node ahead..(load the new image and the new information).. Here is the function : function createfotoMenu():Void { pub_count = 1; other_count = 0; for (i=0; imainFotos.length; i++) { var cliente:String = mainFotos[i].childNodes[2].attributes.cliente; var servico:String = mainFotos[i].childNodes[2].attributes.servico; if (cliente == Intermarché servico == Packaging) { first_valueNod = mainFotos[i].childNodes[0].firstChild.nodeValue; first_valueCliente = mainFotos[i].childNodes[2].attributes.cliente; first_valueLinha = mainFotos[i].childNodes[2].attributes.projecto; first_valueAno = mainFotos[i].childNodes[2].attributes.ano; if (other_count == 0) { curr_valueNod = first_valueNod; curr_valueCliente = first_valueCliente; curr_valueLinha = first_valueLinha; curr_valueAno = first_valueAno; other_count++; } //load the first client photo and information work_mc._y = 428; imagem_mc._y = -365; myMCL.loadClip(curr_valueNod, imagem_mc); work_mc.cli_txt.text = curr_valueCliente; work_mc.lin_txt.text = curr_valueLinha; work_mc.ano_txt.text = curr_valueAno; folioAppearY(work_mc, (i+3), 235); //creates the numbered buttons newButt = attachMovie(butt, butt+i, 999+i); newButt._x = 210+(newButt._width)*pub_count; newButt._y = 370; newButt.txt.text = [pub_count]; newButt.cliente = mainFotos[i].childNodes[2].attributes.cliente; newButt.linha = mainFotos[i].childNodes[2].attributes.projecto; newButt.ano = mainFotos[i].childNodes[2].attributes.ano; newButt.link = mainFotos[i].childNodes[0].firstChild.nodeValue; newButt.link2 = mainFotos[i].childNodes[1].firstChild.nodeValue; //loads the information for each movie newButt.onRelease = function() { mc_loading._visible = true; work_mc._y = 428; imagem_mc._y = -365; imagemp_mc._x = 704; // load the clip myMCL.loadClip(this.link, imagem_mc); work_mc.cli_txt.text = this.cliente; work_mc.lin_txt.text = this.linha; work_mc.ano_txt.text = this.ano; folioAppearY(work_mc, (i+3), 235); }; pub_count++; } } } Can anyone give me a tip? Thanks in advance.. ___ 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] setNewTextFormat
Hi All I have a loop that creates pages, creates textfields then adds text. Some of this text has font tags and some doesn't. I want to use a default textFormat so that an embedded font is used when no font is specified in the text: currentPage.createTextField(my_txt, 1, 5, 5, currentPage._width - 10, currentPage._height - 10); currentPage.my_txt.autoSize = false; currentPage.my_txt.multiline = true; currentPage.my_txt.wordWrap = true; currentPage.my_txt.selectable = false; currentPage.my_txt.embedFonts = true; currentPage.my_txt.html = true; var my_fmt:TextFormat = new TextFormat(); my_fmt.font = Arial; currentPage.my_txt.setNewTextFormat (my_fmt); currentPage.my_txt.htmlText = this.Model.pages[i].text; This works fine for text that has Arial specified in a font tag but for all the other pages which are just text no text appears (when tracing I see that Times is used which is not embedded). Why isn't this working? The setNewTextformat should change the default textformat for the field from then on? I am still getting Times though. Many Thanks. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] setNewTextFormat
hey one question...why are you mixing html and TextFormat? i try to use one of both. where did you get the font for each textField from? so you could do it on that way var default_font=arial var html_font= if(text_html_font==undefined){ html_font=default_font } currentPage.my_txt.htmlText =font face='+html_font+' this.Model.pages[i].text+/font; greets olee 2007/6/12, Giles Roadnight [EMAIL PROTECTED]: Hi All I have a loop that creates pages, creates textfields then adds text. Some of this text has font tags and some doesn't. I want to use a default textFormat so that an embedded font is used when no font is specified in the text: currentPage.createTextField(my_txt, 1, 5, 5, currentPage._width - 10, currentPage._height - 10); currentPage.my_txt.autoSize = false; currentPage.my_txt.multiline = true; currentPage.my_txt.wordWrap = true; currentPage.my_txt.selectable = false; currentPage.my_txt.embedFonts = true; currentPage.my_txt.html = true; var my_fmt:TextFormat = new TextFormat(); my_fmt.font = Arial; currentPage.my_txt.setNewTextFormat (my_fmt); currentPage.my_txt.htmlText = this.Model.pages[i].text; This works fine for text that has Arial specified in a font tag but for all the other pages which are just text no text appears (when tracing I see that Times is used which is not embedded). Why isn't this working? The setNewTextformat should change the default textformat for the field from then on? I am still getting Times though. Many Thanks. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- http://www.renkster.de/#/about/ ___ 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] setNewTextFormat
Some of the text that is being pulled in from xml will have font tags attached and some won't so I want to se thte default format. I have got round it for now with an if statement so the default format is only set if there is no font tag in the string. However in the case of a string with only part of the text surrounded by a font tag the rest of the string will still default to the times font which won't appear. On 6/12/07, o renken [EMAIL PROTECTED] wrote: hey one question...why are you mixing html and TextFormat? i try to use one of both. where did you get the font for each textField from? so you could do it on that way var default_font=arial var html_font= if(text_html_font==undefined){ html_font=default_font } currentPage.my_txt.htmlText =font face='+html_font+' this.Model.pages[i].text+/font; greets olee 2007/6/12, Giles Roadnight [EMAIL PROTECTED]: Hi All I have a loop that creates pages, creates textfields then adds text. Some of this text has font tags and some doesn't. I want to use a default textFormat so that an embedded font is used when no font is specified in the text: currentPage.createTextField(my_txt, 1, 5, 5, currentPage._width - 10, currentPage._height - 10); currentPage.my_txt.autoSize = false; currentPage.my_txt.multiline = true; currentPage.my_txt.wordWrap = true; currentPage.my_txt.selectable = false; currentPage.my_txt.embedFonts = true; currentPage.my_txt.html = true; var my_fmt:TextFormat = new TextFormat(); my_fmt.font = Arial; currentPage.my_txt.setNewTextFormat (my_fmt); currentPage.my_txt.htmlText = this.Model.pages[i].text; This works fine for text that has Arial specified in a font tag but for all the other pages which are just text no text appears (when tracing I see that Times is used which is not embedded). Why isn't this working? The setNewTextformat should change the default textformat for the field from then on? I am still getting Times though. Many Thanks. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- http://www.renkster.de/#/about/ ___ 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] setNewTextFormat
Hi All I have a loop that creates pages, creates textfields then adds text. Some of this text has font tags and some doesn't. I want to use a default textFormat so that an embedded font is used when no font is specified in the text: currentPage.createTextField(my_txt, 1, 5, 5, currentPage._width - 10, currentPage._height - 10); currentPage.my_txt.autoSize = false; currentPage.my_txt.multiline = true; currentPage.my_txt.wordWrap = true; currentPage.my_txt.selectable = false; currentPage.my_txt.embedFonts = true; currentPage.my_txt.html = true; var my_fmt:TextFormat = new TextFormat(); my_fmt.font = Arial; currentPage.my_txt.setNewTextFormat (my_fmt); currentPage.my_txt.htmlText = this.Model.pages[i].text; This works fine for text that has Arial specified in a font tag but for all the other pages which are just text no text appears (when tracing I see that Times is used which is not embedded). Why isn't this working? The setNewTextformat should change the default textformat for the field from then on? I am still getting Times though. setNewTextFormat is, in my opinion, broken: it works for text entered by a user but not for text entered through ActionScript. You need to run setTextFormat manually after changing it. Danny ___ 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 Streaming causes browser crash when closing a window
Hi coders, we are currently working on a media player for streaming video playback. The stream comes from a FMS. Our customers are working with Windows and every time they close the popup containing the player the browser crashes badly. We could reproduce this *only* on Windows for IE6, IE7, Firefox 1.5x and Firefox 2.x. This does not happen every time but often enough to be annoying (dependent on the player in one out of five tests). The critical moment seems to be the time when the stream is buffering before it is playing the first time. When the clip is running a crash seems to be less likely (1 out of 15 times). Even if the browser does not crash it takes a noticably long amount of time for the popup window to close. We even checked this behavior for other players, e.g. the popular flash media player (http://www.jeroenwijering.com) and with a simple test file built with MM components. The results have been the same. In fact our player seems to be the most stable. Here are two test pages that open a popup: flash media player: http://www.rocket54.de/player/test_fmp.php simple MM component test: http://www.rocket54.de/player/test_comp.php Using progressive FLV (not streamed) everything works fine – it seems to be a problem with/when streaming only. Could this be a problem with the FLVs or the FMS? Does anybody have a clue on this? Thanks Olaf ___ 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] setNewTextFormat
Yes, it does seem to be broken. I think I'll just add font tags around text if there are none present. Thansk for the help. On 6/12/07, Danny Kodicek [EMAIL PROTECTED] wrote: Hi All I have a loop that creates pages, creates textfields then adds text. Some of this text has font tags and some doesn't. I want to use a default textFormat so that an embedded font is used when no font is specified in the text: currentPage.createTextField(my_txt, 1, 5, 5, currentPage._width - 10, currentPage._height - 10); currentPage.my_txt.autoSize = false; currentPage.my_txt.multiline = true; currentPage.my_txt.wordWrap = true; currentPage.my_txt.selectable = false; currentPage.my_txt.embedFonts = true; currentPage.my_txt.html = true; var my_fmt:TextFormat = new TextFormat(); my_fmt.font = Arial; currentPage.my_txt.setNewTextFormat (my_fmt); currentPage.my_txt.htmlText = this.Model.pages[i].text; This works fine for text that has Arial specified in a font tag but for all the other pages which are just text no text appears (when tracing I see that Times is used which is not embedded). Why isn't this working? The setNewTextformat should change the default textformat for the field from then on? I am still getting Times though. setNewTextFormat is, in my opinion, broken: it works for text entered by a user but not for text entered through ActionScript. You need to run setTextFormat manually after changing it. Danny ___ 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] FLV Streaming causes browser crash when closing a window
its a problem with a netconnection, either when connnecting or innitial buffereing. sucks dunnit. On 6/12/07, Olaf Schmidtmann [EMAIL PROTECTED] wrote: Hi coders, we are currently working on a media player for streaming video playback. The stream comes from a FMS. Our customers are working with Windows and every time they close the popup containing the player the browser crashes badly. We could reproduce this *only* on Windows for IE6, IE7, Firefox 1.5x and Firefox 2.x. This does not happen every time but often enough to be annoying (dependent on the player in one out of five tests). The critical moment seems to be the time when the stream is buffering before it is playing the first time. When the clip is running a crash seems to be less likely (1 out of 15 times). Even if the browser does not crash it takes a noticably long amount of time for the popup window to close. We even checked this behavior for other players, e.g. the popular flash media player (http://www.jeroenwijering.com) and with a simple test file built with MM components. The results have been the same. In fact our player seems to be the most stable. Here are two test pages that open a popup: flash media player: http://www.rocket54.de/player/test_fmp.php simple MM component test: http://www.rocket54.de/player/test_comp.php Using progressive FLV (not streamed) everything works fine – it seems to be a problem with/when streaming only. Could this be a problem with the FLVs or the FMS? Does anybody have a clue on this? Thanks Olaf ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- j:pn http://www.lennel.org ___ 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] setNewTextFormat
no danny. setNewTextFormat means that all NEW text in the textfield will be formed. setTextFormat is only once and not for new text. and if you do some new text via AS setNexTextFormat will work fine.. Not for me, no. I always have to run setTextFormat after setting with AS, whatever I do with setNewTextFormat. Danny ___ 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] FLV Streaming causes browser crash when closing a window
for me its difficult to determine which port it is on as we open connections on rtmp 1935,443,80 and rtmpt 80 concurrently. it mostly occurs for me when i try to close a browser where none of connections have succeeded (obviously if one succeeds all the others get closed). I have not found a sollution for this, but I have observed it for a fair while now (doing lots of video stuff) On 6/12/07, Olaf Schmidtmann [EMAIL PROTECTED] wrote: Hi Johannes, this is a little bit vague. Could you be a little more precise? Right now we have the impression that it has to do with a stream using port 80. Our streaming server uses the standard port 1935 (rtmp) and in some configurations port 80 (rtmpt). Does anybody have any idea? Cheers Olaf On 6/12/07, Johannes Nel [EMAIL PROTECTED] wrote: its a problem with a netconnection, either when connnecting or innitial buffereing. sucks dunnit. On 6/12/07, Olaf Schmidtmann [EMAIL PROTECTED] wrote: Hi coders, we are currently working on a media player for streaming video playback. The stream comes from a FMS. Our customers are working with Windows and every time they close the popup containing the player the browser crashes badly. We could reproduce this *only* on Windows for IE6, IE7, Firefox 1.5x and Firefox 2.x. This does not happen every time but often enough to be annoying (dependent on the player in one out of five tests). The critical moment seems to be the time when the stream is buffering before it is playing the first time. When the clip is running a crash seems to be less likely (1 out of 15 times). Even if the browser does not crash it takes a noticably long amount of time for the popup window to close. We even checked this behavior for other players, e.g. the popular flash media player (http://www.jeroenwijering.com) and with a simple test file built with MM components. The results have been the same. In fact our player seems to be the most stable. Here are two test pages that open a popup: flash media player: http://www.rocket54.de/player/test_fmp.php simple MM component test: http://www.rocket54.de/player/test_comp.php Using progressive FLV (not streamed) everything works fine – it seems to be a problem with/when streaming only. Could this be a problem with the FLVs or the FMS? Does anybody have a clue on this? Thanks Olaf ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- j:pn http://www.lennel.org ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- j:pn http://www.lennel.org ___ 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] crash when using local shared object
Hi, some of our clients are experiencing a crash when data is saved to a local shared object. It seems to occur under the following circumstances: * the user has not previously allowed the player to save the data so a security box is displayed, asking for more priviliges * the user allows or disallows in doesnt matter * a flash ocx error occurs and the app crashes Happens on flash player 8 and ie 6 and 7. Any ideas? regards JC ___ 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] FLV Streaming causes browser crash when closing a window
Hi Johannes, maybe this is a help for you. We finally found out that the problem does not occur when the stream uses the FMS port 1935. As soon as we use the tunneled protocol (port 80) the browser crashes when closing the window. OS X seems to handle this pretty good but windows does not like it at all. It is very strange that Adobe does not seem to be aware of this behavior. Cheers Olaf On 6/12/07, Johannes Nel [EMAIL PROTECTED] wrote: for me its difficult to determine which port it is on as we open connections on rtmp 1935,443,80 and rtmpt 80 concurrently. it mostly occurs for me when i try to close a browser where none of connections have succeeded (obviously if one succeeds all the others get closed). I have not found a sollution for this, but I have observed it for a fair while now (doing lots of video stuff) On 6/12/07, Olaf Schmidtmann [EMAIL PROTECTED] wrote: Hi Johannes, this is a little bit vague. Could you be a little more precise? Right now we have the impression that it has to do with a stream using port 80. Our streaming server uses the standard port 1935 (rtmp) and in some configurations port 80 (rtmpt). Does anybody have any idea? Cheers Olaf On 6/12/07, Johannes Nel [EMAIL PROTECTED] wrote: its a problem with a netconnection, either when connnecting or innitial buffereing. sucks dunnit. On 6/12/07, Olaf Schmidtmann [EMAIL PROTECTED] wrote: Hi coders, we are currently working on a media player for streaming video playback. The stream comes from a FMS. Our customers are working with Windows and every time they close the popup containing the player the browser crashes badly. We could reproduce this *only* on Windows for IE6, IE7, Firefox 1.5x and Firefox 2.x. This does not happen every time but often enough to be annoying (dependent on the player in one out of five tests). The critical moment seems to be the time when the stream is buffering before it is playing the first time. When the clip is running a crash seems to be less likely (1 out of 15 times). Even if the browser does not crash it takes a noticably long amount of time for the popup window to close. We even checked this behavior for other players, e.g. the popular flash media player (http://www.jeroenwijering.com) and with a simple test file built with MM components. The results have been the same. In fact our player seems to be the most stable. Here are two test pages that open a popup: flash media player: http://www.rocket54.de/player/test_fmp.php simple MM component test: http://www.rocket54.de/player/test_comp.php Using progressive FLV (not streamed) everything works fine – it seems to be a problem with/when streaming only. Could this be a problem with the FLVs or the FMS? Does anybody have a clue on this? Thanks Olaf ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- j:pn http://www.lennel.org ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- j:pn http://www.lennel.org ___ 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] RE: Swf not loading at run time
hi Kannan, looks like Muzak posted a link to a relevant page from Adobe in this thread, deleted the email or would have included it - try the FlashCoder's archive maybe. The problem of paths in the IDE vs. full paths used on the web for embedded display in an HTML page is an old one. A useful fix is to use a variable in the authoring environment that contains the full path to the files as they will be set up on the server and splicing that variable to the local path (the local path being used during authoring work). Then, just before the final publishing of the main.swf for the HTML webpage - change the /:pathToServer variable from null/empty to the base URL - which is then used by all the loadMovie calls made by the mainParent.swf and it's loaded children.swf's during runtime. We are jumping from Flash4 (cell phones) to cs3 this month, so no as1/as2 examples... actually, no as3 examples yet either, but here is the code we put on the first frame of the main.swf- leaving the path empty/null for authoring then with the path variable set to the base URL at final publishing for the web: /: = a variable declaration and / was replaced by dots as of as1/flash5; /:pathToServer = http://www.2goto.com/;; then we use '/:internal_window_loadPath' for authoring: /:internal_window_loadPath = (pathToServer) + edictCON/sysEDICT/bwin.swf; 'bwin.swf' is an independent.swf deep in the folder structure that we loadMovie and place in the navigation structure, the 'bwin.swf'(internal_window) then loads or is loaded with outside content from the web or other folders on our server. hope that helps, Dave_Matthews http://www.2GoTo.com ...5 year old example... :) -- Message: 13 Date: Tue, 12 Jun 2007 12:12:07 +0530 From: Kannan Bharadwaj [EMAIL PROTECTED] Subject: [Flashcoders] RE: Swf not loading at run time To: flashcoders@chattyfig.figleaf.com Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=US-ASCII Dave, I have the same issue with html page not loading my swf runtime objects. All my flash objects are stored in the same directory which is one level below my html directory. When my html page gets loaded, it seems to look for the runtime library file in the same directory as the html page and since it is not able to find it, it does not load any runtime objects. If I move the runtime library file to the html directory, everything works fine. However, from a file organization standpoint, I would like to have all my swf files in a different directory. Is there anyway I can do this? Thanks in advance Regards, Kannan http://www.solution-space.net Message: 6 Date: Mon, 11 Jun 2007 08:57:31 -0500 From: dave matthews [EMAIL PROTECTED] Subject: [Flashcoders] RE: Swf not loading at run time To: flashcoders@chattyfig.figleaf.com Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; format=flowed hi JohnT, The path to loaded .swf files changes when accessing from an HTML page on the net - it is different than the IDE/authoring environment. For example, with all .swf's in the same folder, the path is direct, the main.swf loads peers from the same folder. When main.swf is embedded in a web page, main.swf loads from the web page's _files folder (adjust file explorer in windoze to show 'hidden' folders)... HTML pages with .swf content store assets in an accompanying 'webPageName_files' folder. So, main.swf must call to the web page's accompanying folder to find the to be loaded .swf files, since main.swf is now outside of the storage folder - the path from the HTML embedded main.swf would be: webPageName_files/to_be_loaded.swf The key is that even though all the .swf files are in the same folder on the server, the main.swf is actually outside of that folder in the HTML page when it is trying to call the content to load. Also, an earlier comment in this thread mentioned case ( capital vs small letters ) on many servers... it's true. hth, Dave_Matthews http://www.2GoTo.com -original--- Message: 10 Date: Mon, 11 Jun 2007 19:38:06 +1000 From: John Trentini [EMAIL PROTECTED] Subject: [Flashcoders] Swf not loading at run time Hi guys, I am going insane, please give me a hint, I have a swf embedded in a html doc (the intro). this when completed loads another swf (the main interface). I have an empty mc into which I load another swf (showcase) which dynamically displays a variety of image presentation. When testing the Movie from the authoring environment, everything works like a charm but when I publish and view the html in the browser the showcase.swf does not seem to be loading; I have the same issue also when I open the swf file from the player The html and all swf files reside in the same folder at the same level. I have double checked and tried everything I know and I am getting quite desperate now as I don't know what else to do. Is there any simple reason/issue with the implementation?
[Flashcoders] JOB: Full-time ActionScript Developer Needed For Established E-Gaming Company
[Position Summary] The Flash Developer will be responsible for integrating unique solutions within our Flash Gaming Suites. The position strongly emphasizes ActionScript programming, from core libraries to interface development. The position will be part of a team of 2-5 flash developers and 2-3 graphic designers of varying experience. [Key Responsibilities] - Assist in the creation and maintenance of Parlay’s suite of Flash games - Integrate solutions within Parlay’s Gaming Suites - Flash skill requirement is largely ActionScript and interfacing with Java and Web components [Required Skills and Competencies] - Competency in the use of all Flash IDE’s from Flash MX 2004 onward - Extensive Flash ActionScript experience with AS1 and AS2 with a workable understanding of AS3. - Familiarity with OO concepts, design patterns and is comfortable with implementing them for Flash applications - Familiarity with HTML - Must be flexible and able to work with AS1, AS2, and AS3 scripts - Formal training in programming is a requirement - 2-3 years related experience - Strong written and oral communication skills [Definite Assets] - Proficiency in Photoshop, Illustrator, Sound and Video Editing Software - Understanding of Java, XML, HTML, and other web technologies - Gaming experience - A College Diploma or University Degree in a technology field So if you are interested or you know someone who might be, please send your resume/CSV to careers at parlaygroup dot com. The role is focused on client-side application development and not website design. For more information about the company, please visit http://www.parlaygroup.com. P.S. We're also looking for the following: - Java Developer - Junior Java Developer (Web Development) - Project Manager - QA Analyst - Automated Tester See the career section for the website for details. Mark Lapasa Flash Developer Parlay Entertainment Where the World Plays Bingo. mlapasa [at] parlaygroup [dot] com www.parlaygroup.com 2305 Wyecroft Road, Second Floor, Oakville, ON, Canada L6L 6R2 ___ 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] Mac full screen title bar
Hello all, I have a strange problem with a fullscreen projector (Flash Player 9) on Mac OS X. It works fine normally, but if the user has installed Flash Player 8 then it goes not-quite-fullscreen and displays a title bar for the window. Uninstalling, reinstalling 9 and praying to the techno gods all don't work. Anyone seen this, or have any ideas? Cheers! Tony Pollard ___ 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] Contractors and Full-Time needed
We are looking for up to 2 of each in either the Phoenix, AZ or Tucson, AZ areas: ActionScript Programmer Flash Production Artist More information about all open positions is at: http://terralever.com/about-us/careers/ We are also looking to make contact with more freelancers (telecommute ok). If you have emailed me before, I'm sorry but I have lost all my contact information. Please email me again! Thanks, Chris Hill Director of Interactive Terralever 520 393 3240 ___ 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] Gaia Flash Framework Released
http://www.stevensacks.net/ Technology author Steven Sacks today announced the free public release of his Gaia Flash Framework® (gaiaflashframework.com). Gaia (pronounced guy-uh) is an open-source framework that provides powerful solutions for building Flash websites to designers and developers of all skill levels. Gaia dramatically reduces development time and is the first tool to feature a scaffolding engine for Flash. -- Steven Sacks Flash Maestro Los Angeles, CA -- blog: http://www.stevensacks.net gaia: http://www.gaiaflashframework.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] Cycle through XML nodes
Hi, all..I hope anyone can help me here.. I have two buttons: a next and a previous button. I need to cycle through the XML nodes with that.. Like a photo menu that i press next and the next photo and text loads.. Can anyone give me hints about it? THanks in advance ___ 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] Cycle through XML nodes
currentImage++ On 6/12/07, José Maria Barros [EMAIL PROTECTED] wrote: Hi, all..I hope anyone can help me here.. I have two buttons: a next and a previous button. I need to cycle through the XML nodes with that.. Like a photo menu that i press next and the next photo and text loads.. Can anyone give me hints about it? THanks in advance ___ 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] Cycle through XML nodes
Was it you - or maybe someone else, but this same exact question was just asked recently, and after several responses and the person also being referred to Flashnewbies, the thread ended. I suggest you ask on Flashnewbies or refer back to the previous responses. No offense, but this is pretty basic stuff. Jason Merrill Bank of America GTO Learning Leadership Development eTools Multimedia Team -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of José Maria Barros Sent: Tuesday, June 12, 2007 12:33 PM To: Flashcoders mailing list Subject: [Flashcoders] Cycle through XML nodes Hi, all..I hope anyone can help me here.. I have two buttons: a next and a previous button. I need to cycle through the XML nodes with that.. Like a photo menu that i press next and the next photo and text loads.. Can anyone give me hints about it? THanks in advance ___ 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] Cycle through XML nodes
I had thought of posting something similar but in all seriousness this really is pretty basic stuff. Please read some of the Flash documentation, specifically regarding XML - it's all there for the taking. Either that or maybe the FlashNewbies list ... no offence intended. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bob Wohl Sent: 12 June 2007 17:41 To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] Cycle through XML nodes currentImage++ On 6/12/07, José Maria Barros [EMAIL PROTECTED] wrote: Hi, all..I hope anyone can help me here.. I have two buttons: a next and a previous button. I need to cycle through the XML nodes with that.. Like a photo menu that i press next and the next photo and text loads.. Can anyone give me hints about it? THanks in advance ___ 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] Gaia Flash Framework Released
Very neat. Nice introductory demo. Ron Steven Sacks wrote: http://www.stevensacks.net/ Technology author Steven Sacks today announced the free public release of his Gaia Flash Framework® (gaiaflashframework.com). Gaia (pronounced guy-uh) is an open-source framework that provides powerful solutions for building Flash websites to designers and developers of all skill levels. Gaia dramatically reduces development time and is the first tool to feature a scaffolding engine for 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
[Flashcoders] [JOB] Sr. FLEX Developer, Los Angeles, CA | 120-160k
Sr. FLEX Developer, Los Angeles, CA | 120-160k My client is building a social network (think myspace meets youtube meets itunes) for the hip hop community. They are a combination of user generated content and in house productions, original programming. They have built the site entirely in Flex and CakePHP up to this point. They need someone to develop new features for the site, create templated layouts for users and widgets in FLEX and AIR (Apollo). They are developing an ecommerce side of the site (digital distribution of music video) and features such as live video between users. They need someone forward thinking and a team player; someone to implement their vision. They need a FLEX guru. If the candidate has a strong design aesthetic that is a big plus too. Paid relocation for interested parties. If you are interested in this position, please submit your resume/portfolio and salary requirements to [EMAIL PROTECTED] Thank you, Beau J. Gould Open Source Staffing www.open-source-staffing.com [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
Re: [Flashcoders] Cycle through XML nodes
Sorry...didnt know that was a FlashNewbies list..i will subscribe.. On 6/12/07, Paul Venton [EMAIL PROTECTED] wrote: I had thought of posting something similar but in all seriousness this really is pretty basic stuff. Please read some of the Flash documentation, specifically regarding XML - it's all there for the taking. Either that or maybe the FlashNewbies list ... no offence intended. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bob Wohl Sent: 12 June 2007 17:41 To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] Cycle through XML nodes currentImage++ On 6/12/07, José Maria Barros [EMAIL PROTECTED] wrote: Hi, all..I hope anyone can help me here.. I have two buttons: a next and a previous button. I need to cycle through the XML nodes with that.. Like a photo menu that i press next and the next photo and text loads.. Can anyone give me hints about it? THanks in advance ___ 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] flex question(xml based menu)
Hi I have this code in as2, but i was wondering how could I do this in flex. myPhoto = new XML(); myPhoto.ignoreWhite = true; myPhoto.onLoad = function(success) { //portfolioTag = this.firstChild; numimages = this.firstChild.childNodes.length; spacing =300; for (i=0; inumimages; i++) { this.picHolder = this.firstChild.childNodes[i]; this.thumbHolder = thumbnails.createEmptyMovieClip(thumbnail+i, i); this.thumbHolder._x = i*spacing; this.thumbLoader = this.thumbHolder.createEmptyMovieClip (thumbnail_image, 0); this.thumbLoader.loadMovie(this.picHolder.attributes.thmb); this.thumbHolder.title = this.picHolder.attributes.title; this.thumbHolder.main = this.picHolder.attributes.main; this.thumbHolder.onRelease = function() { loader.loadMovie(this.main); title_txt.text = this.title; }; } }; myPhoto.load(commercial/xmlphoto.xml); I'm not sure where do I have to put this, it seens easy in flash 8 but in flex I need quite a help. Regards Gustavo Duenas ___ 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] Gaia Flash Framework Released
Hey Steven, Nice job! I was really interested in the fact that you included best practices like SWFObject and SWFaddress, you should have a look through http://www.the-flash-files.com and tell me what you think. Best Regards - Fred -Message d'origine- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de Steven Sacks Envoyé : June 12, 2007 11:47 AM À : flashcoders@chattyfig.figleaf.com Objet : [Flashcoders] Gaia Flash Framework Released http://www.stevensacks.net/ Technology author Steven Sacks today announced the free public release of his Gaia Flash Framework® (gaiaflashframework.com). Gaia (pronounced guy-uh) is an open-source framework that provides powerful solutions for building Flash websites to designers and developers of all skill levels. Gaia dramatically reduces development time and is the first tool to feature a scaffolding engine for Flash. -- Steven Sacks Flash Maestro Los Angeles, CA -- blog: http://www.stevensacks.net gaia: http://www.gaiaflashframework.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] Gaia Flash Framework Released
Cool! You might be interested in Jason Grunstra's post regarding SEO with Flash: http://labs.blitzagency.com/?p=171 Frederic Caron wrote: Hey Steven, Nice job! I was really interested in the fact that you included best practices like SWFObject and SWFaddress, you should have a look through http://www.the-flash-files.com and tell me what you think. Best Regards - Fred ___ 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] flex question(xml based menu)
Hi I have this code in as2, but i was wondering how could I do this in flex. I'm not sure where do I have to put this, it seens easy in flash 8 but in flex I need quite a help. Ask the Flex list: http://tech.groups.yahoo.com/group/flexcoders/ Jason Merrill Bank of America GTO Learning Leadership Development eTools Multimedia Team ___ 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: getBytes...() works only local, not online (except when imgs are cached)
Hi list, I am facing a problem I can´t solve, and since now, thanks a lot for any help. I am loading images and preloading them...ok, nothing new. For this, I am using loadClip and onLoadProgress to update their bytesLoaded and bytesTotal, so I can preload them perfectly. The amount of images to load, vary according to the clicked item. When I try this local, works perfectly, the bytes amount are updated as it should, but when I try it online, it just doesn´t work. When I load images and they are not cached: getBytesLoaded returns: undefined getBytesTotal returns: undefined But when they finish to load, and when they start to load when already cached: getBytesLoaded returns: correct size getBytesTotal returns: always 0 Here is the code: var mcl:MovieClipLoader = new MovieClipLoader(); var listener:Object = new Object(); mcl.addListener(listener); var totalLoaded = 0; var loaderTime = 0; function loadImagesToHolders() { var totalToLoad = txtImagensServicosXML[dataID1][dataID2].length; //totalImgsToLoad doubles cause it loads both mini and big images var totalImgsToLoad = totalToLoad*2; totalLoaded = 0; listener.onLoadComplete = function(mc:MovieClip):Void { totalLoaded++; var id1 = mc._name.slice(5, 6); var id2 = mc._name.slice(7, 8); if (totalLoaded == totalImgsToLoad) { clientes.onEnterFrame = function() { if (barFullandLoaded == true) { this.onEnterFrame = null; barFullandLoaded = false; if (processStopped == false) { loader.bar.gotoAndStop(1); clientesLoaded(); } } }; } }; //waste of code, temp used cause of old problems mcTotalLoaded = null; mcTotalSize = null; totalL = null; totalS = null; //end of waste of code var mcTotalLoaded:Array = new Array(totalToLoad); var mcTotalSize:Array = new Array(totalToLoad); var thePercent = 0; var barFullandLoaded = false; listener.onLoadProgress = function(mc:MovieClip):Void { var mcID = mc._name.slice(-1); mcTotalLoaded[mcID] = mc.getBytesLoaded (); mcTotalSize[mcID] = mc.getBytesTotal(); }; loaderTimer = getTimer(); loader.onEnterFrame = function() { totalL = 0; totalS = 0; for (var i:Number = 0; itotalToLoad; i++) { totalL += mcTotalLoaded[i]; totalS += mcTotalSize[i]; } thePercent = Math.ceil((totalL/totalS)*100); if (thePercent(loader.bar._currentframe*2) loader.bar._currentframe50) { loader.bar.play(); } else { loader.bar.stop(); } if (loader._visible == true) { if (thePercent=100 loader.bar._currentframe == 50) { barFullandLoaded = true; loader.onEnterFrame = null; } } else { if (thePercent=100 getTimer()=Number(loaderTimer+1000)) { barFullandLoaded = true; loader.onEnterFrame = null; } } if (getTimer()=Number(loaderTimer+2000) loader.bar._currentframe=45) { loader._visible = true; } }; for (var i:Number = 0; itotalToLoad; i++) { clientes.createEmptyMovieClip(img_p+dataID1+_+dataID2+_+i, clientes.getNextHighestDepth()); clientes[img_p+dataID1+_+dataID2+_+i]._x = 2000; clientes.createEmptyMovieClip(img_g+dataID1+_+dataID2+_+i, clientes.getNextHighestDepth()); clientes[img_g+dataID1+_+dataID2+_+i]._x = 2000; mcl.loadClip(txtImagensServicosXML[dataID1][dataID2][i][0],clientes[img_p+dataID1+_+dataID2+_+i]); mcl.loadClip (txtImagensServicosXML[dataID1][dataID2][i][1],clientes[img_g+dataID1+_+dataID2+_+i]); } } Thanks a lot for any help! Helios ___ 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] crash when using local shared object
If you haven't done so yet, you might wanna report this: http://www.adobe.com/cfusion/mmform/index.cfm?name=wishform Tried a google search but couldn't find anything useful. regards, Muzak - Original Message - From: Hans Wichman [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Tuesday, June 12, 2007 4:16 PM Subject: [Flashcoders] crash when using local shared object Hi, some of our clients are experiencing a crash when data is saved to a local shared object. It seems to occur under the following circumstances: * the user has not previously allowed the player to save the data so a security box is displayed, asking for more priviliges * the user allows or disallows in doesnt matter * a flash ocx error occurs and the app crashes Happens on flash player 8 and ie 6 and 7. Any ideas? regards JC ___ 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] flex question(xml based menu)
First off all: http://tech.groups.yahoo.com/group/flexcoders/ Second, Flex is a different ballgame. Flex has a number of components/controls/containers available that are not available in Flash. For displaying images, there's the Image component. For displaying a number of thumbnails you could use a TileList component or a Repeater component in combination with an Image component etc.. If you want to build a menu, there's several options as well: linkbar, buttonbar, etc.. And it also depends on whether this is an AS3 or MXML project. So the answer to your question isn't that simple. I suggest you start with going through the docs and having a look at the available components. regards, Muzak - Original Message - From: Gustavo Duenas [EMAIL PROTECTED] To: Flashcoders mailing list Flashcoders@chattyfig.figleaf.com Sent: Tuesday, June 12, 2007 7:38 PM Subject: [Flashcoders] flex question(xml based menu) Hi I have this code in as2, but i was wondering how could I do this in flex. myPhoto = new XML(); myPhoto.ignoreWhite = true; myPhoto.onLoad = function(success) { //portfolioTag = this.firstChild; numimages = this.firstChild.childNodes.length; spacing =300; for (i=0; inumimages; i++) { this.picHolder = this.firstChild.childNodes[i]; this.thumbHolder = thumbnails.createEmptyMovieClip(thumbnail+i, i); this.thumbHolder._x = i*spacing; this.thumbLoader = this.thumbHolder.createEmptyMovieClip (thumbnail_image, 0); this.thumbLoader.loadMovie(this.picHolder.attributes.thmb); this.thumbHolder.title = this.picHolder.attributes.title; this.thumbHolder.main = this.picHolder.attributes.main; this.thumbHolder.onRelease = function() { loader.loadMovie(this.main); title_txt.text = this.title; }; } }; myPhoto.load(commercial/xmlphoto.xml); I'm not sure where do I have to put this, it seens easy in flash 8 but in flex I need quite a help. Regards ___ 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] AS2: Multilanguage-Listener
Hi everybody I’m working on a multilanguage configurator and want to update every textareas, labels etc. by clicking on one of the available lang-buttons (english, german, spanish ect.). My configurator consists of different movieclips/layers of course. Now I’ve tried to reach this by creating an evenlistener on those buttons, but without success. Code (layer: _level0): var langListener:Object = new Object(); langListener.click = function (EvtObj:Object){ trace(it worked!); }; // ie: english-button _level0.langP_mc.en_btn.addEventListener(click, langListener); Can anyone help? Cryzto No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.472 / Virus Database: 269.8.14/845 - Release Date: 12.06.2007 06:39 ___ 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] AS2: Multilanguage-Listener
hello :) you can use my opensource framework and this extensions with the localization model of ASGard (ext of VEGAS) Page of the Framework project : http://code.google.com/p/vegas/ Install VEGAS and this extensions : http://code.google.com/p/vegas/wiki/InstallVEGASwithSVN Example to use the localization model in the svn of the project : http://svn1.cvsdude.com/osflash/vegas/AS2/trunk/bin/test/asgard/system/ My event localization model is based on the W3C dom2/3 event model test the Localization 02 - Eden.fla example.. i use Eden format to creates external files to configurate my localizations. but you can use JSON with my framework or use my framework and this implementation to use XML(in AS2 xml is no speed... Eden more easy to use) More information about Eden format : http://code.google.com/p/edenrr/ More information about JSON format : http://www.json.org/ I use eden to create my configuration file too... http://svn1.cvsdude.com/osflash/vegas/AS2/trunk/bin/test/asgard/config/ You can use too my Opensource documentation framework AST'r : http://code.google.com/p/astr/ AST'r is a little application framework to implement config/localization/sounds/ in a application based with VEGAS. EKA+ :) 2007/6/12, Cristo @ cryzto.ch [EMAIL PROTECTED]: Hi everybody I'm working on a multilanguage configurator and want to update every textareas, labels etc. by clicking on one of the available lang-buttons (english, german, spanish ect.). My configurator consists of different movieclips/layers of course. Now I've tried to reach this by creating an evenlistener on those buttons, but without success. Code (layer: _level0): var langListener:Object = new Object(); langListener.click = function (EvtObj:Object){ trace(it worked!); }; // ie: english-button _level0.langP_mc.en_btn.addEventListener(click, langListener); Can anyone help? Cryzto No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.472 / Virus Database: 269.8.14/845 - Release Date: 12.06.2007 06:39 ___ 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] AS2: Multilanguage-Listener
You have to initialize the object before you can add listeners; var listener:Object = new Object(); listener.click = function ( evt:Object) { trace(it worked!); }; var obj:Object = new Object(); mx.events.EventDispatcher.initialize ( obj ); obj.addEventListener( click, listener ); obj.dispatchEvent ( {type:'click', target:obj } ); _ Jesse Graupmann www.jessegraupmann.com www.justgooddesign.com/blog/ _ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Cristo @ cryzto.ch Sent: Tuesday, June 12, 2007 12:45 PM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] AS2: Multilanguage-Listener Hi everybody I'm working on a multilanguage configurator and want to update every textareas, labels etc. by clicking on one of the available lang-buttons (english, german, spanish ect.). My configurator consists of different movieclips/layers of course. Now I've tried to reach this by creating an evenlistener on those buttons, but without success. Code (layer: _level0): var langListener:Object = new Object(); langListener.click = function (EvtObj:Object){ trace(it worked!); }; // ie: english-button _level0.langP_mc.en_btn.addEventListener(click, langListener); Can anyone help? Cryzto No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.472 / Virus Database: 269.8.14/845 - Release Date: 12.06.2007 06:39 ___ 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] flex question(xml based menu)
Thanks man I'll do it. Regards On Jun 12, 2007, at 1:58 PM, Merrill, Jason wrote: Hi I have this code in as2, but i was wondering how could I do this in flex. I'm not sure where do I have to put this, it seens easy in flash 8 but in flex I need quite a help. Ask the Flex list: http://tech.groups.yahoo.com/group/flexcoders/ Jason Merrill Bank of America GTO Learning Leadership Development eTools Multimedia Team ___ 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 Gustavo Duenas ___ 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] Gaia Flash Framework Released
Wow, that's a lovely bit of engineering! Now if only my company would stop doing boring sites and get back to some good Flash stuff, but this will certainly help me in my freelance work. Can't wait to delve in further than the scaffolding and look under the hood - Design Patterns + Flash at just the right time for me. Thanks a million. Glen Steven Sacks wrote: http://www.stevensacks.net/ Technology author Steven Sacks today announced the free public release of his Gaia Flash Framework® (gaiaflashframework.com). Gaia (pronounced guy-uh) is an open-source framework that provides powerful solutions for building Flash websites to designers and developers of all skill levels. Gaia dramatically reduces development time and is the first tool to feature a scaffolding engine for 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
[Flashcoders] Automated test tools?
Can anyone recommend any good automated test tools for Flash? Thanks, Doug ___ 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] Automated test tools?
http://www.asunit.org/ http://www.google.com/search?hl=enq=flash+unit+testing regards, Muzak - Original Message - From: Douglas Pearson [EMAIL PROTECTED] To: flashcoders@chattyfig.figleaf.com Sent: Tuesday, June 12, 2007 11:27 PM Subject: [Flashcoders] Automated test tools? Can anyone recommend any good automated test tools for Flash? Thanks, Doug ___ 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] getBytes...() works only local, not online (except when imgs are cached)
Hi list, I am facing a problem I can´t solve, and since now, thanks a lot for any help. I am loading images and preloading them...ok, nothing new. For this, I am using loadClip and onLoadProgress to update their bytesLoaded and bytesTotal, so I can preload them perfectly. The amount of images to load, vary according to the clicked item. When I try this local, works perfectly, the bytes amount are updated as it should, but when I try it online, it just doesn´t work. When I load images and they are not cached: getBytesLoaded returns: undefined getBytesTotal returns: undefined But when they finish to load, and when they start to load when already cached: getBytesLoaded returns: correct size getBytesTotal returns: always 0 Here is the code: var mcl:MovieClipLoader = new MovieClipLoader(); var listener:Object = new Object(); mcl.addListener(listener); var totalLoaded = 0; var loaderTime = 0; function loadImagesToHolders() { var totalToLoad = txtImagensServicosXML[dataID1][dataID2].length; //totalImgsToLoad doubles cause it loads both mini and big images var totalImgsToLoad = totalToLoad*2; totalLoaded = 0; listener.onLoadComplete = function(mc:MovieClip):Void { totalLoaded++; var id1 = mc._name.slice(5, 6); var id2 = mc._name.slice(7, 8); if (totalLoaded == totalImgsToLoad) { clientes.onEnterFrame = function() { if (barFullandLoaded == true) { this.onEnterFrame = null; barFullandLoaded = false; if (processStopped == false) { loader.bar.gotoAndStop(1); clientesLoaded(); } } }; } }; //waste of code, temp used cause of old problems mcTotalLoaded = null; mcTotalSize = null; totalL = null; totalS = null; //end of waste of code var mcTotalLoaded:Array = new Array(totalToLoad); var mcTotalSize:Array = new Array(totalToLoad); var thePercent = 0; var barFullandLoaded = false; listener.onLoadProgress = function(mc:MovieClip):Void { var mcID = mc._name.slice(-1); mcTotalLoaded[mcID] = mc.getBytesLoaded (); mcTotalSize[mcID] = mc.getBytesTotal(); }; loaderTimer = getTimer(); loader.onEnterFrame = function() { totalL = 0; totalS = 0; for (var i:Number = 0; itotalToLoad; i++) { totalL += mcTotalLoaded[i]; totalS += mcTotalSize[i]; } thePercent = Math.ceil((totalL/totalS)*100); if (thePercent(loader.bar._currentframe*2) loader.bar._currentframe50) { loader.bar.play(); } else { loader.bar.stop(); } if (loader._visible == true) { if (thePercent=100 loader.bar._currentframe == 50) { barFullandLoaded = true; loader.onEnterFrame = null; } } else { if (thePercent=100 getTimer()=Number(loaderTimer+1000)) { barFullandLoaded = true; loader.onEnterFrame = null; } } if (getTimer()=Number(loaderTimer+2000) loader.bar._currentframe=45) { loader._visible = true; } }; for (var i:Number = 0; itotalToLoad; i++) { clientes.createEmptyMovieClip(img_p+dataID1+_+dataID2+_+i, clientes.getNextHighestDepth()); clientes[img_p+dataID1+_+dataID2+_+i]._x = 2000; clientes.createEmptyMovieClip(img_g+dataID1+_+dataID2+_+i, clientes.getNextHighestDepth()); clientes[img_g+dataID1+_+dataID2+_+i]._x = 2000; mcl.loadClip(txtImagensServicosXML[dataID1][dataID2][i][0],clientes[img_p+dataID1+_+dataID2+_+i]); mcl.loadClip (txtImagensServicosXML[dataID1][dataID2][i][1],clientes[img_g+dataID1+_+dataID2+_+i]); } } Thanks a lot for any help! Helios ___ 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] PeelBack Ad Unit
Hi - Does anyone have any experience with peelback ad units? I've got one that appears correctly in Safari on the mac, and in Firefox on the pc, but in IE on the pc it won't appear at the correct level - allowing the layers that it should cover to show through. It seems like it would be a div-stylesheet type thing, but careful attention to grooming all the z-index values hasn't helped... perhaps it is a flash thing after all. Does anyone know of a good template to use? Thanks! Catherine -- Catherine Eng Online Media Director Laufer Media, Inc. ph: 818-795-7184 [EMAIL PROTECTED] Laufer Media, Inc. 330 N. Brand Ste. 1150 Glendale, CA 91230 Laufer Media, Inc. is the parent company of Bop and Tiger Beat Magazines. ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] [JOB] Core Industries seeks Flash Developers (New York City)
Core Industries is a new interactive firm in Dumbo Brooklyn focused on creating award-wining online projects with a focus on environmentally responsible clients. We are looking for talented and highly motivated Flash Developers to help on a range of website, game, mobile and kiosk projects. Our working environment is super friendly, yet our standards are very high. Responsibilities: - Develop leading-edge web applications - Deploy projects to browsers, mobile devices, and AIR - Contribute to brainstorming and client discussions - Awareness of best practices and emerging technology / trends - A concern for our environment Requirements: - AS 2/3 with solid understanding of OOP design patterns - 2 years of web development experience and a portfolio to show for it - XML / remoting - HTML / CSS knowledge - Strong attention to detail Extra Credit: - AJAX - Database - Linux If you're looking for a challenging position in a small shop with a lot of vision, then this is the job for you. Current positions are freelance with the possibilty for full-time. Ideally, you should be able to work in the office (Brooklyn), but we're open to telecommute for the right people. Pay is commensurate with experience. Send resume and hourly rate with subject FLASH DEVELOPER to [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
AW: [Flashcoders] AS2: Multilanguage-Listener
@ eka: thanks but for the moment i just want to understand why my code doesn't work... but I sure will take a look at your OpdenSource-project :-) @ Jesse: Thanx fort he hint, I modified now my code to my needs... it works, only: where's the practical difference between this solution and the solution where I just tell the Buttons to do what I want (= onRelease( lang_xml.load(XMLFile); updateTextfields(); ))? Here my code (it works): this.de.onRelease = function() { this.dispatchEvent({type:'click',target:this}); //trace(DE-Button was pressed); } this.fr.onRelease = function() { this.dispatchEvent({type:'click',target:this}); //trace(FR-Button was pressed); } this.it.onRelease = function() { this.dispatchEvent({type:'click',target:this}); //trace(IT-Button was pressed); } this.en.onRelease = function() { this.dispatchEvent({type:'click',target:this}); //trace(EN-Button was pressed); } var langListener:Object = new Object(); langListener.click = function (EvtObj:Object){ var str:String = EvtObj.target.label.toLowerCase(); _root.lang_xml.load(conf_+str+.xml); } for (var prop in this) { mx.events.EventDispatcher.initialize(this[prop]); this[prop].addEventListener(click, langListener); //trace(this[prop]); } stop(); -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Jesse Graupmann Gesendet: Dienstag, 12. Juni 2007 22:09 An: flashcoders@chattyfig.figleaf.com Betreff: RE: [Flashcoders] AS2: Multilanguage-Listener You have to initialize the object before you can add listeners; var listener:Object = new Object(); listener.click = function ( evt:Object) { trace(it worked!); }; var obj:Object = new Object(); mx.events.EventDispatcher.initialize ( obj ); obj.addEventListener( click, listener ); obj.dispatchEvent ( {type:'click', target:obj } ); _ Jesse Graupmann www.jessegraupmann.com www.justgooddesign.com/blog/ _ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Cristo @ cryzto.ch Sent: Tuesday, June 12, 2007 12:45 PM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] AS2: Multilanguage-Listener Hi everybody I'm working on a multilanguage configurator and want to update every textareas, labels etc. by clicking on one of the available lang-buttons (english, german, spanish ect.). My configurator consists of different movieclips/layers of course. Now I've tried to reach this by creating an evenlistener on those buttons, but without success. Code (layer: _level0): var langListener:Object = new Object(); langListener.click = function (EvtObj:Object){ trace(it worked!); }; // ie: english-button _level0.langP_mc.en_btn.addEventListener(click, langListener); Can anyone help? Cryzto No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.472 / Virus Database: 269.8.14/845 - Release Date: 12.06.2007 06:39 ___ 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 No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.472 / Virus Database: 269.8.14/845 - Release Date: 12.06.2007 06:39 -- Ich verwende die kostenlose Version von SPAMfighter für private Anwender, die bei mir bis jetzt 828 Spammails entfernt hat. Bezahlende Anwender haben diesen Hinweis nicht in ihren E-Mails. Laden Sie SPAMfighter kostenlos herunter: http://www.spamfighter.com/lde No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.472 / Virus Database: 269.8.14/845 - Release Date: 12.06.2007 06:39 ___ 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] AS2: Multilanguage-Listener
@ Cryzto where's the practical difference between this solution and the solution where I just tell the Buttons to do what I want There is nothing I could say that Muzak hasn't already said better and repeatedly. With that, search this list on EventDispatcher, encapsulation, and dirty ass code. http://www.mail-archive.com/flashcoders@chattyfig.figleaf.com/msg31071.html http://www.mail-archive.com/flashcoders@chattyfig.figleaf.com/msg31112.html Hasta! // // NO EVENTS // var main = this; var array = [ 'de', 'fr', 'it', 'en' ]; for ( var i in array ) { var btn = this[array[i]]; btn.onRelease = function(){_root.lang_xml.load(conf_+this.label.toLowerCase()+.xml);}; } // // WITH EVENTS // var array = [ 'de', 'fr', 'it', 'en' ]; for ( var i in array ) { var btn = this[array[i]]; mx.events.EventDispatcher.initialize( btn ); btn.addEventListener( 'click', mx.utils.Delegate.create ( this, loadLanguage ) ); btn.onRelease = releaseHandler; } function releaseHandler () { this.dispatchEvent({type:'click',target:this, lang:this.label.toLowerCase() }); } function loadLanguage ( evt:Object ) { _root.lang_xml.load(conf_+evt.lang+.xml); } _ Jesse Graupmann www.jessegraupmann.com www.justgooddesign.com/blog/ _ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Cristo @ cryzto.ch Sent: Tuesday, June 12, 2007 5:34 PM To: flashcoders@chattyfig.figleaf.com Subject: AW: [Flashcoders] AS2: Multilanguage-Listener @ eka: thanks but for the moment i just want to understand why my code doesn't work... but I sure will take a look at your OpdenSource-project :-) @ Jesse: Thanx fort he hint, I modified now my code to my needs... it works, only: where's the practical difference between this solution and the solution where I just tell the Buttons to do what I want (= onRelease( lang_xml.load(XMLFile); updateTextfields(); ))? Here my code (it works): this.de.onRelease = function() { this.dispatchEvent({type:'click',target:this}); //trace(DE-Button was pressed); } this.fr.onRelease = function() { this.dispatchEvent({type:'click',target:this}); //trace(FR-Button was pressed); } this.it.onRelease = function() { this.dispatchEvent({type:'click',target:this}); //trace(IT-Button was pressed); } this.en.onRelease = function() { this.dispatchEvent({type:'click',target:this}); //trace(EN-Button was pressed); } var langListener:Object = new Object(); langListener.click = function (EvtObj:Object){ var str:String = EvtObj.target.label.toLowerCase(); _root.lang_xml.load(conf_+str+.xml); } for (var prop in this) { mx.events.EventDispatcher.initialize(this[prop]); this[prop].addEventListener(click, langListener); //trace(this[prop]); } stop(); -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Jesse Graupmann Gesendet: Dienstag, 12. Juni 2007 22:09 An: flashcoders@chattyfig.figleaf.com Betreff: RE: [Flashcoders] AS2: Multilanguage-Listener You have to initialize the object before you can add listeners; var listener:Object = new Object(); listener.click = function ( evt:Object) { trace(it worked!); }; var obj:Object = new Object(); mx.events.EventDispatcher.initialize ( obj ); obj.addEventListener( click, listener ); obj.dispatchEvent ( {type:'click', target:obj } ); _ Jesse Graupmann www.jessegraupmann.com www.justgooddesign.com/blog/ _ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Cristo @ cryzto.ch Sent: Tuesday, June 12, 2007 12:45 PM To: flashcoders@chattyfig.figleaf.com Subject: [Flashcoders] AS2: Multilanguage-Listener Hi everybody I'm working on a multilanguage configurator and want to update every textareas, labels etc. by clicking on one of the available lang-buttons (english, german, spanish ect.). My configurator consists of different movieclips/layers of course. Now I've tried to reach this by creating an evenlistener on those buttons, but without success. Code (layer: _level0): var langListener:Object = new Object(); langListener.click = function (EvtObj:Object){ trace(it worked!); }; // ie: english-button _level0.langP_mc.en_btn.addEventListener(click, langListener); Can anyone help? Cryzto No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.472 / Virus Database: 269.8.14/845 - Release Date: 12.06.2007 06:39 ___ 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
RE: [Flashcoders] Cycle through XML nodes
As someone that doesn't read Flash help, will not do a Google search, will never register or participate on a Flash forum, will ask the same question enough times an re: has to be added to the beginning to keep it fresh, will always asks the list before logically thinking through any project, let's others do paid work for free, dials 911 about abandoned shopping carts, prefers the title L337 over n00b, and spams technical support for site checks... I take offense Jason! [HINT] for anyone else just like me: http://www.kirupa.com/web/xml/index.htm -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Merrill, Jason Sent: Tuesday, June 12, 2007 9:48 AM To: flashcoders@chattyfig.figleaf.com Subject: RE: [Flashcoders] Cycle through XML nodes Was it you - or maybe someone else, but this same exact question was just asked recently, and after several responses and the person also being referred to Flashnewbies, the thread ended. I suggest you ask on Flashnewbies or refer back to the previous responses. No offense, but this is pretty basic stuff. Jason Merrill Bank of America GTO Learning Leadership Development eTools Multimedia Team -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of José Maria Barros Sent: Tuesday, June 12, 2007 12:33 PM To: Flashcoders mailing list Subject: [Flashcoders] Cycle through XML nodes Hi, all..I hope anyone can help me here.. I have two buttons: a next and a previous button. I need to cycle through the XML nodes with that.. Like a photo menu that i press next and the next photo and text loads.. Can anyone give me hints about it? THanks in advance ___ 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