[Flashcoders] Projector, loaded SWFs and audio files
Quick question. I have a projector that loads SWFs on demand. The SWFs are in a subdirectory called "Sections". Each section SWF that loads into the directory loads it's own audio from a folder inside the Sections directory. Works fine on their own, but when loaded into the Projector, the relative path is off as the SWFs loaded into the projector now think they are at the same directory level as the projector and the load audio gets botched. How can I fix this so it works from the SWF themselves as well as within the projector (without embedding the audio anywhere)? E ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] swf doesn't work
Hi list... [CS3, dev machine has FP10 installed] I have a swf rendering problem on the pc. Two people are viewing my swf with player 9,0,16,0. When the swf initializes, there are a series of animations that occur where sprites are faded in on the stage. These two people only see the last sprite fade in, without seeing all the other sprites accumulate on the stage. My gut tells me it's a player version issue somehow. I am not sure why they aren't seeing it correctly. I'm publishing for 9, but I'm not sure if it's publishing a 9 build higher than 9,0,16,0. I target 9,0,16 in the html. I'm really puzzled. Thanks for any advice, - Michael M. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] swf doesn't work
Michael, Sometimes things that appear to be player issues turn out to be loader issues. When you first publish for external people, it's often the first time you go over the web AND the first time you get configurations. Can you be sure the app handles the loading of those sprite assets properly, using Test Download and reviewing the code? -jonathan On Thu, Jun 11, 2009 at 10:03 AM, Mendelsohn, Michael < michael.mendels...@fmglobal.com> wrote: > Hi list... > > [CS3, dev machine has FP10 installed] > > I have a swf rendering problem on the pc. Two people are viewing my swf > with player 9,0,16,0. When the swf initializes, there are a series of > animations that occur where sprites are faded in on the stage. These two > people only see the last sprite fade in, without seeing all the other > sprites accumulate on the stage. > > My gut tells me it's a player version issue somehow. I am not sure why > they aren't seeing it correctly. I'm publishing for 9, but I'm not sure if > it's publishing a 9 build higher than 9,0,16,0. I target 9,0,16 in the > html. I'm really puzzled. > > Thanks for any advice, > - Michael M. > > > ___ > Flashcoders mailing list > Flashcoders@chattyfig.figleaf.com > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > -- -jonathan howe ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
[Flashcoders] pay with credit card through Flaxh frontend for online store?
Having built a php/mySQL/Flash online store, I need to send the order details to either another flash module or elsewhere to process a credit card purchase (visa and mastercard) . Would anyone have suggestions as to how to safely do this? I know ssl/ https is involved but how exactly would I connect to a processing agent? Has anyone used ipower for this? Would you recommend them? Thanks for any insights! -Boyd ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
RE: [Flashcoders] swf doesn't work
Thanks for responding Jonathan. My only external asset is an xml file, and I write a textfield to the stage if there's an IOError. That's not happening, and all other sprites/graphics are within this swf. It seems to me it's more of an ActionScript error, as if each chunk of code wipes out the previous chunk of code and all I'm left with is the last chunk of code. - MM >Sometimes things that appear to be player issues turn out to be loader issues. When you first publish for external people, it's often the first time you go over the web AND the first time you get configurations. Can you be sure the app handles the loading of those sprite assets properly, using Test Download and reviewing the code? ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Flash CS4 very slow
Unless you have a High speed 16GB SD card and you are using it for readyboost, turn off super fetch, and turn off the windows search indexing service when you don't need it. Prefetch only really works to aid boot time and launching apps if you are using readyboost; otherwise, it causes a great deal of unnecessary cycles and spins on your hd platters and destroys your hard drive in a much smaller timeframe than usual. Search indexing, although very useful, causes a great deal of unnecessary spins on the hard disk, and a great deal of cpu cycles that could otherwise be devoted to your applications. My advice is really just to turn off what ever services you don't need; yet, I can tell you that turning these services off won't harm anything and will help you in the long run. Vista sucks, Anthony Rajiv Seth (Pixeldust) wrote: I agree... CS4 runs very slow. Even when I publish, every time it almost hangs for few seconds. I am also facing problems though I have Vista Home Premium with 2GB RAM. Any solution/suggestion??? Rajiv On Wed, Jun 10, 2009 at 11:44 PM, Patrick Matte wrote: BTW an update recently came out that fixes a lot of problems with Flash CS4. http://www.adobe.com/support/flash/downloads.html From: Alan Neilsen Reply-To: Flash Coders List Date: Wed, 10 Jun 2009 14:59:09 +1000 To: "'flashcoders@chattyfig.figleaf.com'" < flashcoders@chattyfig.figleaf.com> Conversation: Flash CS4 very slow Subject: [Flashcoders] Flash CS4 very slow Does Flash CS4 run very slowly for everyone, or might there be something wrong with my installation? Just about anything I do takes ages to happen. For instance, if I open Properties to type in an Instance Name, when I click somewhere else after that it takes 4 or 5 seconds before I can do anything - it just locks up for those seconds. 4 or 5 seconds does not sound much, but when it happens again and again and again day after day it really slows my work down. Alan Neilsen This message is for the named person‚s use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or; lost by any mistransmission. If you receive this message in error, please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify the sender. You must not directly or indirectly, use, disclose, distribute, print or copy any part of this message if you are not the intended recipient. GOULBURN OVENS INSTITUTE OF TAFE and any of its subsidiaries each reserve the right to monitor all e-mail communications through its networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorised to state them to be the views of any such entity. ## ### This e-mail message has been scanned for Viruses and Content and cleared by MailMarshal ## ### ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders This e-mail is intended only for the named person or entity to which it is addressed and contains valuable business information that is proprietary, privileged, confidential and/or otherwise protected from disclosure. If you received this e-mail in error, any review, use, dissemination, distribution or copying of this e-mail is strictly prohibited. Please notify us immediately of the error via e-mail to disclai...@tbwachiat.com and please delete the e-mail from your system, retaining no copies in any media. We appreciate your cooperation. ___ 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] swf doesn't work
Hi Michael Keep in mind that Flash CS3 was released in conjunction with Flash Player 9r45 (9,0,45,0). I can't recall all the differences. But there are certain events such as the ADDED_TO_STAGE/REMOVED_FROM_STAGE event that didn't make it in till at least 9r28. I also believe that 9r28 was the first release that supported all the various OSes and processors including Vista, Mac Intel. There were separate releases that added these features/OS support, but if need to set a minimum target for your content then don't go any further back then 9r28 and if you are using any of the Flash CS 3 features and components, you can't reliably support prior to 9r45 (without a lot of compatibility testing). Sincerely Mark R. Jonkman - Original Message - From: "Michael Mendelsohn" To: "Flash Coders List" Sent: Thursday, June 11, 2009 10:03:55 AM GMT -05:00 US/Canada Eastern Subject: [Flashcoders] swf doesn't work Hi list... [CS3, dev machine has FP10 installed] I have a swf rendering problem on the pc. Two people are viewing my swf with player 9,0,16,0. When the swf initializes, there are a series of animations that occur where sprites are faded in on the stage. These two people only see the last sprite fade in, without seeing all the other sprites accumulate on the stage. My gut tells me it's a player version issue somehow. I am not sure why they aren't seeing it correctly. I'm publishing for 9, but I'm not sure if it's publishing a 9 build higher than 9,0,16,0. I target 9,0,16 in the html. I'm really puzzled. Thanks for any advice, - Michael M. ___ 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 CS4 very slow
Oh yeah... I can't believe that I forgot to say turn off Aero or any other resource intensive theme or themes app and all effects. You may also want to shut down and restart flash once in a while to help speed things up; yet, it is still going to be a slow bastard. Anthony Pace wrote: Unless you have a High speed 16GB SD card and you are using it for readyboost, turn off super fetch, and turn off the windows search indexing service when you don't need it. Prefetch only really works to aid boot time and launching apps if you are using readyboost; otherwise, it causes a great deal of unnecessary cycles and spins on your hd platters and destroys your hard drive in a much smaller timeframe than usual. Search indexing, although very useful, causes a great deal of unnecessary spins on the hard disk, and a great deal of cpu cycles that could otherwise be devoted to your applications. My advice is really just to turn off what ever services you don't need; yet, I can tell you that turning these services off won't harm anything and will help you in the long run. Vista sucks, Anthony Rajiv Seth (Pixeldust) wrote: I agree... CS4 runs very slow. Even when I publish, every time it almost hangs for few seconds. I am also facing problems though I have Vista Home Premium with 2GB RAM. Any solution/suggestion??? Rajiv On Wed, Jun 10, 2009 at 11:44 PM, Patrick Matte wrote: BTW an update recently came out that fixes a lot of problems with Flash CS4. http://www.adobe.com/support/flash/downloads.html From: Alan Neilsen Reply-To: Flash Coders List Date: Wed, 10 Jun 2009 14:59:09 +1000 To: "'flashcoders@chattyfig.figleaf.com'" < flashcoders@chattyfig.figleaf.com> Conversation: Flash CS4 very slow Subject: [Flashcoders] Flash CS4 very slow Does Flash CS4 run very slowly for everyone, or might there be something wrong with my installation? Just about anything I do takes ages to happen. For instance, if I open Properties to type in an Instance Name, when I click somewhere else after that it takes 4 or 5 seconds before I can do anything - it just locks up for those seconds. 4 or 5 seconds does not sound much, but when it happens again and again and again day after day it really slows my work down. Alan Neilsen This message is for the named person‚s use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or; lost by any mistransmission. If you receive this message in error, please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify the sender. You must not directly or indirectly, use, disclose, distribute, print or copy any part of this message if you are not the intended recipient. GOULBURN OVENS INSTITUTE OF TAFE and any of its subsidiaries each reserve the right to monitor all e-mail communications through its networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorised to state them to be the views of any such entity. ## ### This e-mail message has been scanned for Viruses and Content and cleared by MailMarshal ## ### ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders This e-mail is intended only for the named person or entity to which it is addressed and contains valuable business information that is proprietary, privileged, confidential and/or otherwise protected from disclosure. If you received this e-mail in error, any review, use, dissemination, distribution or copying of this e-mail is strictly prohibited. Please notify us immediately of the error via e-mail to disclai...@tbwachiat.com and please delete the e-mail from your system, retaining no copies in any media. We appreciate your cooperation. ___ 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
RE: [Flashcoders] swf doesn't work
Thanks Mark, that's really helpful information. Regards, - Michael M. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] pay with credit card through Flaxh frontend for online store?
Answers in order by question asked: -Yes; yet, that would take forever, so I will tell you to learn the how and why of separating business logic from the client, and never rely on the client for setting the amount to be charged or sending the request to the processor. -Usually the processing agent gives you a web api and through Get and Post you send the request to the processor and receive transaction details and error codes. -No -After looking at their fee structure, No. BOYD SPEER wrote: Having built a php/mySQL/Flash online store, I need to send the order details to either another flash module or elsewhere to process a credit card purchase (visa and mastercard) . Would anyone have suggestions as to how to safely do this? I know ssl/ https is involved but how exactly would I connect to a processing agent? Has anyone used ipower for this? Would you recommend them? Thanks for any insights! -Boyd ___ 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] Projector, loaded SWFs and audio files
i just read that post again and boy is that thing old... anyway the basic idea is still the same, but the execution can be improved:) On Thu, Jun 11, 2009 at 8:11 PM, Hans Wichman < j.c.wich...@objectpainters.com> wrote: > Hi Eric, > > are you using as2 or as3? > > The basic solution is to look at the url of the loading swf, and make your > paths relative to that. > If you make it a little more complex (but usually some splitting and > joining will be enough) you can use something like this: > http://objectpainters.com/blog/2007/01/03/where-am-i-relative-paths/ > > but it's as2. > I have an as3 version as well if you need it. > > greetz > JC > > On Thu, Jun 11, 2009 at 3:27 PM, Eric E. Dolecki wrote: > >> Quick question. >> I have a projector that loads SWFs on demand. The SWFs are in a >> subdirectory >> called "Sections". Each section SWF that loads into the directory loads >> it's >> own audio from a folder inside the Sections directory. Works fine on their >> own, but when loaded into the Projector, the relative path is off as the >> SWFs loaded into the projector now think they are at the same directory >> level as the projector and the load audio gets botched. >> >> How can I fix this so it works from the SWF themselves as well as within >> the >> projector (without embedding the audio anywhere)? >> >> E >> ___ >> 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] Projector, loaded SWFs and audio files
Hi Eric, are you using as2 or as3? The basic solution is to look at the url of the loading swf, and make your paths relative to that. If you make it a little more complex (but usually some splitting and joining will be enough) you can use something like this: http://objectpainters.com/blog/2007/01/03/where-am-i-relative-paths/ but it's as2. I have an as3 version as well if you need it. greetz JC On Thu, Jun 11, 2009 at 3:27 PM, Eric E. Dolecki wrote: > Quick question. > I have a projector that loads SWFs on demand. The SWFs are in a > subdirectory > called "Sections". Each section SWF that loads into the directory loads > it's > own audio from a folder inside the Sections directory. Works fine on their > own, but when loaded into the Projector, the relative path is off as the > SWFs loaded into the projector now think they are at the same directory > level as the projector and the load audio gets botched. > > How can I fix this so it works from the SWF themselves as well as within > the > projector (without embedding the audio anywhere)? > > E > ___ > 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 CS4 very slow
I haven't experienced any real slowdowns in cs4 and my computer is not the best one (1.8GHz and 2 G RAM). I even think that Flash lauches slightly faster than cs3. Maybe compiling really takes slightly longer (a sec or two) but i don't think that really matters. ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Re: [Flashcoders] Mouse Leave Event
Thanks Karl. To Reproduce the first problem: 1. Click (and hold) on the ScrollBar Thumb. 2. Drag the thumb around. 3. Move the cursor outside the stage i.e. to the white area surrounding the Flash player. 4. Release the mouse. You will notice that the thumb remains active and if you hover back into the stage, it will start moving. I have [at last] solved this problem, however I am unsure that this is the quickest solution. I've customized the ScrollPane, BaseScrollPane and ScrollBar classes. Now, when the user clicks on the thumb, a new listener is added to the stage, that will be able to handle a mouse_up, even if it doesn't occur on the stage. The scroll bar no longer "sticks" when the user releases the mouse outside the stage. I was hoping there was a quicker way to do this, however, it's taken a day of snooping around component source code to resolve the issue. If anyone knows a better way, I'm all ears. I've added the new player (version -0.0.2) [ http://www.mavedu.com/viewer ]. 1 down, about a thousand more to go. Like you have suggested, I want users to be able to use their mouse wheel when they are viewer the document. The other thing, if you look at the Scribd player, you can drag a document if you click on the grey area around it. I'm not particularly fond of that, but I don't want users thinking "But the Scribd player can do that". Unfortunately, whether it's a bug or not, people are used to it and I feel it is somewhat necessary to accommodate for that. Many thanks, Joseph Masoud On 11 Jun 2009, at 06:28, Karl DeSaulniers wrote: Yes you can do that and that will solve your problem of no mouseover on the grey areas. I was able to drag the scroll pane button and let go off stage and it lost focus. Is that what you mean by the thumb? Im on a MAC Powerbook G4 using Safari 4. You could use a "track mouse" _x and _y script that knows the boundaries of your viewer and force it to stopDrag when it goes past a point. One other idea (but may be too much at this point) but to add mouse wheel functionality to your grey rectangle and loaded movieclips. Then if the user has one he can just hover and scroll... :D Question, why do you want the grey area to be a mouse_down? I would think this would be good for what you have so that the user only selects the page when they want to drag, otherwise they may not see that you can drag the page because the mouse will always be in an "over state". JAT Very nice though.. Karl On Jun 10, 2009, at 11:41 PM, Joseph Masoud wrote: Hello everyone, I'm currently working on a document viewer, a very buggy version of which can be seen on: http://www.mavedu.com/viewer/ Two issues (among hundreds): 1. If you drag the mouse scroll thumb, and release the mouse outside the stage, the thumb doesn't lose focus. This is a scrollPane UI component. I think I need to use the mouse_leave event on the stage, however I'm not quite sure how remove the focus from the scroll thumb without creating/extending the scrollPane component. 2. The movie clip within the scrollPane is draggable. The movie clip has external swfs loaded into it via the Loader class. There is a space of 20px between each swf. How would I be able to make the mouse_down register when the user clicks on the space between the swfs? Perhaps by adding a transparent rectangle in the background of the movie clip? Any suggestions would be greatly appreciated. Many thanks, Joseph ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Karl DeSaulniers Design Drumm http://designdrumm.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
Re: [Flashcoders] Mouse Leave Event
On Jun 11, 2009, at 4:46 PM, Joseph Masoud wrote: Thanks Karl. To Reproduce the first problem: 1. Click (and hold) on the ScrollBar Thumb. 2. Drag the thumb around. 3. Move the cursor outside the stage i.e. to the white area surrounding the Flash player. 4. Release the mouse. You will notice that the thumb remains active and if you hover back into the stage, it will start moving. Yes that is what I did and I am saying that problem did not happen for me. When I moved the mouse to the white part and released, it did loose focus. I have [at last] solved this problem, however I am unsure that this is the quickest solution. I've customized the ScrollPane, BaseScrollPane and ScrollBar classes. Now, when the user clicks on the thumb, a new listener is added to the stage, that will be able to handle a mouse_up, even if it doesn't occur on the stage. The scroll bar no longer "sticks" when the user releases the mouse outside the stage. I was hoping there was a quicker way to do this, however, it's taken a day of snooping around component source code to resolve the issue. If anyone knows a better way, I'm all ears. I've added the new player (version -0.0.2) [ http:// www.mavedu.com/viewer ]. 1 down, about a thousand more to go. Like you have suggested, I want users to be able to use their mouse wheel when they are viewer the document. The other thing, if you look at the Scribd player, you can drag a document if you click on the grey area around it. I'm not particularly fond of that, but I don't want users thinking "But the Scribd player can do that". Wouldnt loose sleep over it.. :P Unfortunately, whether it's a bug or not, people are used to it and I feel it is somewhat necessary to accommodate for that. Personally I stay away from componnents of any kind. I have a scroll code I use with MCs that works great and then I can control everything aobut it and the surrounding areas. Look into (on google or some search engine): Inertia Scroller - (This is an old code I found back when I started so it may not be available anymore) MouseScrollWheel Its a AS2 and AS3 code for enabling the users mouse wheel and seems to work for both MAC and PC users. You can alos set up a function to do horizontal scrolling by repourposing the code with the x and y references edited. B.O.L., Karl Many thanks, Joseph Masoud On 11 Jun 2009, at 06:28, Karl DeSaulniers wrote: Yes you can do that and that will solve your problem of no mouseover on the grey areas. I was able to drag the scroll pane button and let go off stage and it lost focus. Is that what you mean by the thumb? Im on a MAC Powerbook G4 using Safari 4. You could use a "track mouse" _x and _y script that knows the boundaries of your viewer and force it to stopDrag when it goes past a point. One other idea (but may be too much at this point) but to add mouse wheel functionality to your grey rectangle and loaded movieclips. Then if the user has one he can just hover and scroll... :D Question, why do you want the grey area to be a mouse_down? I would think this would be good for what you have so that the user only selects the page when they want to drag, otherwise they may not see that you can drag the page because the mouse will always be in an "over state". JAT Very nice though.. Karl On Jun 10, 2009, at 11:41 PM, Joseph Masoud wrote: Hello everyone, I'm currently working on a document viewer, a very buggy version of which can be seen on: http://www.mavedu.com/viewer/ Two issues (among hundreds): 1. If you drag the mouse scroll thumb, and release the mouse outside the stage, the thumb doesn't lose focus. This is a scrollPane UI component. I think I need to use the mouse_leave event on the stage, however I'm not quite sure how remove the focus from the scroll thumb without creating/extending the scrollPane component. 2. The movie clip within the scrollPane is draggable. The movie clip has external swfs loaded into it via the Loader class. There is a space of 20px between each swf. How would I be able to make the mouse_down register when the user clicks on the space between the swfs? Perhaps by adding a transparent rectangle in the background of the movie clip? Any suggestions would be greatly appreciated. Many thanks, Joseph ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Karl DeSaulniers Design Drumm http://designdrumm.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 Karl DeSaulniers Design Drumm http://designdrumm.com _
Re: [Flashcoders] Mouse Leave Event
NP Best of luck to you. Karl On Jun 11, 2009, at 5:31 PM, Joseph Masoud wrote: Thanks Karl. I was experiencing the problem on Firefox 3 (running on Debian x64 [its called Ice weasel] , Mac OS X and Windows] . I do not get the issue with Safari 4 on my Mac Pro as well. Thanks for pointing this out [please excuse me for not reading your reply carefully]. Very interesting to see that Flash can detect a mouse_up from anywhere on your screen as long as mouse_down originated within the player without using mouse_leave. Many thanks for the pointers. Very much appreciated. Regards, Joseph Masoud On 11 Jun 2009, at 22:59, Karl DeSaulniers wrote: On Jun 11, 2009, at 4:46 PM, Joseph Masoud wrote: Thanks Karl. To Reproduce the first problem: 1. Click (and hold) on the ScrollBar Thumb. 2. Drag the thumb around. 3. Move the cursor outside the stage i.e. to the white area surrounding the Flash player. 4. Release the mouse. You will notice that the thumb remains active and if you hover back into the stage, it will start moving. Yes that is what I did and I am saying that problem did not happen for me. When I moved the mouse to the white part and released, it did loose focus. I have [at last] solved this problem, however I am unsure that this is the quickest solution. I've customized the ScrollPane, BaseScrollPane and ScrollBar classes. Now, when the user clicks on the thumb, a new listener is added to the stage, that will be able to handle a mouse_up, even if it doesn't occur on the stage. The scroll bar no longer "sticks" when the user releases the mouse outside the stage. I was hoping there was a quicker way to do this, however, it's taken a day of snooping around component source code to resolve the issue. If anyone knows a better way, I'm all ears. I've added the new player (version -0.0.2) [ http://www.mavedu.com/viewer ]. 1 down, about a thousand more to go. Like you have suggested, I want users to be able to use their mouse wheel when they are viewer the document. The other thing, if you look at the Scribd player, you can drag a document if you click on the grey area around it. I'm not particularly fond of that, but I don't want users thinking "But the Scribd player can do that". Wouldnt loose sleep over it.. :P Unfortunately, whether it's a bug or not, people are used to it and I feel it is somewhat necessary to accommodate for that. Personally I stay away from componnents of any kind. I have a scroll code I use with MCs that works great and then I can control everything aobut it and the surrounding areas. Look into (on google or some search engine): Inertia Scroller - (This is an old code I found back when I started so it may not be available anymore) MouseScrollWheel Its a AS2 and AS3 code for enabling the users mouse wheel and seems to work for both MAC and PC users. You can alos set up a function to do horizontal scrolling by repourposing the code with the x and y references edited. B.O.L., Karl Many thanks, Joseph Masoud On 11 Jun 2009, at 06:28, Karl DeSaulniers wrote: Yes you can do that and that will solve your problem of no mouseover on the grey areas. I was able to drag the scroll pane button and let go off stage and it lost focus. Is that what you mean by the thumb? Im on a MAC Powerbook G4 using Safari 4. You could use a "track mouse" _x and _y script that knows the boundaries of your viewer and force it to stopDrag when it goes past a point. One other idea (but may be too much at this point) but to add mouse wheel functionality to your grey rectangle and loaded movieclips. Then if the user has one he can just hover and scroll... :D Question, why do you want the grey area to be a mouse_down? I would think this would be good for what you have so that the user only selects the page when they want to drag, otherwise they may not see that you can drag the page because the mouse will always be in an "over state". JAT Very nice though.. Karl On Jun 10, 2009, at 11:41 PM, Joseph Masoud wrote: Hello everyone, I'm currently working on a document viewer, a very buggy version of which can be seen on: http://www.mavedu.com/viewer/ Two issues (among hundreds): 1. If you drag the mouse scroll thumb, and release the mouse outside the stage, the thumb doesn't lose focus. This is a scrollPane UI component. I think I need to use the mouse_leave event on the stage, however I'm not quite sure how remove the focus from the scroll thumb without creating/extending the scrollPane component. 2. The movie clip within the scrollPane is draggable. The movie clip has external swfs loaded into it via the Loader class. There is a space of 20px between each swf. How would I be able to make the mouse_down register when the user clicks on the space between the swfs? Perhaps by adding a transparent rectangle in the background of the movie clip? Any
Re: [Flashcoders] Mouse Leave Event
Thanks Karl. I was experiencing the problem on Firefox 3 (running on Debian x64 [its called Ice weasel] , Mac OS X and Windows] . I do not get the issue with Safari 4 on my Mac Pro as well. Thanks for pointing this out [please excuse me for not reading your reply carefully]. Very interesting to see that Flash can detect a mouse_up from anywhere on your screen as long as mouse_down originated within the player without using mouse_leave. Many thanks for the pointers. Very much appreciated. Regards, Joseph Masoud On 11 Jun 2009, at 22:59, Karl DeSaulniers wrote: On Jun 11, 2009, at 4:46 PM, Joseph Masoud wrote: Thanks Karl. To Reproduce the first problem: 1. Click (and hold) on the ScrollBar Thumb. 2. Drag the thumb around. 3. Move the cursor outside the stage i.e. to the white area surrounding the Flash player. 4. Release the mouse. You will notice that the thumb remains active and if you hover back into the stage, it will start moving. Yes that is what I did and I am saying that problem did not happen for me. When I moved the mouse to the white part and released, it did loose focus. I have [at last] solved this problem, however I am unsure that this is the quickest solution. I've customized the ScrollPane, BaseScrollPane and ScrollBar classes. Now, when the user clicks on the thumb, a new listener is added to the stage, that will be able to handle a mouse_up, even if it doesn't occur on the stage. The scroll bar no longer "sticks" when the user releases the mouse outside the stage. I was hoping there was a quicker way to do this, however, it's taken a day of snooping around component source code to resolve the issue. If anyone knows a better way, I'm all ears. I've added the new player (version -0.0.2) [ http://www.mavedu.com/viewer ]. 1 down, about a thousand more to go. Like you have suggested, I want users to be able to use their mouse wheel when they are viewer the document. The other thing, if you look at the Scribd player, you can drag a document if you click on the grey area around it. I'm not particularly fond of that, but I don't want users thinking "But the Scribd player can do that". Wouldnt loose sleep over it.. :P Unfortunately, whether it's a bug or not, people are used to it and I feel it is somewhat necessary to accommodate for that. Personally I stay away from componnents of any kind. I have a scroll code I use with MCs that works great and then I can control everything aobut it and the surrounding areas. Look into (on google or some search engine): Inertia Scroller - (This is an old code I found back when I started so it may not be available anymore) MouseScrollWheel Its a AS2 and AS3 code for enabling the users mouse wheel and seems to work for both MAC and PC users. You can alos set up a function to do horizontal scrolling by repourposing the code with the x and y references edited. B.O.L., Karl Many thanks, Joseph Masoud On 11 Jun 2009, at 06:28, Karl DeSaulniers wrote: Yes you can do that and that will solve your problem of no mouseover on the grey areas. I was able to drag the scroll pane button and let go off stage and it lost focus. Is that what you mean by the thumb? Im on a MAC Powerbook G4 using Safari 4. You could use a "track mouse" _x and _y script that knows the boundaries of your viewer and force it to stopDrag when it goes past a point. One other idea (but may be too much at this point) but to add mouse wheel functionality to your grey rectangle and loaded movieclips. Then if the user has one he can just hover and scroll... :D Question, why do you want the grey area to be a mouse_down? I would think this would be good for what you have so that the user only selects the page when they want to drag, otherwise they may not see that you can drag the page because the mouse will always be in an "over state". JAT Very nice though.. Karl On Jun 10, 2009, at 11:41 PM, Joseph Masoud wrote: Hello everyone, I'm currently working on a document viewer, a very buggy version of which can be seen on: http://www.mavedu.com/viewer/ Two issues (among hundreds): 1. If you drag the mouse scroll thumb, and release the mouse outside the stage, the thumb doesn't lose focus. This is a scrollPane UI component. I think I need to use the mouse_leave event on the stage, however I'm not quite sure how remove the focus from the scroll thumb without creating/extending the scrollPane component. 2. The movie clip within the scrollPane is draggable. The movie clip has external swfs loaded into it via the Loader class. There is a space of 20px between each swf. How would I be able to make the mouse_down register when the user clicks on the space between the swfs? Perhaps by adding a transparent rectangle in the background of the movie clip? Any suggestions would be greatly appreciated. Many thanks, Joseph __
[Flashcoders] Re: Flash CS4 very slow
Thanks Patrick Matte Installing the Flash CS4 update from http://www.adobe.com/support/flash/downloads.html has fixed the problem I had with Flash CS4 running slowly (and a few other thing). I recommend all Flash CS4 users do themselves a big favour and install this update. Alan Neilsen This message is for the named persons use only. It may contain confidential, proprietary or legally privileged information. No confidentiality or privilege is waived or; lost by any mistransmission. If you receive this message in error, please immediately delete it and all copies of it from your system, destroy any hard copies of it and notify the sender. You must not directly or indirectly, use, disclose, distribute, print or copy any part of this message if you are not the intended recipient. GOULBURN OVENS INSTITUTE OF TAFE and any of its subsidiaries each reserve the right to monitor all e-mail communications through its networks. Any views expressed in this message are those of the individual sender, except where the message states otherwise and the sender is authorised to state them to be the views of any such entity. # This e-mail message has been scanned for Viruses and Content and cleared by MailMarshal # ___ Flashcoders mailing list Flashcoders@chattyfig.figleaf.com http://chattyfig.figleaf.com/mailman/listinfo/flashcoders