[Flashcoders] [FLASH 8] XML Loading in .exe file
Hi, I'm loading xml data from a local file to use the tree component. It's working well while playing the swf file through flashPlayer 8, but if I publish it as an .exe projector, the xml file seems to be ignored and not loaded. I cant reach http://chattyfig.figleaf.com/ anymore to search the archives. Any idea ? Thanks ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Compiling with flash.exe
Is it possible to compile an fla using Flash.exe? More important : Is it possible to give classpath's as parameter with flash.exe? Thx, Lieven Cardoen ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] removemovieclip failure
Ok this is the first time i've had this issue with removemovieclip so bear with my amazement. I have an application with popup windows created with attachMovie. These windows have the following script on frame 1 of their movieclip: closer.onPress = function() { this.gotoAndStop(2); }; closer.onReleaseOutside = function() { this.gotoAndStop(1); }; closer.onDragOut = function() { this.gotoAndStop(1); }; closer.onRelease = function() { this.gotoAndStop(1); this._parent.closeMe(); }; function closeMe() { removeMovieClip(this); } closer being the close button instance name. The closeMe function is called, but removeMovieClip does nothing. I did a trace(this); removeMovieClip(this); trace(this); and both traces show up, showing the correct path, but nothing is removed. Is there a good reason for this? What am i missing. - Andreas ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] How to update components on stage?
Use a 'Compiled Clip' instead of a regular movieclip symbol. Each time you change the associated class, recompile the Library symbol overwriting the existing 'Compiled Clip'. Instances on stage will then be updated. regards, Muzak - Original Message - From: Boon Chew [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Sunday, December 04, 2005 8:55 PM Subject: Re: [Flashcoders] How to update components on stage? Michael totally spelled out the problem. I have about 10 instances of the component on stage, every time I add a new inspectable attribute to the class, I have to replace them all, and swapping symbols won't work either. What a pain! - boon ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Filereference.upload
Hi Is there any Limit to size of file with uploading file greater than 10 mb. Although with php/asp scripts I have uploaded more than 50 mb-100 mb files to my server, but with filereference.uploadmethod, I am just able to upload files less than 10 mb of size. Any hints? Regards Rishi ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Screen Capture with Flash
So, the Jessen Warden posted about a NSYNC card video to do that using screen capture. www.jessewarden.com bye 2005/12/2, Brooks Andrus [EMAIL PROTECTED]: Thanks for the info Jim--I was hoping for a different outcome, but its good to know what I'm up against. On 12/2/05, Jim Phelan [EMAIL PROTECTED] wrote: Camera is encoded in the player using the Spark codec and Microphone is encoded using the NellyMoser codec. You can encode the screen with Flash Player's video encoding, but first you have to make the screen available as a wdm video source. You can do this, but you'll have to use an installable tool (like camtasia) to accomplish it. Screen sharing typically uses a different codec, since encoding even 640x480 px using the stock Spark codec would either look really bad or use too much bandwidth. There is no encoding for this natively in Flash Player, and if there were you still wouldn't have access to the screen as a video source. Sorry to be the bearer of bad news... Jim -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brooks Andrus Sent: Friday, December 02, 2005 2:27 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Screen Capture with Flash Also, doesn't the FileReference class allow you to download a fileare you saying that macromedia is actually altering the player with their download? On 12/2/05, Brooks Andrus [EMAIL PROTECTED] wrote: So how are the camera and microphone streams handled? The player isn't doing any encoding, it just pushes raw uncompressed streams around? On 12/2/05, Jim Phelan [EMAIL PROTECTED] wrote: Breeze installs an executable (presenter plugin), it just happens to be an downloaded via Flash Player (something only macromedia can do). Flash Player can't access the screen, and it wouldn't have the processing power to do the encoding. Unfortunately, your only option is to wrap the SWF in an executable app. You can also use the screen camera approach (camtasia or similar.) Jim -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brooks Andrus Sent: Friday, December 02, 2005 1:53 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] Screen Capture with Flash I'm actually looking at creating a small web based screen capture app with the Flash client doing the client-side capture, so the exe wrapper approach wouldn't work in my case. I know Macromedia Breeze does this and I've seen other Breeze Style apps, but I haven't been able to guess at how they do it. On 12/2/05, Dimitrios Bendilas [EMAIL PROTECTED] wrote: Hi, You can do this if you use a wrapper to make a projector (exe) file out of your .swf file. I use Zinc and I think it's absolutely great! www.multidmedia.com There are other products available but I haven't tried them. SWF studio pro is one of them I think Regards, Dimitrios - Original Message - From: Brooks Andrus [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Friday, December 02, 2005 8:24 PM Subject: [Flashcoders] Screen Capture with Flash Does anyone know if its possible to do screen capture with a Flash Application? If so any pointers on where to get started? Thanks, Brooks ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders -- Igor Costa What's next? www.igorcosta.com www.mxstudio.com.br
RE: [Flashcoders] Accessibility
If your question is also about in general how to accomplish accessibility in Flash, visit the Macromedia Accessibility Resource Center: http://www.macromedia.com/resources/accessibility/ Jason Merrill | E-Learning Solutions | icfconsulting.com -Original Message- From: [EMAIL PROTECTED] [mailto:flashcoders- [EMAIL PROTECTED] On Behalf Of GregoryN Sent: Sunday, December 04, 2005 4:45 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] Accessibility Here's direct link: http://www.w3.org/TR/WCAG10/full-checklist.html -- Best regards, GregoryN http://GOusable.com Flash components development. Usability services. == Hans Wichman wrote: i think u can find more about it here: http://www.w3.org/TR/WCAG10/ http://www.accessibility.nl/internet/ebrochure/brochure/contents.htm The table of contents lists priorities, but they refer to the other guidelines. I think it might involve a lot of work if your site is already finished ;). greetz Hans At 03:25 PM 12/3/2005, Paul Steven wrote: Hi there I have developed a childrens entertainment site in Flash MX 2004 and now the client has just asked whether the site is priority 12 accessible Anyone have any idea what this involves and what I need to do to ensure this. Many thanks Paul ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders NOTICE: This message is for the designated recipient only and may contain privileged or confidential information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of this e-mail by you is prohibited. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] HTML in XML
I am bring in some html text to show in flash in an xml file like this: description id=0 title![CDATA[bpicture 0/b]]/title /description When i trace it back in flash, it shows up like this: lt;bgt;picture 0lt;/bgt; How can I keep it show it shows the html tags because it wont show up in flash as bolded... Thanks! ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Swtich Statement issue!?
I have a method that returns a number which I know to be of value 1 I have a static number variable in another class (SWF_STATE) which I also know to be 1. In an if() statement they evaluate to equal the same, however in the following switch statement it will not evaluate? trace(TYPE:+currItem.getMediaType()+ COMPARED TO: + VideoVO.SWF_STATE); // this traces TYPE:1 COMPARED TO:1 if(currItem.getMediaType() == VideoVO.SWF_STATE) { trace(wtf?!);//this evaluates and traces } switch(currItem.getMediaType()) // this switch always traces the error (default branch) { case VideoVO.FLV_STATE: this.currentPlayer = swfPlayer; break; case VideoVO.SWF_STATE: this.currentPlayer = swfPlayer; break; case VideoVO.MP3_STATE: this.currentPlayer = swfPlayer; break; case sometest==VideoVO.JPG_STATE: this.currentPlayer = swfPlayer; break; default: trace(ERROR: NO MEDIA TYPE!); } trace(sometest); // traces 1 trace(VideoVO.SWF_STATE); // traces 1 Any help on this very much appreciated! Dan This message and any attachments should only be read by those persons to whom it is addressed and be used by them for its intended purpose. It must not otherwise be reproduced, modified, distributed, published or actioned. If you have received this e-mail in error, please notify us immediately by telephone on 01202 237000 and delete it from your computer immediately. This e-mail address must not be passed to any third party or be used for any other purpose. Every reasonable precaution has been taken to ensure that this e-mail, including attachments, does not contain any viruses. However, no liability can be accepted for any damage sustained as a result of such viruses, and recipients are advised to carry out their own checks. Moov2 Ltd cannot accept liability for statements made which are clearly the senders own and not made on behalf of the Moov2 Ltd. An e-mail reply to this address may be subject to interception or monitoring for operational reasons or for lawful business purposes. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] BASE object tag being ignore after IE refresh
Hi, I have a Flash Movie with a base tag in the object code pointing to a different folder on another server (crossdomain.xml on both server) to get all the content (jpg and flv files). It works great on Mozilla, but on IE when you reload the page, it seems to ignore the base path and tries to load the content from the same url where the swf file is in. Any idea what this could be? Jens ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] floating point
On 12/4/05, Hans Wichman [EMAIL PROTECTED] wrote: Hi peeps, related discussions have been on here before, but i didn't find a real answer. Imagine this piece of code: var i = 0; onEnterFrame = function () { i = i + 0.1; trace (i); if (i == 0.7) trace(here); } as you might expect, after running for 7 frames, it traces here. However if you change 0.7 to 0.8, it stops working. I assume this is to floating point math and rounding errors and stuff? In what way can i check for equality to 0.7 then? With a bigger than, smaller than construction? This seems so weird to me... This will check to make sure the numbers are equal to within 2 decimal places. change both 100's to set how many decimal places you want to check. if(Math.round(i*100) == (0.8 *100)) -David R ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] How to make a class instance self-destructible?
mc.onEnterFrame = function() { trace(hit); delete this.onEnterFrame; } Try this one on for size. You'll only get one (1) hit trace out to the output window. If you have actions following the delete they'll still get called before the method is deleted. mc.onEnterFrame = function() { delete this.onEnterFrame; trace(hit); } you still get hit traced out once in the output window. Cicak you're right: if they have reference counting in place, they can delete object the moment its ref count is zero This is the Flash Player garbage collection right now. Gary Grossman gave a great talk at the MAX conference explaining the difference between the reference counting GC in the current player and the new GC coming in FP 8.5. Because it's the reference counting system I'm afraid you can't delete an object this way if there's other references to it. The reason onEnterFrame can delete itself is because it's deleting the single reference the system has to it. Solution: since Flash takes care of garbage collection, you don't need special clean-up procedures (this is why other languages have something like destroy) Forget about OOP usuals and garner the strength provided by a dynamic language (ie just say delete myObj; instead of the OOP required myObj.destroy();). The more I develop the more I find that OOD (object oriented design, designing your system well) is much more important than OOP (following all the rules, applicable or not, for the sake of being as much like Java as possible) Tyler On 12/4/05, Hans Wichman [EMAIL PROTECTED] wrote: ps boon, one fast way to verify on windows: - repeat your action 10 times in a for lus with the taskmanager open If the memory you use is being recollected you will see your application eat memory and release it, eat it and release it etc if not, it will just be hogging memory until it hangs... quick and dirty ;) At 02:12 AM 12/4/2005, Boon Chew wrote: Good stuff Steven, I am glad I asked this question (and David's reply is great). Is there a way to verify that the onLoad is indeed orphaned in the VM memory pool? - boon Steven Sacks [EMAIL PROTECTED] wrote: Here is something more for you to chew on: If you assign say an onLoad method to an object, and don't delete the onLoad before you delete the object, the onLoad method is orphaned and since the reference to the object is gone, it does not get cleaned up by the garbage collector, and remains in memory with no way to get to it. For example (AS1 code used here): foo = new XML(); foo.onLoad = function(valid) { if (valid) { // xml loaded successfully } else { // xml load error } } If you: delete foo; the foo.onLoad method stays in memory. You have to delete foo.onLoad; delete foo; to really get rid of foo. Objects cannot delete themselves, nor can they call another object to delete them because technically you're still in the same operation thread. It has to be done independantly outside the object you're trying to delete. The way I get around this is: xmlHolder = {}; var id = new Date.getTime(); xmlHolder[id] = new XML(); xmlHoLDer[id].onLoad = function(valid) { if (valid) { // xml loaded successfully } else { // xml load error } this.complete = true; } I assign a complete = true property. Then, I have my own little clean up tool running, checking for complete xml loads: for (var o in xmlHolder) { if(this.xmlHolder[o].complete) { delete this.xmlHolder[o].onLoad; delete this.xmlHolder[o]; } } The clean up tool is running in a separate thread therefore it can delete other xmlHolder without issue. HTH, Steven ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders - Yahoo! Personals Skip the bars and set-ups and start using Yahoo! Personals for free ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] .flv video problems on a Mac
Hi I had the same problem and my solution involved detecting the platform that the user is detecting ad changing the path accordingly Here is my code, you might need to change it a little /* * resolveVideoURL() * converts to the given url to the proper url depending on: * using windows don't do anything * using mac and http don't do anything * using mac and no http convert! **/ private static function resolveVideoURL(url){ var os = System.capabilities.os; os=MacOS; if (os!=MacOS ) { // not mac, don't worry return url; }else{ //check if using http //using _url check if we are using http var swfUrl = _level0._url; var substr = swfUrl.substr(0,4); if(substr==http){ //using http connection, don't worry return url; }else{ //if using local path return url //look for Volumes/ var i = swfUrl.indexOf(/Volumes/); if(i==-1){ //local url, don't worry return url; }else{ //cd rom or network drive //at the end this needs to look like this: // Racing:videomac:act:3005l.flv //convert path //example swfUrl path file:///Volumes/Racing/... //example url path ../act/3005l.flv //take the file:///Volumes part of swfUrl first var sta= String(file:///Volumes/).length; var filePath = swfUrl.substring(sta); //split filePath var filePath_arr = filePath.split(/); //get rid of the last item in filePath. This is the *.swf filePath_arr.splice(filePath_arr.length-1,1); //split url var url_arr = url.split(/); //get rid of one level in filePath_arr for each .. in url for (var a=0 ; a url_arr.length ; a++){ var ele = url_arr[a]; if(ele==..) { filePath_arr.splice(filePath_arr.length-1,1); }else{ filePath_arr.push(ele); } } //concat string var newUrl = filePath_arr.join(:); //trace(newUrl) return newUrl; } } } } On 11/30/05, Woodage, Alison [EMAIL PROTECTED] wrote: Thanks Dunc...i think that will help. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Duncan Reid Sent: Wednesday, November 30, 2005 3:30 PM To: Flashcoders mailing list Subject: Re: [Flashcoders] .flv video problems on a Mac Hi Alison, Maybe this will help: http://www.macromedia.com/go/3121b301 Dunc On 11/29/05, Woodage, Alison [EMAIL PROTECTED] wrote: Hi, I have a file that is loading .flv files dynamically and playing them back via a mediaDisplay component. The swf is packaged for flash player 7. Everything works fine except when run on a mac from a cd drive or network drive (it is fine from a local drive, eg desktop) when flash player 7 is installed. If the player is upgraded to flash player 8 the problem is resolved. Any ideas as to why
[Flashcoders] Who wants MIDI in the Flash Player?
The Flash Player has evolved through the ages to provide the most needed functionality. Through each version there have always remained a few common goals. What I have found is that: Flash is small -- from the player itself to the swf file format to the assets it is optimized to load, focus has been placed on small file sizes (this of course is not as apparent in many websites that are heavy in multimedia) Flash supports standards -- the player supports many web and multimedia formats standard in the industry, such as jpg, mp3 and xml Flash is interactive -- the players greatest strength is the dynamic behavoir through ActionScript to allow user interactivity MIDI, a music standard format that most computers support today, fits all of these categories (like a glove). In fact there's an opensource project being developed to allow MIDI through Flash, though it requires an additional download and install to the user apart from the Flash Player itself (seen at osflash.org) I'd like to take a poll. Do you think MIDI should be included in the Flash Player? Why or why not? I want both votes and opinions as I'll organize the results and send them off to Adobe, formerly known as Macromediahttp://www.macromedia.com. Please respond with some sort of opinion whether it's pro or con. I'll list the pros/cons I can think of below (you don't have to read the rest of this email if you already have your opinion). A little more on MIDI: MIDI is a standard music format (some will argue that it's the onlystandard) that represents pitches and instruments to be played as a song. It's extremely small, being the vector of music, and has to be interpreted by a users soundcard. Almost all computers these days support standard MIDI, though it sounds synthesized (especially on the voice and string instruments). Some soundcards or additional software transform the common MIDI into amazing orchestrations, but most users don't have this advanced playback. MIDI pros: can be generated dynamically and played through a sequencer to allow complete on-the-fly customization of sound. very small in filesize supported by almost all soundcards numerous applications for the creation of MIDI songs (many are free) it's a standard that has been around for a long time (so there is a lot of support for it) a small implementation (wouldn't increase the Flash Player size by more than 50K) MIDI cons: most people will have a more synthesized sound user experience isn't guarenteed to be consistant (for those with higher quality soundcards) as with all advancements, could make it really easy for developers to have annoying sounds playing on their sites ;) In short, if the Flash Player had a midi sequencer built in it would allow developers to create lightweight interactive music applications, such as this sheet music rendering application http://mediarain.com/musicrain or music creation applications. It could also allow users to experience a website that contained sound effects or decent background music at very little bandwidth cost. Formerly know as Macromedia has always been good about listening to the developer community and will surely make efforts to build the features we need, if we tell them. This is your forum. Tyler ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] external jpg resize script
Hello, I'm probably missing something very simple here. I would like to load an external jpg into a movieclip. When the user resizes the stage, the width and height of the jpg match that of the stage. The below script does not seem to be working. I can't seem to figure out what's missing. Any ideas? Thanks in advance, Mike //SET STAGE PROPERTIES Stage.showMenu = false; Stage.scaleMode = noScale; Stage.align = LT; //RESIZE EXTERNAL JPG var tmp:MovieClip; tmp = this.createEmptyMovieClip(bgExpand_mc, 1); tmp.loadMovie(images/background/bg_image1.jpg); tmp.onResize = function(){ this._width = Stage.width; this._height = Stage.height; } Stage.addListener(tmp); ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Bitmap Class and FileReference.download
Hi All, I am doing some research for an upcoming project ... With the new Bitmap Class and FileReference.download functionality in Flash 8, is it possible to create a drawing app that can grab what the user has drawn (using the Bitmap Class) and then download it to a folder on a webserver as a JPEG (using the FileReference.download method)? Or can I only sample every colour value (using getPixel) and then send a string of these values up to a script (such as PHP) on the server that then creates a JPEG on the fly (using the GD Graphics Library)? Thanks, Adrian Parr ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] Flash is a single-threaded app? Maybe it's just theAVM? or...
Windows 3.1 was single threaded. As I understand it, programs would hook into the event loop and be given a handle. While they held the handle, they could run their own code, but they were supposed to release it when they were finished to allow other running programs to use it. I guess what I'm trying to say is quite a bit you can do without multiple threads. And just as a side note, I came up with an interesting idea today on how to emulate multiple threads in Flash. Just use more than one movie! Talk between the UI movie and the background worker movie with a LocalConnection object, and you're in business. No more UI lock. Scott -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Boon Chew Sent: December 3, 2005 8:24 PM To: Flashcoders mailing list Subject: [Flashcoders] Flash is a single-threaded app? Maybe it's just theAVM? or... I have read in this forum that someone loosely coined the phrase Flash is a single thread app, it's hard to imagine something as high performance and intricate as Flash to be a single-threaded app. So I started to take the above statement to mean that the Actionscript VM executes all the code in a sequential fashion but that Flash player itself is multithreaded, is that a right assumption? And what about code that are asynchronous in nature, such as sound playing ( new Sound(), onSoundComplete), server-side call return (such as LoadVars, XML.onLoad)? Are these all happening in the single thread of code execution? Looks like a book on Flash and AVM Internal would be nice. :) - boon - Yahoo! Personals Single? There's someone we'd like you to meet. Lots of someones, actually. Try Yahoo! Personals ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] How to update components on stage?
how about you complete the component before you start placing instances and using them? That would solve your pain. edolecki On 12/4/05, Boon Chew [EMAIL PROTECTED] wrote: Michael totally spelled out the problem. I have about 10 instances of the component on stage, every time I add a new inspectable attribute to the class, I have to replace them all, and swapping symbols won't work either. What a pain! - boon --- Michael Stuhr [EMAIL PROTECTED] wrote: Eric E. Dolecki schrieb: Just replace the component on the Stage with the component with the changed inspectable params. edolecki but then you'd have to reposition - resize and what not ... wasn't there an extension ... no i believe not. See the 'problem' is, that if you've got a normal clip on stage, you'd select it's library item through property panel. but with components i believe you can't right ? It#s not THAT big deal, but it would be nice if we could. micha ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders __ Yahoo! DSL – Something to write home about. Just $16.99/mo. or less. dsl.yahoo.com ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Eolas/Flash/IE
http://www.eweek.com/article2/0,1895,1895907,00.asp?kc=ewnwsMMDDYYdtx1k0 000599 ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] output doesn't scroll in flash 7?
Hi coderz, I've just read this post and it push me to expose my problem. I've got a strange behaviour with the ouput window since FMX2004... Sometimes (near always) my output window doesn't scroll to the very bottom of the traced data. i.e. when I put a trace into an enterframe for example, the tracing start, show the value and after 2-3s (sometimes more, sometimes less) the output text disapear since the output window doesn't scroll anymore... I've checked/unchecked every options, without success. Not a very coding problem but very annoying for debugging. Any ideas ? Thx Guillaume BEDLEEM keblow.com - Original Message - From: Michael Bedar [EMAIL PROTECTED] To: Flashcoders mailing list flashcoders@chattyfig.figleaf.com Sent: Sunday, December 04, 2005 9:10 PM Subject: Re: [Flashcoders] output gone in flash 8? Now if MM would add a few more options in that menu, and add a param to trace to set the level, we would be in all set... On Dec 4, 2005, at 3:04 PM, YuriGoul wrote: Ok, that did the trick - and I am going to feel realy stupid now. Sorry for the noise :-$ (crawls under the blankets and holds his breath) On 4-dec-2005, at 20:27, Michael Bedar wrote: Also- check the filterLevel in the output window menu... if it's set to None, it will behave as you describe... set it to verbose. On Dec 4, 2005, at 2:14 PM, YuriGoul wrote: Nope. I can create a new empty file with no matter what settings and put a trace comment in it. The output panel comes to the front as happens when the trace is executed, but there is nothing in it. On 4-dec-2005, at 19:21, Michael Bedar wrote: I assume you did not inadvertently check omit trace in the publish options? On Dec 4, 2005, at 12:56 PM, YuriGoul wrote: No it is not that, the actionspanel is fine. Even erased comments and traces with profanities, but it made no difference :-) YuriGoul On 4-dec-2005, at 18:48, Adrian Lynch wrote: A colleague of mine had a similar problem with the actions panel. It's as if there was no code there yet he could copy and paste it into an external app. This was MX 2004 Pro and he's now on Flash 8... Ade -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of YuriGoul Sent: 04 December 2005 17:34 To: Flashcoders mailing list Subject: [Flashcoders] output gone in flash 8? Anyone familiar with a bug where flash 8 no longer shows visible output in the output pannel? The output pannel still comes to the front though, but nothing is visible. Am on osx 10.4 None of my files give visible output, not using trace, not when having an error, and they all work fine when saved for mx2004. It just suddenly stopped. Tried uninstalling, removing a bunch of folders in /home/ library and / library and re-installing, nothing worked. Could not find anything in the archives, either. TIA, YuriGoul ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] double click event
hi all, I was wondering if anyone knows of a double click event. I want to be able to double click on a movie clip to perform an action rather than a single click. any help would be great, thanks. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Applying tween class to textfields
What are you trying to tween? I know I was trying to tween the alpha with the Zigo engin but couldn't get it to work until I embeded the fonts. Have you tried that? Have you tried MC tween2? http://hosted.zeh.com.br/mctween/index.html Or fuse kit: http://www.mosessupposes.com/Fuse/ They are related to Zigo but later versions. 2005/12/3, [EMAIL PROTECTED] [EMAIL PROTECTED]: Sorry its still early ;) This is the movieclip tweening prototype I am using. It says it works with textfields as well but no luck so far. http://laco.wz.cz/tween/ Thanks ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] Re: targeting classes in a loaded swf
Cole, Ha ha, thank you for the compliments. The good news is you shouldn't have to use the same agreed upon name. Thats the great thing about singleton! for example main.swf loads in ui.swf when ui.swf is loaded it has on it's timeline something like: obj:UI = UI.getInstance(); right? So now the 'obj' object in ui.swf is the one instance of UI that can exist (singleton). so later, when main.swf asks for the same thing: // calling it 'myUIObj' cause I can var myUIObj = _global.UI.getInstance();// instance is defined, so we get the same object that was defined on ui.swf's timeline it returns the single instance of UI, or ui.swf's 'obj' object. So test it by inserting this code trace(myUIObj == ui_mc.obj); // returns true -- they are the same instance of the UI class This works because your agreed upon point of reference is the class UI. As long as you've implemented singleton correctly you can from get that same object from anywhere. Note: This works because AS 2.0 classes are defined on the _global object. If your class is in a package you'll need to reference it through the package objects like this: myUIObj = _global.package.subpackage.UI.getInstance(); also, the reason you use _global.packagename.classname instead of simple importing the class and referencing it directly is so that Flash doesn't compile the UI class (and every other class it references) in both swfs. It should only be compiled in ui.swf and simple be referenced in main.swf. I really hope this all makes sense. If not I know there's some great articles out there. Watch the Singleton tutorial by Rob Taylor ( http://www.flashextensions.com) in the Design Patterns section. It's really helpful. Play around with it a bit and see what you get. Good luck! Tyler On 12/4/05, Cole Peterson [EMAIL PROTECTED] wrote: Thanks a lot for your time Tyler Wright. That helped a lot! I have implemented your suggestion. singleton. everything is great. My controller loads in the swfs that make up the diff parts of the app. The only disconnect is that all swfs have to agree to implement their ui using ... for example the name 'obj'. var obj:Someclass obj = Someclass.getInstance(); then my controller can target that class in any swf by using the mc that it loaded the swf into and calling mc.obj.getInstance().doSomething(); or just mc.obj.doSomething(); Does that make sense or am I missing something? If the above does make oop sense I now have a controller that loads in swfs and can then create pointers, if needed, to the main UI object in each swf. The only problem I see is forcing the use of an agreed upon name. Thanks again! Cole ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] Someone knows about strange behaviour of windowcomponent on internet explorer?
I had a similar problem. To get around it I put a 500 ms interval to pause the script execution before proceeding... !K -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of eugen pflüger Sent: December 1, 2005 3:02 AM To: Flashcoders mailing list Subject: Re: [Flashcoders] Someone knows about strange behaviour of windowcomponent on internet explorer? well, seems that nobody had that problem before. than i will post a bug to macromedia. its frustrating because that problem had occured on flash mx 2004 and is not fixed in flash 8. eugen Am 30.11.2005 um 15:19 schrieb eugen pflüger: Hi list, could this be a flash bug on internet explorer? I have a movieclip with a lot of buttons that create different windows with different content. The swfs loaded into the windows have an onLoad method where more components are initialized. The problem is as follows: When loading the swf, the window component is shown as a small window until the swf loads inside (then the window gets resized), so I added a complete event listener so when the window reports finalized the loading process I can make the window visible. Nevertheless, I've found that in Internet Explorer, sometimes, the onLoad method occurs AFTER the complete event has been launched and not before as it should be (the event is generated before the swf has finished loading), the result is the window appearing before it is supposed to, showing uninitialized components in a very buggy way.. this problem occurs only in internet explorer on pc (not in firefox or safari or netscape on mac) has somebody encountered this too? or does someone has an bugfix / workaorund? i always thought that the flash player runs stable on all systems...sigh tia eugen ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders plugisto ... eugen pflüger alexanderstr. 109 70180 stuttgart fon +49.711.6739797 mobil +49.177.6428272 e-mail [EMAIL PROTECTED] ... http://www.plugisto.net http://www.lifeperformance.net ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders