Re: [Flashcoders] getBytes...() works only local, not online (except when imgs are cached)
Yeah, but the client wants to show % of all images togheter. Like if I have 5 images (20kb, 40kb, 10kb, 10kb, 20kb) and swf has loaded 10kb of the first image the loader shows 10% loaded, cause it´s 10kb of 100kb of all images not showing any other information. If there´s no way to do it, I can say it to the client and change, use the way you said. If there´s a way, let me know. 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] Re: getBytes...() works only local, not online (except when imgs are cached)
Hi Jesse, Thanks for the help, I´ll take a look at PreloadAssetManager! And, I´ll take care on sending messages to the list. I got scared when I saw all three. I thought that the first and second had failed. 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] getBytes...() works only local, not online (except when imgs are cached)
Hey Muzak, Well, thanks for the help, and the tips! :) But I still have a problem, cause the total and loaded bytes, come one by one. So, in 6 files, I only have data from file 2 after file 1 is complete. That makes impossible to have a working preloader. Do you have any idea? I´ll take a look in what Jesse told me about, but any other idea is welcome. Thanks 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] 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; i(loader.bar._currentframe*2) && loader.bar._currentframe<50) { 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; ihttp://chattyfig.figleaf.com/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; i(loader.bar._currentframe*2) && loader.bar._currentframe<50) { 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; i ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[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; i(loader.bar._currentframe*2) && loader.bar._currentframe<50) { 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; ihttp://chattyfig.figleaf.com/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] Have a problem with my flash site, in 1 or 2 people computer
Hi Eric, Good point yours, but the client just want to care about 1024x768 and 1280x1024. I´ll insist, but if they don´t send me the higher res pictures, no deal. 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] Have a problem with my flash site, in 1 or 2 people computer
Hi Elaine, The swf is version 8, and the client has player 9 installed. And it loads the swf, reaches the last frame, but failes to show background and menu itens. But loads xml, css, and everything. I don´t have any idea of what can be happening. Thanks for the tips! Any other idea, let me know! Thanks! 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] Have a problem with my flash site, in 1 or 2 people computer
Hi, I have a weird problem with a site (http://www.2pestudio.com/). The client said that one person tried to see it, but loaded only a green "i" (on top-right) and the address (just beside the "i") and the loader keeps on screen, forever. Weird cause the site has a preloader and only shows those if the xml has loaded, and it has a structure that would really avoid those type of problems. The site is exported to Flash 8 player, and this person that had this problem, said that he loads hundreds of sites, with no problem. Well, I´ll let you know the fla structure down here so you can see that I am talking about: . frame1: Stage.scaleMode = "noScale"; . frame2: preloader (own swf, css, xml, bg image - the client wanted only one preloader) xml loads with "loading" only appearing (carregando instead of loading) when it finishes, preloader start loading xml content, bg image, text, etc. when it finishes, after being sure that css is loaded, it goes to frame 4. . frame3: exported library itens . frame4: preloader goes away with transition, when transitionIsComplete, goes to frame5 . frame5. here is where the site is mounted, I use transitions to keep things organized. any part of the "i" (on top-right) code, is here, nothing before. Anyone have a clue about that? ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Flash animation like http://u10.iriver.com/
Thanks all! And Muzak, this is flashcoders, and the great advantage of coming here and asking other coders their opinions, their way to work, is that we can talk about different ways, different approaches, to do the same thing, and discuss and change knowledgment about flashcode and techniques (what we can´t in google). I believe this is the very best of this, no matter how long people know the subject. And I include you, that helped many people in this list, many times. Thanks, Helios Rio de Janeiro, Brasil ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Flash animation like http://u10.iriver.com/
I really like those ideas, Flix Pro and techniques. I´ll discuss with design team and do what we can. Thanks a lot, Jason, Bob, Rich and Matthias 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] Flash animation like http://u10.iriver.com/
Yeah Jason, I thought so, and do you know what software could trace real-life motion? Should it be After Effects? Another one? Thanks 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] Flash animation like http://u10.iriver.com/
Hi, I have a project with animation of a person, and the client is in doubt about real person animed or silhouette like the one in http://u10.iriver.com/. Do you know what are the best techniques for both? The iriver example, what technique do you think it uses? My weakeast point in Flash is animation, and the design company will take care of it, but they asked me that cause they know nothing about Flash. Anyone has a tip for doing those differente animations? Thanks! 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] Flash hmtlText weird problem
Hey Muzak, thanks for all the help! About the files being saved as UTF-8, I really thought they were, I did set Dreamweaver to use it as default. As I never found this choice at exact saving time, I decided to do it with notepad, so now they are UTF-8 for sure, thanks. About the bold text problem, badly your solution didn't solve the problem. I did exactly as you said, but it keeps going on. Any other idea? The problem with 'undefined' vars, it happens cause the file is alone in this folder, and there´s an alternate code that load it if it´s '_level0' and don´t check the xml, cause it´s there only to test the file without loading the base file, but in the whole site ( http://www.2pestudio.com/_emConstrucao/), the base swf only opens the content windows after having the XMLLoaded var setted to true (and it´s setted to false when the swf loads). So it doesn't happens in the site. But thanks for calling attention for that. The problem with the menu options not showing is weird. That text is embedded, and supposed to work. I could not make it happen here, with IE6 or 7, or Firefox or Opera, but if happened once with you, it can come again. I am checking the code allover again to see any possible failure. Again, thanks for it. br, 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: Re[2]: [Flashcoders] Line breaks in textField in e-mail messages
Thanks a lot Attila! Never read about it anywhere, great 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] Flash hmtlText weird problem
Hi, New problem that looks like Flash bug, but it can be my mistake. I have a dynamic html textField in Flash, that imports a text from XML, and is formatted by CSS. Let´s say I have this text in XML (there are 2 texts in real XML): When I open the site in the browser, I can navigate in both texts (clicking in buttons to call each), and everything is perfect, with the title and author bold, and body not bold, normal text. So I try clicking in the author´s link inside the text, what opens another browser window. But from this time on, if I change to the other text, both appears all bold. The title, the body, the link, everything. And it happens in both, I can change between them, and it happens all the time. You can try it live here (http://www.heliospb.net/_2pestudio/artigos.html), the links are in the bottom of both texts, and their links are "branding" and "comunicação dirigida". I looked for any wrong reference to the text, text style, nothing, the code only handles it when it´s loaded and stays in a _root var. Is it a bug of Flash or mine? Another question is, do you have a clue why the link is hard to work in Firefox while in IE just a click makes it open the other browser window? Thanks, 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] Line breaks in textField in e-mail messages
Sure Eric, but how? I failed completely while trying to insert it on the fly (cause it cannot appear in the text the user is looking at). I thought about creating a copy of the text, in a var. But let´s say the user type 100 words, and decide to backspace 50 words, and type another 40. It will be a mess. Is there a better way? Thanks ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Flash htmlText (with ) weird problem / Firefox problem with this (other question)
Hi, New problem that looks like Flash bug, but it can be my mistake. I have a dynamic html textField in Flash, that imports a text from XML, and is formatted by CSS. Let´s say I have this text in XML (there are 2 texts in real XML): When I open the site in the browser, I can navigate in both texts (clicking in buttons to call each), and everything is perfect, with the title and author bold, and body not bold, normal text. So I try clicking in the author´s link inside the text, what opens another browser window. But from this time on, if I change to the other text, both appears all bold. The title, the body, the link, everything. And it happens in both, I can change between them, and it happens all the time. You can try it live here (http://www.heliospb.net/_2pestudio/artigos.html), the links are in the bottom of both texts, and their links are "branding" and "comunicação dirigida". I looked for any wrong reference to the text, text style, nothing, the code only handles it when it´s loaded and stays in a _root var. Is it a bug of Flash or mine? Another question is, do you have a clue why the link is hard to work in Firefox while in IE just a click makes it open the other browser window? Thanks, 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] Line breaks in textField in e-mail messages
Probably Attila, and I´ll try to explain better. If I come to my site (that uses Flash/PHP to send e-mail), type a message like this: "Hey Attila, I can´t keep the e-mail looking like this, in 4 lines." It will come to the email like this: "Hey Attila, I can´t keep the e-mail looking like this, in 4 lines." So, where the user typed "enter" key, there´s only a space, not a line break. Is there a way to tell PHP to send the e-mail with line breaks on the exact place? Thanks, 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] Line breaks in textField in e-mail messages
Hi, I´m not sure if it´s possible, and didn´t have time to try caus I´m in a rush to finish the site. The site has an e-mail form, and I´d like to know when the user has typed "enter" key, so that I can send the message body to php with "/n". First idea on mind, should be a listener that would copy every typed key, including erasing one or all text (that is crazy, I´m not sure possible, have to try), and copy to a var (this way the I won´t show the code I´ll insert for the user) and insert "/n" in this var. It really sounds crazy, so I´m thinking if you guys did it before (in any other way, or this)? Thanks! 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] Online Live Support without FlashComm (or even withouth Flash at all)
Thanks Richards, I checked it and will fit for what I was looking for. 2006/7/21, richard carr <[EMAIL PROTECTED]>: ck out flash chat http://tufat.com/s_flash_chat_chatroom.htm Richard On 7/21/06, Helios Pregioni Bayma <[EMAIL PROTECTED]> wrote: > > Hi list, > > I am developing a site that will need an online live support. The site is > full Flash and I would like the support to be in it too, but it´s not an > obligation. What I know is that I can´t use FlashComm, since the server > don´t support it and the client is not willing to pay. > > Is that a tutorial, a way, an example to make it? If not using Flash, can > be > PHP or ASP. > Thanks! > > Helios Pregioni Bayma > ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com -- Helios Pregioni Bayma Macromedia Certified FlashMX Designer 21 8742 0577 [EMAIL PROTECTED] | www.heliospb.net ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Online Live Support without FlashComm (or even withouth Flash at all)
Hi list, I am developing a site that will need an online live support. The site is full Flash and I would like the support to be in it too, but it´s not an obligation. What I know is that I can´t use FlashComm, since the server don´t support it and the client is not willing to pay. Is that a tutorial, a way, an example to make it? If not using Flash, can be PHP or ASP. Thanks! Helios Pregioni Bayma ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/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] Vars between game levels
Thanks for the idea Andy, I´ll try that. Adam, I know it´s strange. What I do in the base file is to define the 4 vars I need, create the sound objects - one for each level plus one for the base screen, and the screens to be showed before entering and while exiting each level. It works online and the performance problem doesnt happen all the time, but only when I move the player. But this doesn´t happen when I am running it directly on it´s html. A strange fact is that it takes too much time to export the swf, what doesn happen even in the levels files. It´s a pitty, cause I don´t have time to keep looking for what´s wrong and using a base swf is perfect for this game. Thanks, Helios -- Helios Pregioni Bayma Macromedia Certified FlashMX Designer [EMAIL PROTECTED] | www.heliospb.net ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Vars between game levels
Hi, I am developing a Flash Game of 4 levels (click to see level4<http://www.heliospb.net/jogos/Game_Peste_Attack_Fase4.html> - 180kb with no preloader). As each level will be in separate swf files, I have created a base swf that loads the levels in a holde mc, ok. The problems started when I lost performance when doing that, what forced me to find a new solution. I tried so, to use Shared Objects to keep the vars (points, level, energy), but it can´t be read by different swf. So, I tried using an empty swf, and use LocalConnection to send vars to it. It worked in sending the vars, but didn´t when I had to load those vars from other swf, I just had succes sending them, not loading. Any idea of how to solve this? Can be about what I tried or any new idea. I am worried cause I need to finish the game as far as friday, and couldnt solve this. Thanks! -- Helios Pregioni Bayma Macromedia Certified FlashMX Designer [EMAIL PROTECTED] | www.heliospb.net ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] Flash e-commerce site
Thanks everyone for all the help. Ryan, I know Flash is still something to belive for many people and that withouth it should be more reliable on security issues, but I believe it has changed completely in last years and had developed so much on application creation, and Rich Internet Application is their highest bet. And there´s the fact I love Flash and can make any design I want there. I´ll take a look at this flashcart.com, thanks. Josh, what you wrote is correct and Kevin, I´ll take a look at this book. My problem is with technologies out of Flash, that will deal with db and use Flash as presenter. Thanks again, Helios 2006/4/3, richard carr <[EMAIL PROTECTED]>: > > FWIW > Here is one similar to flashcart, I have not used it. > http://www.flashkart.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 > -- Helios Pregioni Bayma Macromedia Certified FlashMX Designer 21 8742 0577 [EMAIL PROTECTED] | www.heliospb.net ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
[Flashcoders] Flash e-commerce site
Hi, I have to define what technologies and how much I´ll ask for an e-commerce Flash website. I pretend using PHP and MySQL and did read that it´s better using already made codes, is it true? Does anyone knows a good one? The store will accept payment with all credit cards and Pay Pal. I have experience using PHP and MySQL but never did an online store, so I´ll thank any help about this. Thanks, 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