I have a doubt regarding MouseChildren in Flash as3, i am having a movieclip named as containermc and a button named as clickbtn inside containermc, Here i want to addEvent Listeners for both the movieclip and button! I used containermc.mouseChildren = false; to add click event listener to the containermc then i was not able to click the button, then i gave containermc.mouseChildren = true; then i was not able to click the containermc, and also i need to enable doubleclick to containermc movieclip.
I have a doubt regarding MouseChildren in Flash as3, i am having a movieclip named as containermc and a button named as clickbtn inside containermc, Here i want to addEventListeners for both the movieclip and button! I used containermc.mouseChildren = false; to add click event listener to the containermc then i was not able to click the button, then i gave containermc.mouseChildren = true; then i was not able to click the containermc, and also i need to enable doubleclick to containermc movieclip.
Currently building a dynamic menu system, with 3 levels of navigation. Currently when mouse children is set to 'true' it doesn't want to remember the name of the menu item created. it spits out, 'instance263' or whatever the number is when I trace it out with my onClick event. With mouseChildren set to 'false' my 3rd tier of navigation ceases to work.
The Goal here is to have the menu items retain an instance name so I can relate back to them and set active states for the current active module. UPDATE: Here is where the problem arises
1) a sprite with a rollover/out tween, going from alpha 0 to 1 on rollover, and back to 0 on rollout (let's call it "containerSprite"). That part is cake.
2) another sprite within the container (let's call it "closeButton"), that goes along for the ride (i.e., its alpha gets tweened along with the container). That's easy enough to do by making it a child of "container". When I say it is "within" the container I mean in terms of x/y.
3) when I move the mouse within containerSprite and onto closeButton, I want the container to stay visible (easy enough by setting mouseEnabled or mouseChildren to false). But I want closeButton to respond to mouseDown events, so I can't set it to mouseEnabled=false, nor can I set containerSprite.mouseChildren=false.
4) there will be several other sprites within the x/y of containerSprite, each with their own rollover/out tween. The catch is, when the mouse is within containerSprite and rolls onto one of them, the alpha of containerSprite SHOULD tween out (unlike when rolling onto closeButton).
For the life of me, I cannot get it all to work. I can get the desired behaviour in (4) easily enough, either by making the other sprites (mouseEnabled) children of containerSprite, or by making them siblings of containerSprite but higher in the display list. But the desired behaviour in (2) and (3) is vexing me: if closeButton is a child of containerSprite then its alpha tweens along with containerSprite (desired), but because it must be mouseEnabled, moving the cursor onto it triggers containerSprite's rollout event (undesired). If instead it is a higher sibling of containerSprite rather than a child, it has the same problem: if it is mouseEnabled, moving onto it counts as a rollOut event for the container. It seems like the solution ought to be easy, and I'm just missing something that is in plain sight.
When I roll over the container object, I've got the trace (OK for me).BUT When I roll over the decor object, I've got the trace too (not what I want).I just want the container to be triggered by the mouse event, not it child.So what's happened to my mouseChildren = false....?
I've found that if I use the CursorManager to set a cursor ursorManager.setBusyCursor() — then set stage.mouseChildren = false, the cursor set by CursorManager is replaced by the "default" mouse cursor the next time the mouse is moved. I'm setting stage.mouseChildren = false so that, while the mouse is being dragged, other "stuff" on the stage won't get mouse events (eg, so that mouse-over affordances aren't triggered if I'm in the middle of a drag).
I have a movie clip that has contains some dynamic text fields and over these some movieclips that serve as buttons. The issue I'm having is, that while the movieclips have buttonMode set to true, and mouseChildren set to false, when testing in a browser, after a few seconds of rolling over them, the cursor starts to flicker, as thought there is a conflict between the text fields trying to fight the button for focus. I have tried adding ROLL_OVER states to the buttons (thought they are not needed) in an effort to monopolise focus, while I'm not 100% sure, its seems as though this is a textfield issue.
Through getChildByName is it possible to access the mouseChildren property of a Sprite? I'm guessing no, but before I go about changing something I want to make sure it's necessary and that I'm not just doing something wrong..
Would give me an error. I see this is because getChildByName returns a DisplayObject object. So I guess my question is: Is it possible to get the actual Object (Sprite in my case)?
Even though mouseEnabled is set to false, still ROLL_OUT is cought. Its propably cause mouse GOES out of the object, but I dont think it should be like this.
I am interested in buying flash however even with the discount given to students as a program it is still a large investment. I was wondering if I am able to buy an older version for example "Flash 8" at a reduced price from adobe or another trusted retailer I know the newer version have updated the program alot but many of the new features will be unused by me and the older version would suit my needs better.
I have a copy of Adobe Flash CS3 Professional installed on my work desktop. I'm soon going offsite for a couple of months during which period I'd be using my work laptop instead. My laptop does not have Flash CS3 on it, so I was hoping of transferring the license to the laptop. I read somewhere that I need to deactivate the license on my desktop (using Help >> Deactivate license) before uninstalling it. Unfortunately, I don't see that option in the Help menu at all.
i am new in flash development, i heard that Greensock lib is the best one. But when am trying to download its really confusing. there are a lot of names like
I've read through this section of Adobe's excellent 10.1 optimization tips. I found the statement below to be very helpful. Is there anything else to look out for? Is the dumbed-down difference just: use the GPU for raster and CPU for vector graphics?
The GPU is only effective for bitmaps, solid shapes, and display objects that have the cacheAsBitmap and cacheAsBitmapMatrix set. When the GPUis used in tandem for other display objects and this generally results in poor rendering performance.
So I have recently aquired Flash CS4 and the Quicktime Export is completely different from any version before.I create a lot of 3-4 minute shorts in Flash and have always enjoyed the ease of QT export, but when I export with CS4 I get all kinds of ghosting, even on 5-10 second clips so breaking up the fla file's scenes is no help.After doing a lot of online research I see a few people have similar problems, but no concrete explanations or solutions.Has Flash-to-Quicktime compatability been disabled?I see that the "Quicktime Movie" export options is not available, only the "Quicktime" export, which yields inferior results. Since I export to the web and for dvd I don't want to have to export PNG sequences and rebuild the soundtrack, but is there simply no longer quality compatability between the two programs?Do I need to ditch Flash for Toon Boom?
I've got a few encoded high definition videos that are now .flv files and I'm wondering which is the best option to choose when importing the .flv file into my Flash project? I'm looking for fastest loading/streaming with best quality to be the result. If I choose a streaming option like progressive download from a web server, would the choice be dependent on the type of server the file(s) are hosted on? I'm using Flash Professional 8.
In my web application i am facing a weird problem. In jsp there is code for Brightcove video player. For playing this you need flash with Internet Explorer 8. While running this jsp page it sometime provide the option to install flash and sometime not. But what i want that every time it must show the option to install flash at the client side if the flash is not available. Something like this
I am tring to create a Chrome extension that adds a contex menu entry when ever the right mouse button is clicked. I also need for the new entry to be displayed when the right click is on a flash object (Such as Youtube clip) I cannot find a way to do it... Can it be done? What directions should I check?
I am migrating from Flash MX to Flash CS 5. One of the most annoying things so far about the changes is that whenever I open a file - it opens a tab - How can I stop this? I was able to stop this in Photoshop CS but there does not seem to be that option in Flash CS
I have recently upgraded to Flash Player 10.2 (correct version for Windows 7) which will operate satisfactorily on BBC/ITV players in small (part) screen mode. Whenever I click for full screen, the screen goes completely black (blank), though the sound remains. I have uninstalled and reinstalled Flash Player 10.2, twice, but to no avail. Has anyone come across this problem and/or can anyone tell me a solution? All other functions on my laptop (Dell XPS) seem to be fine.
I m trying to disable print screen option in my website. I tried various java scripts but nothing seems to work. Then i come across few blogs where they have shown 'how to disable print screen by Flash'.
I am a little confused now, My client is insisting to have the UI of this gameportal made in vector and his logic is that: It should look still good once they see itin the full screen mode !!!! There for everything including the logo and buttons and gradients should be made in Illustrator. To my Knowledge that's not true , Browsers do not support vector formats.But I might be wrong and some new technologies are involved that I am not aware of.