Nested clip onRollover problems

I'm setting up a gallery with XML, and I'm able to attach the
clips but the onRollOver functions doesn't work. Is it because it's
nested?
Here's the code:

it's because your movieclips are loadMovie() targets. all
mouse handlers applied to them are lost with each load update. to
remedy, load into a childmovieclip and apply your rollOver handlers
to the parent movieclips or wait until loading is complete before
defining rollOver handlers.

Similar Messages

  • Problem communicating to nested clips

    I am an occasional flash user trying to segue from
    ActionScript 2 to AS3. I am still using AS2, but am trying to keep
    all my scripts in one place to prepare myself for AS3. I am having
    a struggle figuring out how to communicate to nested movie clips
    from the root timeline.
    The root timeline has only one frame. There is a movieclip on
    the root frame that has a button that doesn't appear (instantiate)
    until frame 20 of the movieclip.
    On the root timeline I have a function call to the nested
    button (see code below). It doesn't work. I've given the button
    instance the name "print_btn". Since the button doesn't appear
    until later in the timeline, I've given the button a Linkage
    Identifier of "print_btn", and exported it for ActionScript in the
    first frame. I've also tried changing the function path to
    _root.btnPortfolio_mc.print_btn.onPress. The only way I can get it
    to work is to move the function to the the frame on the nested
    clip's timeline where the button is instantiated.
    I thought that setting the linkage to export for ActionScript
    would enable me to communicate to an instance on a nested clip that
    isn't instantiated until later. What am I doing wrong?

    You pretty much answered this for yourself... "The only way I
    can get it to work is to move the function to the the frame on the
    nested clip's timeline where the button is instantiated."
    You might be able to create a special class for this button
    that has its function specifically defined for it, and instantiate
    it at frame 20, but you'll probably save time just assigning the
    code where the button exists.

  • Playing different Movie Clips onRollover?

    I have several buttons that I would like to play different
    movie clips
    onrollover on the stage. So if button 1 is rolled over it
    plays a clip
    in the lower right corner and when rolled off it stops and if
    button 2
    is rolled over it does the same.
    How is this done?
    Thanks!

    This is the code I am currently using to play and stop a
    movieclip:
    myPlay_btn.addEventListener(MouseEvent.CLICK, playMc);
    myStop_btn.addEventListener(MouseEvent.CLICK, stopMc);
    function playMc(e:MouseEvent):void{
    my_mc.play();
    function stopMc(e:MouseEvent):void{
    my_mc.stop();
    1. How do I drag my movie clips onto the stage, but not have
    them
    display until the button is rolled over?
    2. Would this code just be applied for each button and
    modified from
    CLICK to OnRollover?
    Thanks!!!!
    kglad wrote:
    > assign a rollover listener to button 1 and in its
    listener function apply the play() method to your right corner
    movieclip. likewise for button 2.

  • Importing SVG with nested clip-path

    I'm having serious issues in Illustrator CS5 trying to import SVG files with nested clip-path properties.
    Illutrator seems to create unnecessary groups, and messes up with group parents, effectively screwing things up.
    Here is a minimal example :
    <?xml version="1.0" encoding="utf-8"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" [<!ENTITY ns_svg "http://www.w3.org/2000/svg"><!ENTITY ns_xlink "http://www.w3.org/1999/xlink">]>
    <svg version="1.1" id="main" overflow="visible" xmlns="&ns_svg;" xmlns:xlink="http://www.w3.org/1999/xlink">
      <g id="piece-1">
        <g clip-path="url(#cpform)" id="form1">
          <g clip-path="url(#cplogo)" id="logo1">
                        <rect fill="#FF0000" x="10" y="10" width="1000" height="1000" />
          </g>
        </g>
      </g>
      <g transform="matrix(1,0,0,1,200,0)" id="piece-2">
        <g clip-path="url(#cpform)" id="form2">
          <g clip-path="url(#cplogo)" id="logo2">
                        <rect fill="#FF0000" x="10" y="10" width="1000" height="1000" />
          </g>
        </g>
      </g>
      <clipPath id="cpform">
              <rect x="0" y="0" width="150" height="150">
              </rect>
      </clipPath>
      <clipPath id="cplogo">
              <rect x="0" y="0" width="100" height="100">
              </rect>
      </clipPath>
    </svg>
    Such a valid SVG file displays fine in Chrome, IE, Opera, Firefox, but Illustrator fails loading it properly, because it creates two groups between "main" and "piece-1" (which is in itself not too bad), and sets piece-1 as a brother of another unnecesarry group from which piece-2 will descend. piece-2 and piece-1 are then clipped with piece-1 clip-path, which is just plain wrong and screws display.
    Note that you can move piece-2 to the root of the document, which restores the display. But save this fixed file, and open it again : it"s back to its broken state.
    Does anoyone know if this is fixed in CS6 ? If there is a workaround ?

    AI doesn't care for the original structure of an SVG. It will merely try to retain the appearance based on its own internal logic, which of course matches how you would create a normal AI file. So no, you can't probably avoid it.
    Mylenium

  • Has the clip marker problem been resolved in Premiere cs6?

    Has the clip marker problem been resolved in Premiere CS6.  As of early July, it was not!  Navigating, synchronizing clips seems impossible.

    Explain your problems with markers in this feature request form: http://www.adobe.com/go/wish
    Sorry, that's all I can offer you.
    TrueFriction wrote:
    I'd just like to add my voice to the chorus here - namely that Marker functionality for CS6 is extremely lacking, and has made my workflow for various tasks much longer and more tedious.
    In my case I'm trying to match professional footage of a concert with audience-submitted cell phone footage. The pro footage can't be synced with the non-pro footage via Pluraleyes because the cell phone audio is way too high to be analyzed properly. Hence I need to manually sync, which I can't do efficiently because I can't put clip markers on the pro footage once it's synced in pluraleyes and sent back into Premiere, because it only exists in a sequence.
    I have no idea why Adobe would remove a function used daily by its editors, one that was simple and reliable, for no reason.
    And what's puzzling is that there's been not even an acknowledgement of the issue from anyone at Adobe for 8 months.
    This doesn't make any sense. Usually customer service from Adobe is much better than this. Why no action on this one issue?
    BTW, if you want to add Clip Markers to clips in the Timeline, you can set a keyboard shortcut for that.

  • Nasty nested clip behaviour

    So I've got a sequence in a bin that is open as a separate window.  I nest a clip, then click on some footage in my timeline and go to "replace with clip from bin" and the nested clip is not available. It appears you cant replace with clip if the clip thats selected is in a different bin to the sequence?!
    1) why
    2) is there a way to direct where the nested clips get created?

    Hmm, check your history panel - my bet is that it *did* do a replace clip, but probably not with the one you think.  When you selected 'Nest', it creates a new sequence in the project panel, and - here's the catch - it also put the focus on that nested clip.  Now, when you choose 'replace with clip from bin', it is actually doing what you ask  - it's replacing your nested clip with the one that has focus, ie the same nested clip.  So, yeah, you could call it a subtle bug.  Try clicking on the clip you want to swap in again in your other bin, try the command again... I bet it'll work.
    Cheers

  • Clip with problem

    I'm doing an exercise for my students using Parallax, when using the Clipping Tool or propriendade Clip this problem happens, I wonder if I'm doing something wrong?
    to see the video
    Clipping Tool with problem - YouTube

    basicaly, I got a clip that acts as a botton from which a menu drops. the idea is to get the clip to play as I pass over it with my mouse pointer and disapear as i leave the click zone. the clip is on my root and in the clip on my first frame I've put that script that I've posted earlier. it works fine for the scroll over, but it doesn't disapear once i leave the click zone.

  • Clipping Path Problem in CS4

    First let me say that I'm am still new to this program and this was so much easier to do in Freehand.
    When you use clipping mask in Illustrator to insert a JPEG into a shape it looks good until you see it on your desktop or open it in Photoshop, the border of the original size of the JPEG still shows up as white area, so I have to take the time open these clipped images in Photoshop just to crop out all that extra white area. I hope this is an easy fix or some simply step I'm missing?
    I asked an old friend who uses Illustrator all the time and he said that's the way it has always been, clip a photo in Illustrator then open it up in
    Photoshop to fix the clipping problem.
    I have attached JPEG to help explain what I need and what's happening to the photos.
    If anyone could help it would save me a TON of work.
    Thank You,
    Indyrebel

    indyrebel,
    You may do the otherwise dirty destructive deed in Illy:
    With the Clipping Mask selected:
    1) In the Transparency palette/panel dropdown select anything but Normal (Multiply is fine);
    2) Object>Flatten Transparency (just leave it at 100% vector and other defaults).
    This will rid you of the parts outside the Bounding Box of the path that shapes the Clipping Mask: a rectangle, even in case of other shapes such as ellipses, which does not hurt in your case.
    If you do it to (especially stroked) vector artwork, it may hurt.
    Obviously, the serious issue is with JPEG, not with PNG/GIF when transparency is applied; but it may be inconvenient in any case, having outlying parts selectable.

  • Fast Refresh Nested Materialized View problem in ORACLE 9i 9.2.0.7

    Hello
    My problem is in creating fast refresh nested materialized view in oracle 9i
    In below is an example of my problem
    ( I need to say when I run this example in Oracle 11g all things is OK )
    create table ali.alitest1(id number primary key,n1 number,n2 number);
    create table ali.alitest2(id number primary key,n3 number);
    CREATE MATERIALIZED VIEW LOG ON ali.alitest1 WITH ROWID,PRIMARY KEY ,SEQUENCE
    (n1,n2)
    INCLUDING NEW VALUES;
    CREATE MATERIALIZED VIEW LOG ON ali.alitest2 WITH ROWID,PRIMARY KEY ,SEQUENCE
    (n3)
    INCLUDING NEW VALUES;
    CREATE MATERIALIZED VIEW ali.alitest1_mv
    REFRESH WITH PRIMARY KEY FAST
    AS
    select id,n1 from ali.alitest1;
    CREATE MATERIALIZED VIEW LOG ON ali.alitest1_mv WITH ROWID,PRIMARY KEY ,SEQUENCE
    (n1)
    INCLUDING NEW VALUES;
    CREATE MATERIALIZED VIEW ali.alitest2_mv
    REFRESH WITH PRIMARY KEY FAST
    AS
    select t1.id,t1.n1,t2.n3,t1.rowid "t1_rowid",t2.rowid "t2_rowid" from ali.alitest1_mv t1,ali.alitest2 t2 where t1.id=t2.id;
    SQL Error: ORA-12053: this is not a valid nested materialized view
    12053. 00000 - "this is not a valid nested materialized view"
    *Cause:    The list of objects in the FROM clause of the definition of this
    materialized view had some dependencies upon each other.
    *Action:   Refer to the documentation to see which types of nesting are valid.
    do you know what is problem ?
    thanks

    Take look for this link :
    http://rwijk.blogspot.com/2009/08/fast-refreshable-materialized-view.html

  • Link to online web service or set up my own? Clip Notes Problems

    I am looking for some kind of hard drive/server kit for hosting my own videos. I want send my clients links to their projects at certain stages, but not through YouTube. I have no idea how to set that up. I saw an ethernet/USB2/what-have-you Buffalo drive that I could supposedly serve from and store my archive files. Is that the way to go or is it better or more cost-effective to go with an online service?
    By the way, I could not get Clip Notes to work. In fact, it crashed my computer (or Premiere anyway). I should be able send direct from the timeline, correct? It didn't do that. Instead I had to send it to myself first - save to hard drive, and then email it to whomever. I don't see how it could work anyway. I can't email a 20 MB or bigger PDF file, can I?

    Running your own server would probably be much harder than setting up a page through a commercial-grade provider. First and foremost you would need to set up a server-class OS and webserver system (such as Apache running on a Linux kernel). Security becomes a big issue as you almost certainly *will* come under fire by bots looking for servers to infect. So, you'll need to learn Apache, setting up CGI, Perl and other scripts and firewalls to protect your investment. Then you still would need to set up a page with a secure entry shell to allow your clients in without letting others in (to protect NDA protected material and preventing other clients from "peering over your hsoulder" as it were).
    Also, if you have internet provided by Comcast or Verizon (or similar end-user broadband), those plans *explicitly* disallow use as a server and they most likely would shut you down if they detected the presence of incoming HTTP routing on port 80, and doubly-so if you are running a commercial website for the benefit of your business. They have specific "enterprise class" broadband packages but they are typically more expensive (often twice as much as "home" packages) as they provide more consistent and reliable speeds and are usually synchronous rather than the typical end-user asynchronous broadband (ie end-user is 2Mbs down and 300Kbs up, where enterprise class would be 4Mbs down *and* up). The benefit being that people visiting your server are getting full speed *from* you as well as *to* you, and also they typically provide more robust mail packages.
    Serving your own content from home is typically an expensive and extremely labor-intensive prospect, as you will almost certainly need to learn Linux/Unix as well as apache, and maybe also a robust FTP client and mail server. Serving from Windows XP or Vista is highly discouraged due to enormous security problems and downtime issues. Learning CGI, Perl and so forth is daunting at first and (if you're like me) you probably want to work on graphical content more than laboring over server duties and security details.
    Subscribing to an enterprise-class hosting service can provide you with a robust, professional-looking website with almost no knowledge of HTML, CSS, Perl, CGI or other technology, and most provide a wide array of "extras" like secure password-protected content for individual users, CGI bins, mail hosting, extensive arrays of scripts to use (such as blogs, forums, online updating, user statistics, traffic analyses, etc) and many also provide simple tools for setting up your site with easy-to-use templates and so forth. I have used 1-and-1 hosting and they provide excellent service with highly-rated uptime and security as well as a ton of tools and software for site building. Typical packages for decently rated monthly bandwidth can be had for around $10 to $20 a month which is a fantastic value, compared to spending upwards of $100 a month for hosting your own server and the countless hours of set-up and daily maintenance.
    Depending on the services you subscribe to with a provider, many probably have compatible systems for allowing you to publish directly to your website via common protocols and tools (using FTP or VPNs (virtual private network allowing for remotely mounted network drives)). You may need to do some research and homework, but the end result would be a very seamless work environment where you can share results with clients quickly and easily, and also allow them to comment, share notes and upload assetts for you to utilize if necessary.
    -Mark

  • Cutting out images in indesign, clipping path problems

    Hi,
    I have been putting images of my drawings from photoshop onto indesign for my portfolio,  after looking around the only way I can seem to find to cut them out is using clipping path/detect edges.
    The problem I have is because they are scanned sketches this method produces really inacurate and shoddy results and no matter how much I play around with the threshold and tollerance this means I still have to mess around with the pen and arrow tool for ages on each image.
    Is there a quicker solution to cutting them out like the magic wand or lasoo tool on indesign?
    It has taken days now in in design , I have all the images already cut out from their original pages on photoshop but the white box always comes around again when I drag or place the images in indesign.
    I have been shorcutting some pages and doing layout on photoshop and placing the image behind which works fine sometimes but is really inconviiant when I want to move the layout around text ot anything...... i have attatched some pictures to show you what I mean.
    Thanks for your help in advance
    Leo

    Well Thats 2 days of my life Ill never get back!
    Thankyou very much! cant belive I was that stupid

  • Erratic Clip Length Problems

    Hi all
    I am having REAL pains in the rear end with a project I am working on. For example, I will import a graphic file, allocate it a 5 second length, then place a 1 second transition either side, leaving the original clip with just 18 seconds left - as opposed to 3 seconds !!
    This is a problem I have had on previous versions and on different machines, but I would have thought that by now Apple would have solved this issue
    Does anyone have any insight into how to manage this, apart from throwing it all out of the window !!
    Many thanks

    Hi again eventproducer,
    There is a bug in iMovie 5.0.2 (and some earlier versions) which only affects PAL projects, but this was fixed in iMovie HD 6 (not sure which version). As I recall, the bug first appeared after iMovie 2.
    Transitions were rendered with an incorrect duration. For example, to achieve a rendered transition of 2 seconds duration, a setting of 1 second 17 frames had to be selected when choosing the transition. In essence, the rendered transition always appeared as a factor of 1.2 times the actual duration selected. See Matti Haveri's site:
    http://www.sjoki.uta.fi/~shmhav/iMovieHD_5_bugs.html#paltransitions
    If you are still using a version prior to iMovie 6, this explanation may cover part of the problem. Having said that, in your situation, using 1 second transitions on a 5 second clip shouldn't reduce the clip duration to only 0.8 seconds. Under the scenario I've outlined, the duration would reduce to 2 seconds and 15 frames. So, I'm not sure what's going on!
    Perhaps you could provide a fuller explanation as to how you are importing and rendering photos. For example, are you importing from the Photos pane within iMovie (ex iPhoto) or from a separate folder? Are you using Ken Burns to render, or is this feature switched off? Any extra information will be very helpful.
    Thanks
    John

  • Creating functions for movie-clips(serious problem)

    Hello,
    This is I think my third thread on these forums and in my
    previous threads I had always got some help.Well, now I have
    another serious problem, can you help me?
    I am unable to create a function that can control movie
    clips. Let me explain:-
    I have 10 movie clips on the stage and I have assigned them
    that whenever they crash to an object, they will go to a random
    position. Writing this code ten times for each movie clip would be
    very tedious, so, I thought about creating a function, but, it
    doesn't work. Here's the function, can you correct it?
    var object:movieClip;
    function position(object) {
    var testnum1:Number;
    testnum1 = random(290)+36;
    _root.object._y = -77.6;
    _root.object._x = testnum1;
    position(nameofmovieclip)
    PLEASE HELP IS REQUIRED!!!!
    Thanking All,
    Chinmaya

    Thanks for the reply,
    I tried that, it worked!
    But, now, I am encountering a really odd problem. This time
    I'll give you my full code.The problem is, that now when the object
    collides with another one, it changes its position according to the
    code but then after a while, it just passes through the object.
    Here's my code:-
    function position(object) {
    var testnum1:Number;
    testnum1 = random(290)+36;
    object._y = -77.6;
    object._x = testnum1;
    metal.onEnterFrame = function() {
    _root.metal._y += speednum;
    if (_root.metal.hitTest(_root.testline)) {
    position(_root.metal);
    speednum = random(6)+1;
    Can you help me out again,
    Thanks,
    Chinmaya
    P.S. I have tried to use the function like this:
    position(metal), but it doesn't work. And yes, I have already
    defines speednum somewhere before, so that isn't the
    problem.

  • Premiere CC's XML and EDL files not being interpreted correctly by Redcine-X - clip duration problem

    I'm having a recurring problem when sending a finished sequence to Redcine-X for final color correction.
    Redcine-X doesn't read the in and out points on seemingly random clips in a timeline, making the problem clips overlap onto the surrounding clips on the same timeline track. So halfway through the video, one of the clips will just keep playing all the way to the end, and all the other clips that should be playing stay invisible in the viewer. Has anyone else had this problem? Any ideas on how to fix it?
    The reason I'm posting here rather than on Redcine-X's support is because the problem seems to be coming from the way Premiere generates the XML. FCP's XMLs are interpreted correctly.
    I've tried removing all effects and speed changes before exporting XMLs from Premiere. I've restarted, trashed prefs and cleared cache in Premiere. I've tried on two different computers. I've also tried exporting EDLs and the same problem happens.
    My Premiere sequence is using proxy ProRes files, created from R3D files that RCX relinks upon import.
    System/Software info:
    Premiere CC is up to date
    Running the newest Redcine-X build 22.2.31684
    Macbook Pro Retina running OS 10.8.4 with NVIDIA GeForce GT650M 1024mb, CUDA is updated, 16 GB RAM
    Mac Pro running 10.8.5 with ATI Radeon HD 5870 1024 MB, 4 GB RAM
    As a side note: Premiere CC has been extremely disappointing so far. I'm having so many issues and crashes, so many advertised features seem to be buggy or not work at all, and Adobe makes it so hard find or get support. None of the threads on this community board have been helpful so instead of going through this arduous process I just fall back to using FCP7. I hope it gets better.
    Thanks for any help.

    Hey Sam... just wondering if you ever figured this problem out.  I have the exact same problem, albeit with FCPX XML's.  It's driving me bonkers and nobody seems to know.  Any insight would be truly appreciated.  Thanks.

  • Finding bounds of nested clipping paths...

    This topic has been touched on before, muppet & sonic have pointed me in the right direction, but I'm stuck right now....
    Seeing as how "saveMultipleArtboards = false" is broken in CS4, and scripting any kind of epsSave results in the artboard size being the bounding box, I am trying to see if I can find out if the "visible to the eye" bounds of artwork exceed the artboard size.
    I can easily find non-clipped objects hanging outside the artboard by comparing the document's visible bounds to the artboard size.
    Likewise the "visible to the eye" bounds of clipped objects :
    var docRef = app.activeDocument;
    docRef.rulerOrigin = [0,0];
    ////Get size of artboard
    var myDocsizeArray = [0,0,docRef.width,docRef.height]
    ////Check for items on page
    if(docRef.pageItems.length != 0){
    /////Find out if top item is clipping mask
    if(docRef.pageItems[0].typename == "GroupItem"){
    if(docRef.pageItems[0].pathItems[0].clipping == true){
    ////Compare its bounds to doc bounds
    var myClipArray = docRef.pageItems[0].pathItems[0].visibleBounds
    if((myClipArray[1] >  myDocsizeArray[3]) || (myClipArray[2] >  myDocsizeArray[2]) || (myClipArray[0] < 0) || (myClipArray[3] < 0)){
    alert("Outside of artboard")
    However, this doesn't work if clipping paths are part of a nested groups. Is there a way to see if a clipping path's parent group is within bounds, or parent's parent group etc. is within bounds. I need to find the topmost clipping path that trumps all the others in any nested group.
    Is that what recursive functions are for? ,,,,,,,,,,,
    Something that can keep looking in a loop within itself?  Very instrospective!
    thx

    Does this help? I use these to position and find bounds based upon what is visible.
    function getRealVisibleBounds(grp) {
         var outerBounds = [];
         for(var i = grp.pageItems.length - 1; i >= 0;i--)  {
              var bounds = [];
              if(grp.pageItems[i].typename == 'GroupItem') {
                   bounds =  getRealVisibleBounds(grp.pageItems[i]);
              else if((grp.pageItems[i].typename == 'PathItem' || grp.pageItems[i].typename == 'CompoundPathItem')
                   && (grp.pageItems[i].clipping || !grp.clipped)) {
                   bounds = grp.pageItems[i].visibleBounds;
              if (bounds.length > 0) {
                   outerBounds = maxBounds(outerBounds,bounds);
         return (outerBounds.length == 0) ? null : outerBounds;
    function maxBounds(ary1,ary2) {
         var res = [];
         if(ary1.length == 0)
              res = ary2;
         else if(ary2.length == 0)
              res = ary1;
         else {
              res[0] = Math.min(ary1[0],ary2[0]);
              res[1] = Math.max(ary1[1],ary2[1]);
              res[2] = Math.max(ary1[2],ary2[2]);
              res[3] = Math.min(ary1[3],ary2[3]);
         return res;
    function positionVisible(grp,x,y)
         var bounds = getRealVisibleBounds(grp);
         var newX = x + (grp.left - bounds[0]);
         var newY = y + (grp.top - bounds[1]);
         grp.position = [newX,newY];

Maybe you are looking for

  • Why can't I send Emails from iPad apps?

    When I am using iBooks, or Evernote, or Hootsuite, or just about any application on my iPad that allows me to Email items from within the application, the following happens when I try to send an Email: 1) I click the share button. 2) Choose Emaill 3)

  • Want to import avchd footage from a media card into FCE.

    Trying to import avchd video from a media card into Final Cut Express. Panasonic DMC-ZS3 / FCE 4.0.1 / MBP 10.6.8. Have taken a look at the footage using a trial version of Pavtube MTS Converter.

  • Problem with band names that start by "the"

    Since upgrading my iTunes to a newer version, it put all band names which start by "THE" (like for example "The Hives, The Beatles)into the "T"-Category!!! I just want it to put it in the right order again without deleting all these "The" letters fro

  • [Solved] Installing on a system that does not boot from cdrom or usb

    I have a very old and stuborn gateway solo 5300 laptop that refuses to boot form the disk I burned for arch linux, as well it refuses to boot from the usb disk I made with dd acording to Usb Flash Installation Media on the wiki I also tryed UNetbooti

  • Recommended patch cluster release

    Hello, How often is the Recommended Patch cluster released? A Couple of years ago, i was told at a Sun event during a session, that changes has been made en the way patch cluster was created, and that the patch clusters was created 4 times a year, to