Trouble with clip looping

I am building a flash wesite, and I would like the navigation
bar links to start .swf files without looping them.
HELP!

use loadMovie() or loadMovieNum() to start your swf files. to
prevent them from looping either put a stop() in the last frame of
the external swfs or start a loop that continually checks if the
loaded swf's _currentframe == loaded swf's _totalframes.

Similar Messages

  • Trouble with clipping paths in Photoshop CS5

    Hello everyone, I am having trouble with clipping paths in Photoshop CS5. When I start a new path both path and anchor points are not visible. working on a Layer not background 0 and a Path Layer was created.I've also noticed that Photoshop started running pretty slow. All other programs are fine. Any Ideas or suggestions? Thank You

    edtGrfx wrote:
    Hello everyone, I am having trouble with clipping paths in Photoshop CS5. When I start a new path both path and anchor points are not visible. working on a Layer not background 0 and a Path Layer was created.
    What do you mean by "a Path Layer was created"?  Path are in the path palette, there is a path in shape layers and they is a path in a vector layer mask. I have never seen a reference to a path layer before this.  When a path in the path palette is selected activate it wall also be shown in the image window.  Does not matter if there is a targeted layer or not.  Control points may or may not be displayed. Using Path tool you can select and select segments and show some or all control points, Path are editable.
    View the following image in a new tab and scale to actual pixels for a clear image this site scales image poorly.

  • Having trouble with garageband loops are out of time with other loops

    having trouble with garageband have bought loops from primeloops and beat loops are not in time when i paste other loops down for example certain loops do not lock into measure region correctly .. so say for instance i lay down my beat then i try to add hi hat below and the beat is not in time with hi hat any awnsers may have pressed some setting accidently because this hasn t happened before as previously using these loops were all in time and locked at correct measures ..

    The GarageBand experts await you here:
    https://discussions.apple.com/community/ilife/garageband

  • Trouble with clipping layers in Adobe photoshop CS5

    Posting in forums is new to me, but I am desperate for help, so I apologize if I am not doing things correctly.
    I just purchase cs5 recently because I changed from a pc to a mac.  I had cs4 on my pc and felt pretty comfortable with it.  I am a photographer so by far the majority of the work I do on photoshop is with photos. 
    The problem I am having is when I am working on a photo some of the layers are automatically  clipping to the layer below it.  I don't see a pattern to why it does it sometimes and not others.  This happens when I run actions, change levels, curves, hue and saturation, etc.  It is adding some time to my post production because I have to release the clipping mask every time it shows up. 
    This didn't happen with cs4 on my pc.  I don't know if this is a new thing with cs5 but it is kind of driving me crazy.  Is there a preference I need to change?
    Any help would be greatly appreciated, thanks so much!

    Try unchecking clip to layer as shown below.
    MTSTUNER

  • Trouble with Clipping Masks

    Hello!
    I created a pattern in illustrator, and then I created an object, and I wanted to fill half of the object with the pattern, so I used a clipping mask to do this.. however, now when i try to group everything together, the clipping mask in released and the pattern spills all over the artbaord... when i try to copy and paste into a new document, everything is pasted as white instead. When i try to merge the layers, the clipping mask is released...
    I'm not sure how to fix this and have been searching for a solution for it. I hope you can help me figure out how to keep the clipping mask from releasing..
    Also, I tried rasterizing but that doesnt work either and it makes my shapes all rough and choppy!
    Thank you

    Thanks for replying but unfortunately that did not help!
    I always select with the solid selection tool ^^ infact when i want to select everything i just use command+a.
    Anyway, I'm still unable to group or copy the entire picture without the clipping mask releasing..

  • Trouble with clipping paths and expanding

    Hey y'all. Okay, so I have a Illustrator element that uses a clipping path.
    Even after I run "Expand Appearance" on it, it's not trimming the art to the bounds of the path.
    It's making for difficult to position correctly when copying into Photoshop as a Smart Vector or Shape Layer:
    And it isn't correct in After Effects either.

    What you are describing is just another example of the very common need to trim artwork (including filled, unfilled, open, and/or closed paths) without wrecking its already-applied Attributes, Appearances.
    As has been discussed many many times here, Illustrator simply does not provide that basic functionality...neither by its horribly-designed cutting tools nor through its problematic and caveat-riddled Pathfinders. Expanding a Clipping Path doesn't serve as a workaround for this long-missing functionality; nor does flattening transparency. You can't do it without resorting to the workarounds you've already tried or others that will no doubt be suggested.
    Once again:
    NONE of Illustrator's cutting tools (Knife, Scissor) can cut across artwork that includes multiple open, unfilled paths. Open unfilled paths are ignored by the Knife cut. The Scissor cannot cut across multiple paths at once.
    Illustrator's recently-added, very poorly implemented Eraser tool comes nearest to the needed functionality. It can at least cut multiple unfilled open paths without their becoming converted to unstroked, closed fills. But it unpredictably alters the shapes of remaining portions and has no means by which to accurately control a cutting shape other than rectangular.
    This is a prime example (there are others) of how Illustrator confuses and clutters the interface with multiple under-powered tools designed for similar functions, none of which measure up to a single tool properly designed for the same purposes in most other programs.
    Pathfinders are riddled with ridiculous caveats. Those which come close to providing the needed functionality are incapable of ommitting the unwanted deadwood and/or wreck strokes by outlining them.
    Illustrator needs a feature that allows any given path to be employed as either a selection marquee or a cutting path. And the cutting operation needs to act as expected regarding strokes as well as fills--as common in any other drawing program that does provide the long-missing functionality (most do; Illustator never has).
    JET

  • Having serious troubles with clips on timelines. Any thoughts?

    So, I'm having some serious issues with the timelines in Premiere. It's making it impossible to do any work.
    Sometimes it shows clips where they definitely aren't, and then I'll click on them and then it will remember they aren't there.
    Sometimes when I scroll left or right or up or down in the timeline, the clips just hang.
    And other super screwy things. See the video below.
    Things I've tried that haven't worked:
    Updated MacOS
    Updated Premiere CC 2014 to the latest version
    Cleared the media cache, both with the button inside premiere and manually
    I can't copy everything into a new project, because I'm collaborating with others on this project by saving it to a Dropbox folder and we all take turns opening it. Neither of them are having these issues, and my computer is actually more powerful than theirs.
    I'm using a latest-gen MacBook Pro 2.6 GHz with 8GB of RAM and a solid state drive.
    Any thoughts?

    Don't worry I've sorted it! I just had to turn off Reminders as well in iCloud. Calendar then worked fine, even when I turned Calendar and Reminders back on.

  • Trouble With Clip Audio Tracks

    I am importing DVCProHD24P footage from an external drive where each clip has 4 audio tracks, but once its imported only one audio track shows up, both in the tracks column of the browser as well as in the clip's item properties.
    I thought something must have gone wrong when I copied the footage from the drive I got it from (originally imported from Pcards), but when I took my drive back and imported the same clips off my drive onto their system all four channels were there!
    They have FCP5, I have FCP4HD, but all our audio settings seem to be identical. This is the first time I've worked with HD footage on my system, could that possibly be the problem? I'm sure I'm missing a setting somewhere but I'm stumped! Thanks for any help/troubleshooting ideas...

    FCP HD won't support the P2 files you have. You need at least FCP 5, and if it were me I'd totally take advange of the crossgrade Apple has right now. If you only have FCP HD, you can upgrade to the Universal version of the entire studio for 199 bucks... link here: http://www.apple.com/universal/crossgrade/ You'll need Tiger to run it on too.
    Jerry

  • Trouble with clips from DVDs

    I'm editing a project for a friend... most of the project was shot on a Sony PD150 in 16:9.  At the end of the credits he wanted to put in a very short clip from a previous movie he made as a logo.  He gave me a DVD of the film.  One problem is that the clip itself is not true widescreen... the DVD is 4:3, letterboxed down to 16:9.  If it's a smaller box in the widescreen frame that's probably okay since it's just a logo (we can probably throw in the production company name in the black areas).
    The bigger problem is that when I tried to rip the DVD (using DVDx), the clip is not working properly in Premiere.  I can view the clip fine in a media player program but when imported into the project in Premiere, it's not playing properly.  Usually the image is stuck on one of the first few frames of the clip.  There are several options on DVDx that I'm not terribly familiar with, and I'm wondering if one of these options needs to be tweeked to get a clip that will play in Premiere properly.  Or perhaps there's another program that I can use to snag this clip from the DVD so that it will play in Premiere.
    I seriously only need about 4 or 5 seconds of this 90 minute film but in DVDx I've had to rip the entire film (only to find out it's not working with Premiere).  Is there an easier way to snag just that clip?

    If the DVD is 100% DVD-compliant (very important), then CS4.2.1 can just Import the VOB, without needing to rip it. This ARTICLE will give you some more background on VOB's. If I were doing the ripping, I would want to rip to DV-AVI Type II w/ 48KHz 16-bit PCM/WAV Audio, but I do not know if your ripping software will do that. That would be the ideal for editing (with the exception of that initial MPEG-2 compression, which is unavoidable, given your source material).
    Now, and only your eyes can tell, you can take the 4:3 MPEG-2 inside the VOB and use the fixed Effect>Motion>Scale to "full up" the width of the Frame, effectively cropping off the top, the bottom, or the top & bottom. Depending on the subject matter, you could also use Interpret Footage, and tell PrPro to deal with it as 16:9 with the appropriate PAR for your Project. Look at the footage closely, as it will change in the horizontal pixels.
    Starting with MPEG-2 and then probably Exporting to another MPEG-2 (for DVD-Video), is not the ideal. Two compressions will never be pretty, but might work for your purpose. Still, only you can make that determination.
    Personally, I would be very tempted to just redo the credit, but that will be more work. The end result, however, will be better, and with fewer potential problems.
    Good luck,
    Hunt

  • Trouble with while loop, not sure what to put in it in my project

    I'm making a class to a simple command line craps game. I must use a while loop to implement craps rules. The rules that i was given are:
    if your first roll is a 4, 5, 6, 8, 9, or 10, you roll again until either you get a 7 (you lose) or you get the number from your first roll. (i thought 7 or 11 wins, like in the next example)
    yeah, thats right, not very good directions. The first directions i had for a different way of doing it using if and else statements were:
    The player rolls the two dice.
    If the sum of the resulting die values is 7 or 11, the player wins.
    If the sum is 2, 3, or 12, the player loses.
    If something else is rolled, the player has to roll again to determine the outcome.
    If the sum of the second roll is the same as what the player rolled the first time, the player wins. Otherwise the player loses.
    (You might get a pair of dice and play a few rounds to try it.)
    here's my code that i have so far for my craps class, in the middle section, i have previous code that i used for if else statements, that is what im trying to replace: package games;public class Craps {
    private Dice dice1;
    private Dice dice2;
    private int gamesPlayed;
    private int gamesWon;
    private boolean lastGameWon;
    private boolean gameOver;
    private int firstRoll;
    private int secondRoll;
    public Craps() {
    dice1 = new Dice(6);
    dice2 = new Dice(6);
    gamesPlayed = 0;
    gamesWon = 0;
    lastGameWon = false;
    firstRoll = 1;
    secondRoll = 2;
         //returns firstroll
    public int getFirstRoll(){
    return firstRoll;
         //returns secondroll
    public int getSecondRoll(){
    return secondRoll;
    public int getGamesPlayed(){
    return gamesPlayed;
    public int getGamesWon(){
    return gamesWon;
    public boolean lastGameWon(){
    return lastGameWon;
         public int nextSum()
         dice1.roll();
         dice2.roll();
         return dice1.getSideUp() + dice2.getSideUp();
    public void play()
              firstRoll = nextSum();
    if (firstRoll == 7 || firstRoll == 11)
              gameOver = true;
              gamesWon++;
              if (firstRoll == 2 || firstRoll == 3 || firstRoll == 12)
              gameOver = true;
                   else{
                   gameOver = false;
              while (gameOver == false)
              secondRoll++;
    public String toString()
    return "games - " + gamesPlayed + ", won - " + gamesWon + ", last game won - " + lastGameWon + " First Roll - " + firstRoll +
    ", Second Roll - " + secondRoll;
    i'm really confused on how to get the while loop will keep starting the game over if it is false, am i using the right approach? Also i have to use a while loop, its for a school project.
    thanks.

    The code you asked for could be:
    package games;
    public class Craps {
        private Dice dice1;
        private Dice dice2;
        private int gamesPlayed;
        private int gamesWon;
        private boolean lastGameWon;
        private boolean gameOver;
        private int firstRoll;
        private int secondRoll;
        public Craps()
            dice1 = new Dice(6);
            dice2 = new Dice(6);
            gamesPlayed = 0;
            gamesWon = 0;
            lastGameWon = false;
            firstRoll = 1;
            secondRoll = 2;
         //returns firstroll
        public int getFirstRoll(){
            return firstRoll;
         //returns secondroll
        public int getSecondRoll(){
            return secondRoll;
        public int getGamesPlayed(){
            return gamesPlayed;
        public int getGamesWon(){
            return gamesWon;
        public boolean lastGameWon(){
            return lastGameWon;
        public int nextSum()
            dice1.roll();
            dice2.roll();
            return dice1.getSideUp() + dice2.getSideUp();
        public void play() {
            gamesPlayed++;
            firstRoll = nextSum();
            if (firstRoll == 7 || firstRoll == 11)
                gamesWon++;
                lastGameWon = true;
            else if (firstRoll == 2 || firstRoll == 3 || firstRoll == 12)
                lastGameWon = false;
            else
               secondRoll = nextSum();
               if (firstRoll == secondRoll)
                  gamesWon++;
                  lastGameWon = true;
               else
                  lastGameWon = false;
        public String toString()
            return "games - " + gamesPlayed + ", won - " + gamesWon + ", last game won - " + lastGameWon + " First Roll - " + firstRoll +
                    ", Second Roll - " + secondRoll;
    }I'm not sure of craps rules, the code above makes a first roll and if game isn't won or lose at once (7 and 11 wins, 2,3 or 12 lose) a second roll is done. If the second roll is equals to the first made then the game is won else the game is lose. Is it right?

  • More trouble with for loops

    This was my attempt:
    function poor(){if(money < shopwin["prc"+$].text){shopwin["itm"+$].textColor = 0x999999;
    shopwin["prc"+$].textColor = 0x999999;}
    if(money >= shopwin["prc"+$].text){shopwin["itm"+$].textColor = 0xFFFFFF;
    shopwin["prc"+$].textColor = 0xFFFFFF;}
    for ($=1;$<9;$++){poor();}  
    at compressing this:
    function poor(){
    if(money < shopwin.prc1.text){shopwin.itm1.textColor = 0x999999;
    shopwin.prc1.textColor = 0x999999;}
    if(money < shopwin.prc2.text){shopwin.itm2.textColor = 0x999999;
    shopwin.prc2.textColor = 0x999999;}
    if(money < shopwin.prc3.text){shopwin.itm3.textColor = 0x999999;
    shopwin.prc3.textColor = 0x999999;}
    if(money < shopwin.prc4.text){shopwin.itm4.textColor = 0x999999;
    shopwin.prc4.textColor = 0x999999;}
    if(money < shopwin.prc5.text){shopwin.itm5.textColor = 0x999999;
    shopwin.prc5.textColor = 0x999999;}
    if(money < shopwin.prc6.text){shopwin.itm6.textColor = 0x999999;
    shopwin.prc6.textColor = 0x999999;}
    if(money < shopwin.prc7.text){shopwin.itm7.textColor = 0x999999;
    shopwin.prc7.textColor = 0x999999;}
    if(money < shopwin.prc8.text){shopwin.itm8.textColor = 0x999999;
    shopwin.prc8.textColor = 0x999999;}
    if(money >= shopwin.prc1.text){shopwin.itm1.textColor = 0xFFFFFF;
    shopwin.prc1.textColor = 0xFFFFFF;}
    if(money >= shopwin.prc2.text){shopwin.itm2.textColor = 0xFFFFFF;
    shopwin.prc2.textColor = 0xFFFFFF;}
    if(money >= shopwin.prc3.text){shopwin.itm3.textColor = 0xFFFFFF;
    shopwin.prc3.textColor = 0xFFFFFF;}
    if(money >= shopwin.prc4.text){shopwin.itm4.textColor = 0xFFFFFF;
    shopwin.prc4.textColor = 0xFFFFFF;}
    if(money >= shopwin.prc5.text){shopwin.itm5.textColor = 0xFFFFFF;
    shopwin.prc5.textColor = 0xFFFFFF;}
    if(money >= shopwin.prc6.text){shopwin.itm6.textColor = 0xFFFFFF;
    shopwin.prc6.textColor = 0xFFFFFF;}
    if(money >= shopwin.prc7.text){shopwin.itm7.textColor = 0xFFFFFF;
    shopwin.prc7.textColor = 0xFFFFFF;}
    if(money >= shopwin.prc8.text){shopwin.itm8.textColor = 0xFFFFFF;
    shopwin.prc8.textColor = 0xFFFFFF;}
    poor();
    I tried a similar code to the first (above) for the following list, but it also failed.
    shopwin.itm1.text = m_shop.inv.itm1.nm; shopwin.prc1.text = m_shop.inv.itm1.prc;
        shopwin.itm2.text = m_shop.inv.itm2.nm; shopwin.prc2.text = m_shop.inv.itm2.prc;
        shopwin.itm3.text = m_shop.inv.itm3.nm; shopwin.prc3.text = m_shop.inv.itm3.prc;
    //(I actually needed 5 more just like this for itm4 through itm8)
    I based the top code on this:
    function buy(){if(actionBox == m_shop.inv["itm"+n].nm && money >= m_shop.inv["itm"+n].prc){
        char.inv["itm"+n] = m_shop.inv["itm"+n]; money = money - m_shop.inv["itm"+n].prc;} ;}
    for (n=1;n<9;n++){buy();}
    which worked fine. I should mention this last code is nested inside an "onRelease" as are the others.

    I will second the Flash suggestion. Great a .flv file and play it on your site with a flv player. Some are more difficult than others to use.
    NOTHING is fool proof with this kind of stuff. Flash has the highest install rate on all computers and is as close as you can get to fool proof. You can also put a link on you site to download the latest flash player. The other plus is that it tends to have the best results with low file sizes. This is what YouTube and similar sites use to play their video.
    PS. I highly suggest this flv player... It's free for non-commercial use and almost free for other uses...
    http://www.jeroenwijering.com/?item=JWFLVPlayer

  • Having trouble with the loop in this method

         public int getWorstGradeIndex()
              int worst = -1;
    //           IF THE ARRAY courses IS NOT EMPTY
    //           FIND AN INDEX OF THE COURSE WITH
    //           THE LOWEST GRADE
              for (int i = 1; i < courses.length; i++)
                        if(getCourseGrade(i) < getCourseGrade(worst) || worst == -1)
                             worst = getCourseGrade(i);
                   System.out.println("Worst grade index is: " + worst);
              return worst;
         }worst is a pointer to an array courses that reads in a textfile of a students grades. This method should test which grade is the worst and then return the index pointer to that course in the array.
    Right now whatever I set the worst to intitially is what I get returned: ie if I set
    int worst = 5;I will have 5 returned...

              for (int i = 1; i < courses.length; i++)Should be
    for (int i = 0; i < courses.length; i++)
    Indices start at 0.
              worst = getCourseGrade(i);Should be
    worst = i;
    Kajok both of those make sense :)
    I made those two changes:
    for (int i = 0; i < courses.length; i++)
                        if(getCourseGrade(i) < getCourseGrade(worst) || worst == -1)
                             worst = i;
                   }but I'm still getting -1 returned...?
    Thank you all for the help!

  • Trouble with "for loop"

    Hi all,
    how can I fix this problem
    Rookie; LV 2011 on WIN 7
    Solved!
    Go to Solution.

    Jkhourigan wrote:
    Disable indexing on the right hand side of the for loop.
    Consider using shift registers instead.
    That will indeed clear the error message but then your For loop will want to know how many times to iterate and I suspect you will only want to iterate once so why use the For loop?
    Toss it.
    If you were using the For loop to ensure a delay ... after (?) the transmit ...
    THere is no guarentee the wait will happen after since the is no data flow dependencies. If wan to delay after, add another frame between Xmit and rcv. Please note that I am talking about the most basic data flow ideas that drive LabVIEW and in serious coding data flow alone should drive the program execution and seq frames are used sparingly.
    Quesion anything I said above. Since the paradigm shift for LV may be weird.
    You at least have gotten past the "how do I wire things up?" challenge that frustrated me when I got started.
    Have fun!
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • Troubles with for-loop

    Hi I'm new her...
    Could anybody explain to me why my code is not doing what i want it to do.
    I want to get
    xxx
    xx
    x
    and not
    X
    X
    X
    X
    X
    X
    I'm doing a German course, but can't find it anywhere. Starting to get desparte after 3 hours searching!
    public class Aufgabe5 {
    public static void main (String[] args) throws Exception {
      for(int zeile = 1; zeile <=3; zeile++) {
       for(int spalte = 1; spalte <= zeile; spalte ++) {
        System.out.println("+");
       System.out.println(" ");
    }Edited by: javastartert on Nov 4, 2008 11:45 AM
    Edited by: javastartert on Nov 4, 2008 11:45 AM
    Edited by: javastartert on Nov 4, 2008 11:45 AM
    Edited by: javastartert on Nov 4, 2008 11:47 AM

    thanks for the help!i think it's an important clue....
    now i got a new thing, and a new question
    now i want to make a sandglass with java ( 5 stars, 3 stars, 1 star, 3 stars, 5 stars)
    xxxxx
    xxx
    x
    xxx
    xxxxx
    and than in the nice sandglass form offcourse.. (can't get it that way over here in this topic)
    but it doesn't seem to work.. where did i go wrong?
    public class Aufgabe5 {
         public static void main(String[] args) {
              final int memory = 5;
              final char sign = '+';
              int count = 0;
              int selection = 1;
              switch (selection) {
              case 1: {
                   for (int size = memory; size > 0; size -= 2, count++) {
                        if (count != 0) {
                             System.out.println();
                        for (int line = count; line > 0; line--) {
                             System.out.print(' ');
                        for (int digits = size; digits > 0; digits--) {
                             System.out.print(sign);
                   break;
              case 2: {
                   int size = memory;
                   while (size > 0) {
                        if (count != 0) {
                             System.out.println();
                        int line = count;
                        while (line > 0) {
                             line--;
                             System.out.print(' ');
                        int digits = size;
                        while (digits > 0) {
                             digits--;
                             System.out.print(sign);
                        count++;
                        size -= 2;
                   break;
    }

  • Time not stopping with while loop

    Hello,
    I've attached my VI.  I am having trouble with while loops.
    I want to turn on LEDs. The first LED should turn on after 3s.  The second LED should turn on after 5s.  The third LED will turn on later. 
    The LEDs turn on based on the following conditions:
    Case 0: numeric control > 10 then led_1 off, led_2 off, led_3 off
    Case 1: numeric control <= 10 then led_1 on, led_2 on, led_3 on
    Case 2: numeric control <=5 then led_3 on
    Because of the way I'm delaying time, I have the following problems
    Case 1 --> case 2: led_3 doesn't come on right away
    Case 2 --> case 1: led_3 doesn't turn off right away
    Putting probes in certain areas leads me to believe that these problems are due to the way the time delay is being generated.
    Thanks in advance.
    EDIT: Looking at it more...it seems to be that when the stop condition is true, the loop runs one more iteration. Is there a way to keep it from running that "one more iteration."
    Attachments:
    timing.vi ‏15 KB

    One of the problems is that your VI is not able to "breathe" because it is sometimes trapped inside inner loops that consume all CPU and step on each others toes. All you need is an single outer loop and a few shift registers.
    May of your specifications are still not clear, for example what should happen to LED 1&2 in case #3? Should they remain in the state they are in, or should they turn off, for example.
    Here is a simple rewrite that spins the outer loop at a regular rate, has no inner loop, and does not need any local variables or value property nodes. See if it makes sense. Also note that your code can be simplified dramatically by using arrays. Since the stop button is read with each of the regular interations, we don't need to worry about sequencing.
    Most likely you need to do a few simple modofications, because your specs are not clear.
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    timingMODCA.vi ‏15 KB

Maybe you are looking for