Does use of mask layer require re-estab of functions

Am I missing something/doing something wrong, or is this the
way Flash works?
I have 2 buttons in a movieclip which is on the main
timeline. The buttons are on a layer with a mask layer above it. On
the main timeline I define 2 functions
clip_mc.button1_btn.onRelease = function()... and
clip_mc.button2_btn.onRelease = function().... The movie clip has 2
frames. Frame 1 has button2_btn masked out (i.e. not visible).
Frame 2 has BOTH buttons visible.
When I click on button1_btn the function says to gotoAndStop
at frame 2 of the movieclip. Now button 1 .onRelease no longer
works AND button2 .onRelease also does not work. I scratched my
head about this a long time, did a pile of trace statements and
couldn't figure out why. Then I put my 2 buttonN_btn.onRelease
functions inside a function called initButtons(). Now after I
gotoAndStop at frame 2, I call the initButtons() function again and
the buttons work. This makes me wonder if this is really right, or
if I am doing something wrong with the mask layer.
Any help would be greatly appreciated.

Thank you again for your prompt and helpful reply. Indeed,
when I delete the mask layer, I do NOT need to reinit the button
functions. I understand your solution too. So I guess it's just a
matter of preference, unless you think one would perform the best.
WRT my bumbling around. I VERY much appreciate the
willingness to help and infinite patience of the experts on this
forum, so I try to keep any whining and frustration to a minimum.
However, I am an old mTropolis user, and I miss many aspects of
that product soooo much. Flash seems way more difficult than that.
Though I've been at it for some months now, and have purchased and
read cover to cover both Moock books and try to read all the help
over and over, I'm still having a very hard time adjusting and
thinking in the Flash way, not to mention these little bumps in the
road like this one. Maybe I'm just a slow learner. One of my
biggest lingering issues is how to architect larger projects. I am
trying as much as possible to do things using Classes and good OO
design principles. Do you have any articles or books you would
recommend that might help with that?
Thanks again.

Similar Messages

  • Is it possible to use a masked layer to mask another layer?

    Hi there,
    I'm relatively new to Fireworks after coming from an Illustrator background
    I've just started playing with the masking features of Fireworks and wanted to know if it was possible to use a layer that already has a mask applied as a further mask on another layer.
    Basically, I have a rounded rectangle that I am using as a canvas to hold a series of vector circles. Circles that fall outside the rectangle are naturally clipped due to the mask.
    I then want to use these clipped circles as a mask for a series of photos that also lie within the rounded rectangle.
    I suppose I could simply cut up the circles to ensure that they are within the rectangle, but this would not allow me to resize them in future should I want to alter the design.
    In Illustrator I could use a clipping mask to achieve the required effect, which would basically clip all the layers beneath, but in Fireworks I'm not sure what to do.
    Any ideas or different approaches would be appreciated!
    Cheers,
    Tim

    Between the ability to select thumbnails in the Layers panel, and occasional use of Select > Subselect, you've actually got pretty good options for editing a simple mask. Once you start nesting them, though, you'll probably have to ungroup.
    The cool thing is, you've got options for nesting masks and working non-destructively. And grouping and ungrouping isn't a big deal, particularly if you remember the shortcuts for it (Command-G and Shift-Command-G). On the other hand, it might be nicer if Fireworks offered the ability to "unfurl" a group or a mask via an arrow, while still seeing the full effect of the mask.
    I just tried out my earlier symbol suggestion and realized that while one can apply a mask to a symbol instance, it may not be possible to apply a symbol instance as a mask, which is a bit surprising. (At least, that option seemed to be greyed-out in CS6.) So my earlier idea may just be purely theoretical.

  • Does using a Microsoft account require an Internet connection to log in?

    If I use a Microsoft account as my credentials, am I locked out if my PC has no Internet connection?

    Hi, 
    In addition, for the first log in, we need to connect to the internet.
    Regards,
    Kate Li
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Trouble using mask layer?

    I have trouble using the mask layer.  It doesn't seem to be blocking out extra grid marks. I am doing something wrong?  Thanks
    SIDENOTE:
    The grid was imported from illustator into flash.  It causing flash cs5 to be extremely buggy.  The layer I import itself relabel itself, it either "1" or "2"  The grid layer when I place it on lock, doesn't lock!   The grid will also cut and paste itself onto a new layer, automatically sometimes.

    It would easier if you use the brush tool to paint on the layer mask.
    Paint with black to reveal the color and white to hide the color of the layer below.
    You can use the X key to switch between black and white as the foreground color in the tool box.

  • Does a Clipping Mask effect just one layer?

    Hello everyone ...                                                                                      Level: Newbie   OS: Win7 64bit   Ia: Cs6
    Once I use a Clipping Mask on a layer is the entire document covered in a mask?
    And/or is all the artwork from then on inside the mask?
    I've read about how to add and how to remove art from a mask. I've read about how to make and release and lots of other things.
    So, then I went and found a lesson that contained the use of a Clipping Mask.
    But I'm stuck... again.
    I am suppose to Select the main shape and "just" copy it and move it down (doesn't say rather to Paste in front or back but I assumed in back ~ not that it has mattered thus far)
    However, while making the main shape I used Gradient Mesh and used an Offset to create a "replica" and so when I go to Select the main shape the mesh is selected and so when I Paste (in back ~ seems most logical) and then move it down the details such as the colors of the Gradient and other such things are visible in front ~ ??
    So, I have been trying to abate my problem in lots of different ways.
    I have tried using the Pen tool to draw behind the main shape, I've tried making a New Layer and placing it above and below and inbetween the main shape layer, I've tried adding the artwork to the Mask ... I've tried everything I can think of and I've been through many an article in the manual and FAQ's to no avail.
    I suppose, what I think I need to know ... is, how ... how on earth do I draw behind this main shape? Am I not able to do it becuase I am not getting behind the Mask?
    (Let me apologise to those that HATE it when Newbies follow lessons/tuts and who HATE it when we come here to ask for help. I'm doing my best to learn and to find answers on my own before heading here for help)
    Please lmk if you would be better able to help me with pictures of my layers and the art. Thanx so much for your time!!

    Thanks as well for your patience with me! It can be difficult to communicate this way, but all we can do is try our best.
    As for the issue regarding the author's "main shape"...
    Here I have an object with a gradient mesh:
    If you follow the directions in step 3 of the tutorial, the author creates a duplicate by going to Object > Path > Offset Path.
    And then inputs "0" for the offset value.
    I shifted my original gradient-meshed object down a little bit, and there you can see is the simple shape that you were seeing in the author's image. Then they just filled it with that gold gradient and scaled it down.
    And as for clipping masks...
    As I mentioned before, a clipping mask will only affect the objects and groups you had selected when you created it. For exhaustive information about clipping masks, see this link: http://helpx.adobe.com/illustrator/using/clipping-masks.html
    I hope this was helpful! Good luck!

  • I am trying to use a website that requires that my computer have the lastest version of Java, which I have updated and installed, however Firefox does not recon

    I am trying to use a website that requires that my computer have the latest version of Java, which I have updated and installed Java 7 Update 51 (64-bit), however Firefox does not recognize that I even have Java on my computer. My computer is 64-bit
    When I run "Verify Java Version" it show nothing is installed... but it is, I know that for a fact because it shows in my "Control Panel/Programs/Programs and Features".
    When I go back to the Java Download page, the following message is visible:
    "We have detected you may be viewing this page in a 32-bit browser. If you use 32-bit and 64-bit browsers interchangeably, you will need to install both 32-bit and 64-bit Java in order to have the Java plug-in for both browsers."
    My question is this:
    Is there a way to change my Firefox browser from 32-bit to 64-bit.... because it appears that this is way Java is not functioning properly?

    Firefox needs 32-bit plugins, so you'll need to install 32-bit Java for Firefox.
    No, you can't change Firefox from 32-bt to 64-bit. There is a Nightly 64-bit version (alpha) of Firefox, but it is used only to test for regressions until development is resumed.

  • Does using Group Policy Preferences to deploy printers require the print driver to be pre-installed?

    I'm trying to prepare our school system for Windows 7 (we currently use XP).  I would like to use the new Group Policy Preferences method of deploying printers.  I pushed out the XP client side extensions through WSUS.  In my test environment, I added the shared printer in group policy preferences.  My XP machine had the printers show up automatically, but my Windows 7 machine did not.  I realized that I had previously connected a printer of the same type to my XP machine before and the drivers were already installed.  To test this theory, I manually connected the shared printers to the Windows 7 machine, deleted them, then logged off and back on.  Now the printers are showing up from group policy.  My question is does using group policy preferences to deploy printers require the print driver to be pre-installed?  If not, then what am I doing wrong?  If so, is there a way to work around this?  Thanks for your help.
    EDIT:  To clarify, I am using the share method in GPP.  This is the error message I get in the event log:
    The user 'PRINTERNAME' preference item in the 'win7 printer test {946461A1-27F8-406F-A0B3-0A1A05AF34F6}' Group Policy object did not apply because it failed with error code '0x80070bcb The specified printer driver was not found on the system and needs to be downloaded.' This error was suppressed.

    This link have a description of resolution:
    http://technet.microsoft.com/en-us/library/cc725938.aspx
    Open the GPMC.
    Open the GPO where the printer connections are deployed, and navigate to Computer Configuration, Policies, Administrative Templates, Control
    Panel, and thenPrinters.
    Note
    The Point and Print Restrictions setting can also be found under User Configuration\Policies\Administrative Templates\Control Panel\Printers.
    This policy is ignored by Windows 7 and Windows Server 2008 R2, but is enforced by earlier editions of Windows including Windows XP with SP1, Windows Server 2003 with SP1, and Windows Server 2008. We recommend that you change
    this policy setting in both locations so that all down-level clients have a consistent experience.
    Right-click Point and Print Restrictions, and then click Properties.
    Click Enabled.
    Clear the following check boxes:
    Users can only point and print to these servers 
    Users can only point and print to machines in their forest 
    In the When installing drivers for a new connection box, select Do not show warning or elevation prompt.
    Scroll down, and in the When updating drivers for an existing connection box, select Show warning only.
    Click OK.

  • HT1222 I was trying to update my iOS to 7.1 but I can't, I have internet connection but if requires WiFi? before I can update my OS just using my phone internet but now I can't. Does OS 7.1 really require WiFi? Thanks!

    I was trying to update my iOS to 7.1 but I can't, I have internet connection but if requires WiFi? before I can update my OS just using my phone internet but now I can't. Does OS 7.1 really require WiFi? Thanks!

    The iPhone requires wi-fi to update if you try to update over the air, since the phone needs to reboot, thus disconnecting itself. You can update via iTunes and the computer, but you would not be able to tether to the phone for the internet connection, since the phone would disconnect. So, you can either update via wi-fi and the phone, or you can update with a computer that has an internet connection other than the phone.

  • Trying to verify my app using codesign, but it fails with "does not satisfy its designated Requirement"

    Hello,
    When attempting to verify my ios app using codesign it fails:
    macmini:MyApp admin$ codesign -vvvv Payload/MyApp.app
    Payload/MyApp.app: valid on disk
    Payload/MyApp.app: does not satisfy its designated Requirement
    I tried to diagnose it, so I ran this command that as far as I know shows what the requirements are:
    macmini:MyApp admin$ codesign -d -r- Payload/MyApp.app Executable=/Volumes/Share/Temp/appstore/MyApp.3.12.2.0/Payload/MyApp.app/MyApp designated => identifier "com.bla1.bla2" and certificate root = H"40characterstring"
    But I'm not sure how to proceed now. The identifier looks correct and not sure what to do with that 40 character string for the certificate root. Any ideas?
    Thanks in advance!

    Hi candn14 and welcome to the forums!
    Since internet connection is working fine on the laptop computer when plugged directly into the modem, you just need to configure your router settings.
    Are you using a DSL or Cable connection? Please see the links below on how to configure your router with your internet provider (ISP).
    Setting-Up a Router with Cable Internet Service
     Setting-Up a Router with DSL Internet Service
    Once you are finished doing so and your laptop is able to connect to the internet when connected to the modem > router > laptop, then you are now ready to configure the wireless settings of the router for you to be able to connect wirelessly.
    Here are the steps:
    Setting-Up the Wireless Settings on a Router
    And please secure your network w/ a password.
    Setting-Up Wireless Security on a Linksys Router
    Please feel free to ask any questions again if you encounter any problems. Hope this helps.

  • How does the backup file that I would like to use for restore now require a password

    How does the backup file that I would like to use for restore now require a password, when I just Backed it up on 10/30/14

    It requires a password to restore from it because at some point, you checked the box in iTunes to use encrypted backups, at which point you were prompted for, and set a password.
    If you now can't remember what that was, then you can not restore from that backup.

  • Object mask/layer mask

    hi...
    i am new to using masks in motion. when i create a mask for a single object, nothing happens.....only if i apply the mask to the whole layer does it then take effect. is there a piece of information i'm missing about masking individual objects within a layer? thanks for any suggestions.
    i mac g5   Mac OS X (10.4.6)   motion 1, final cut pro 4.5

    how are you creating a mask?
    With the object selected, are you drawing a mask with the masking tools (not the Shape tools) in the toolbar, or are you using the Add Image Mask, which requires another object to be plugged into it before you'll see anything happen?
    FYI,
    Motion's User Manual has quite a lot of information on masking.
    Pg 851 on deals with Masking tools and how to use them
    Pg 865 on deals with Image Masks and how to use them

  • Best way to announce that the hardware does not meet the minimum requirements

         Hi Everybody!!!
         I'm in the process of tiding my App up, and I stumbled into a requirement that needs to be addressed. I'm not quite familiar with the latest trends, so I was wondering if anybody could recommend a way to inform the user if the hardware
    to use does not meet the minumum requirements.
         In a nutshell:
     * I just created a game using Direct3D / DirectX 11,
     * I'm using "DrawIndexedInstanced", which means that the videocard to use should meet at least DirectX v10 (my shaders are using model 9_3 but I tested it in a computer with DirectX9 model 3 (or so the nvidia brochure said), and the game pretty
    much died in my arms).
     * According to the App Certification Requirements: "if you choose a minimum feature level higher than 9_1, your app must detect at launch whether or not the current hardware meets the minimum requirements. If not, the app must display a message to
    the customer detailing the Direct3D requirements."
     * I know how to detect the Direct3D level supported by the current videocard. What I would like to know is how to tell the user that the videocard does not support the minimum requirements.
         I don't have much knowledge about the current trends:
     * I assume that displaying a message box may not be the best option, as that would mean I need to link the MFC layer to do so (the game is in Visual C++ and that's what I would do if it were one of my day-job projects). I'm quite sure that
    is too much of a library just to show a message box... not to mention that most likelly the MFC is no longer supported in a Metro application...
     * I was thinking about displaying a nice graphic warning about the issue, but if the D3DDevice1 is not what I expect then I don't think I can be sure that at least it can display the graphic with the information.
     * I'm not quite sure if I should be linking to a .NET Library ("System.Windows.Forms" comes to mind), but then again maybe it's too much of a library for just a messagebox.
     * Then again, displaying that message in a command prompt may not be the best idea either.
         Any help is greatly appreciated!!!
         Best Regards,
         Tarh Ik
    Tarh ik

         Hi Chuck,
         I tried your idea, but the game always crashed when calling the DrawIndexedInstanced() function in a computer that only supported DirectX Level 9.1 (plenty of those computers at my day-job, sometimes I swear this office could be
    a museum). The crash started as a driver unload call, and after that everything goes down.
         I also tried using the WARP mode, but the performance was horrible, and after a minute of playing I started to have temperature issues with the CPU (I did not see that one coming)
         What I finished doing was to create two sets of shaders (pixel and vertex):
     * If the feature reported by D3D11CreateDevice was 9_3 or above, I'd use my very own and happy shaders, compiled in 9_3 model. Beautiful performance with DrawIndexedInstanced().
     * If on the other hand the feature reported by D3D11CreateDevice was either 9_2 or 9_1, I'd use a set of shaders compiled for level 9_1. That seemed to be enough to draw a couple of images on the screen and tell the user, using my own game elements,
    that the computer did not match the hardware requirements.
          It looks like this was a good approach. My game passed the certification test, and it is currently on the AppStore.
          Best Regards,
          Tarh Ik
    PS: This posting has been posted "AS IS"
    Tarh ik

  • How load variables to a movie clip on a masked layer on my main time line

    the problem I have is that I been trying to load text from a
    text file news.txt into a movie clip on my main time line the
    problem is when the layer where the video clip is locates is masked
    the variables will not load, but it does work when the layer is
    unmasked, but then the website does not work the way it is suposed
    to look.
    any Idea on how I can get arround this????

    PArt of the problem will be due to declaring the uiLoader inside of a function.  When you do that you limit its scope to within that function.  You should declare it outside of any function if you need to access it in more than one function.
    import flash.events.MouseEvent;
    import fl.motion.MotionEvent;
    var uiLoader:UILoader;
    var targetObj:Object;
    The other problems I see regard the line you point to.  It is not spelling the name the same, using a lowercase "l". Also, if you want to target what the UILoader contains, you should target its "content" property, as in...
    targetObj = uiLoader.content.mask_01

  • How do I hide the mask layer when exporting as animated GIF ?

    Hi,
    I have designed the following logo for my football team's website.
    It plays fine as a flash file but when I export it as an animated GIF file, it shows the bright pink mask layer. Obviously I don't want it to. Has anybody an idea of how to rectify this problem ?
    Thanks,
    Phil

    Peter,
    Success! I finally got my head round it Indeed, I can see now your point about the export method being preferable, it's also much quicker than my old "print PDF" method! Like I say, publishing isn't my area of expertise and I get comfortable and set in my ways with certain ways of doing things, especially with computers!
    Bob,
    Like I was saying to Peter, that makes sense now. I guess my not appreciating the process of PDF creation and thus my incorrect use of the terminology may have confused the issue. With regards the link you sent me, wow it certainly seems I'm not the only one who gets confused! Fortunately it seems my problem is now solved and I have learned to produce a better product!
    Thanks again guys!
    ....now I wonder how I can make my dissertation interactive....

  • Using vector masks to blend layers

    I selected a portion of a forehead and copied it to a new layer. I then made some changes to the new layer with the Liquify tools and now want to blend the copied layer back with the original layer. I create a vector mask on the layer and I begin painting the edges of the new layer with black to blend it back with the layer underneath. Although I see the results, I am not entirely clear on what it is doing.
    1. By painting with black is this just esentially erasing parts of this new layer to allow the layer underneath to show through? Is it actually doing any sort of blending or is it just erasing the masked layer?
    2. How is this different from just using the eraser tool to erase the modified layer and letting parts underneath show back?
    Thanks.

    A mask isn't all or nothing.  Grayscale accomplishes partial blending.
    Knowing that, you can paint white or black on a (pixel) layer mask with a fuzzy-edged brush and have nice blending.
    -Noel

Maybe you are looking for

  • Can i use Fireworks created Navigation Bar in iWeb?

    I am new to iweb and want to have a specific layout for my website. I don't want any of the templates, so I used fireworks to create a Navigation bar with buttons that have prelinked to the "standard" html, i.e. home.html, photos.html. can i use this

  • HT1277 incoming mail server host name on ipad 3?

    I updated my iPad 3 and lost one of my e-mail accounts...my @hotmail.com account is still showing up but my @me.com account is gone and I cannot figure out how to get it back on there. Specifically in the incoming mail server part...host name? Please

  • ITunes 9.1 - CPU goes to 100% when playing prot. AAC - clicks and gaps

    Since downloading 9.1, there are clicks and gaps when I play protected AAC songs on iTunes. Songs play fine with QuickTime player. When a protected song is played in 9.1, iTunes absorbs all available CPU. I have followed all remediation steps in the

  • Is there a version of Sybase Central that is Certified with Windows 8

    We are upgrading users to Windows 8 and we are running into issues installing Sybase Central on the OS. Is there a version of Sybase Central that is certified? I also understand that development on Sybase Central has been discontinued, is there a rep

  • Flash Player: Ghost Complex

    One minutes it is running and the next, it is gone. This has become a regular game which Flash Player and I have been playing a lot lately. I, however am loosing. I have had to reinstall this program more times that I can imagine. At this point, not