Targeting Arrays and making them invisible

Hi: I'm having trouble targeting elements of an array using AS3. I have five buttons in an array named botons.
var botons:Array = [boton_1, boton_2, boton_3, boton_4, boton_5];
Each button goes to a different page, but they all are on the same layer like navigation bar.
When page 1 is visited button 1 should be invisible and the others visible. When on page 2, button 2 should be invisible but all others visible.
I used the following to make the entire array invisible and it works.
for(var i:int; i<clips.length;i++)
botons[i].visible=false;
How can I make each button invisible when visiting its page, but make the rest visible?
Thanks
German

Ned:
Here is my entire script. I added what you suggested. It still doesn't work.
Page names: first, second, third, fouth, and fifth.
boton_1.addEventListener(MouseEvent.CLICK, goPNext);
boton_2.addEventListener(MouseEvent.CLICK, goPNext);
boton_3.addEventListener(MouseEvent.CLICK, goPNext);
boton_4.addEventListener(MouseEvent.CLICK, goPNext);
boton_5.addEventListener(MouseEvent.CLICK, goPNext);
function goPNext (evt:MouseEvent)
switch (evt.currentTarget.name)
case "boton_1":
gotoAndStop("first");
break;
case "boton_2":
gotoAndStop("second");
break;
case "boton_3":
gotoAndStop("third");
break;
case "boton_4":
gotoAndStop("fourth");
break;
case "boton_5":
gotoAndStop("fifth");
break;
}// end switch
}// function
for(var i:uint = 0; i < 5; i++)
getChildByName("boton"+i).addEventListener(MouseEvent.CLICK, navigate);
function navigate(e:MouseEvent):void
for(var i:uint = 0; i < 5; i++)
getChildByName("boton"+i).visible = true;
e.currentTarget.visible = false;
// determine where to navigate based on e.currentTarget
ERROR
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at subtraction_fla::MainTimeline/frame1()
German

Similar Messages

  • How do I prevent Adobe from taking my jpegs and making them pdf files? I have had to uninstall Adobe to access my photos as jpegs.

    How do I prevent Adobe from taking my jpegs and making them pdf files? I have had to uninstall Adobe to access my photos as jpegs.

    I would suggest you change your file associations so that jpgs open in a program other than Acrobat.  Assuming you have a Windows machine, just go to the Start, and search for "file associations" ... it's part of the Control Panel.
    Scroll down to the file type jpg, and set it to open with whatever graphic preview or editing program you have that you want to use as the default.  From that point on, when you click on a jpg, it should not open Acrobat and instantly try to convert it to a pdf.

  • Creating dynamic sized arrays and filling them automatically on speedy 33

    hi all,
    I am trying to create dynamic sized arrays on Speedy-33. Specifically, depending on the user input, I want to be able to create
    arrays with 128 or 256 elements and fill them automatically. However,
    array constant element is fixed for Speedy 33; thus I have to manually set the
    size of the array with the mouse and enter the values in to the array by
    myself. I want to make this tedious process automatic. Would this be possible? thanks so much for comments!
    ~casiopea

    Casiopea,
    There is a really great article on using arrays with LabVIEW DSC which can be found here:
    How Can I Be Successful With Arrays In the LabVIEW DSP Module?
    One of the biggest things that should be noted about DSP is that there is no dynamic memory allocation.  Your array size must be fixed, and thus, your array needs to be initialized by using a constant. 
    An easy way to initialize an array constant that has many elements that are all the same is to simply create a numeric constant that has the value that you want.  Then, create a new blank array constant and drag the numeric into it.  In the index input for the array constant, type in the index of the last element that you want to be initialized.  Then type in the value in the element that is displayed and all of the elements before it will be initialized to the default value of the numeric constant that you dropped into the array constant.  I hope this helps.  I would really recommend reading through that article, as it has a lot of great information about using arrays with DSC.
    Brian Coalson
    Software Engineer
    National Instruments

  • Problems creating an array and mixing them up

    I am trying to create an array (1-35), mix that array and display the results with a trace. I am getting an error withthe following code.
    public function generateArray(toNumber : int) : Array {
            var result : Array = [];
            for (var i : int = toNumber; i != 0; i--) {
            result.push(i);
            return result;
            public function shuffle (a:Array,i:int):Array
            {var rndm:int;
            var b:Array = a.slice();
            var c:Array = [];
            while (i) {
            rndm = Math.random() * b.length;
            c.push(b.splice(rndm,1)[0]);
            i--;
            return c;
             /*limit question display to 35*/
             generateArray(35);
             trace(generateArrays);
    the error(s) are:
    1180: Call to a possibly undefined method generateArray.
    1120: Access of undefined property generateArrays.
    please assist with resolving these problems.
    thanks in advance!

    generateArray(35) and that trace() must be inside a method (or methods).  for example,
        internal class Mixer {
            //retains the array that is consulted for random question numbers
            private var randomizedOrder:Array;
            //CONSTRUCTOR - passed total number of questions in section
            public function Mixer (questnsTotal:Number) {
                randomizedOrder = new Array();
                randomizedOrder[0] = Math.floor(Math.random()*questnsTotal);
                for (var i:Number=1; i<questnsTotal; i++) {
                    randomizedOrder[i] = newNumber(questnsTotal, i);
                for (var k:Number=0; k<questnsTotal; k++) {
                    trace(""+k+": "+randomizedOrder[k]);
      /*limit question display to 35*/
             generateArray(35);
             trace(generateArray);
            //recursive function that creates a new number until it creates one that isn't already in use
            private function newNumber (qTotal:Number, curNum:Number):Number {
                var newNum:Number = Math.floor(Math.random()*qTotal);
                for (var j:Number=0; j<curNum; j++) {
                    if (randomizedOrder[j] == newNum) {
                        return newNumber(qTotal, curNum);
                return newNum;
            public function generateArray(toNumber : int) : Array {
            var result : Array = [];
            for (var i : int = toNumber; i != 0; i--) {
            result.push(i);
            return result;
            public function shuffle (a:Array,i:int):Array
            {var rndm:int;
            var b:Array = a.slice();
            var c:Array = [];
            while (i) {
            rndm = Math.random() * b.length;
            c.push(b.splice(rndm,1)[0]);
            i--;
            return c;
            //This is how external classes acquire a random number from this class's array
            //(programNum = the question the program wants to ask next, based on sequential order, or user selection)
            internal function getRandomNumber(programNum:Number):Number {
                return randomizedOrder[programNum];

  • Increasing an array and making a drop-down menu

    Hi everyone,
    I would like to do two things:
    1.  After scaning tag IDs from an RFID reader from a serial port and individually entering them into an array (using auto-indexing), I get a n x 1 array (where n is the number of iterations, or rows).  Everytime I scan an entry in, I would like to add two things:  the temperature it was scanned at, and the time it was scanned at.  I am getting the temperature from the serial port, and am getting the time stamp using LabVIEW.  This would then make the array a n x 3 array. 
    2.  The second thing I would like to do may sound simple.  I would like to make the n x 3 array I scanned in a drop-down menu.  It need not have the temperature and time appended to it, but it needs to have the tag IDs.  I am only doing this to convserve space on the PDA screen. 
    I am attaching a sample file of what I am currently working on.  The "Read String" field represents the tag ID's i'll be reading.  It'll be in ASCII.
    I'll appreciate any help
    Thank you!
    Amal Patel
    Attachments:
    string stuff.vi ‏13 KB

    1. Simply make a 1D array of your 3 elements first (using "built array" with three inputs) inside the loop, then make it into a 2D array (e.g. at the loop boundary using autoindexing. You can also built it after the loop as in the image below.
    2. Actually, you're not getting a "n x 1" 2D array, but a simple 1D aray of size N. You could for example feed it to a "strings[]" property of a ring control.
    Message Edited by altenbach on 10-29-2006 08:35 AM
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    StringArray.png ‏4 KB

  • Adding .class files to your project and making them work.

    Ok, im fairly new to java and having trouble understanding how to make importing of .class files work. Im using eclipse 3.2
    I have the files in a directory and I have gone to project->properties->java build path->libraries->add external class folder and pointed it to the correct place.
    Now, I am trying to use some of the classes it provides. I get no errors when creating the object with this code:
    com.ECS.client.jax.ItemSearchRequest itemRequest = new com.ECS.client.jax.ItemSearchRequest();
    Before I did the add external class folder that code would error cause it didnt know what com.ECS was. Now it works fine. My problem is that when I try to use a class, it does not recognize it as a class. After doing the above code I have:
    itemRequest.setSearchIndex("Books");
    its giving me an error on the period, saying: "Syntax error on token(s), misplaced construct(s)". Its not seeing that it is a class, so I can't use it. But when I am creating the object I get no errors. For reference, here is the chunk of code:
    com.ECS.client.jax.ItemSearchRequest itemRequest = new com.ECS.client.jax.ItemSearchRequest();
    itemRequest.setSearchIndex("Books");
    the second line of which errors. So my question is, how do I get it to recognize that the itemRequest is a class when I have imported the .class files to my project already?

    It's working fine. It's just that you have to put your code in a method.

  • Is there a tutorial for uploading fill- able forms to website and making them submit-table?

    I want to upload a couple of fillable forms (pdf's) to website and allow customers to fill and submit. Is there a tutorial out there for this that someone could point me to? I can't seem to find one that really answers my questions.

    A problem you'll encounter with those types of forms is security when transmitting the data. Obviously, the forms will contain sensitive information, and using email or a non-secure posting to a web server would not be acceptable. I personally would not send such data that way.
    It's possible to set up the form and web server so that the data is submitted securely. If your web server can handle that, it would be the best way to go. You would have to somehow program the web server to manage it all. Now I'm being vague, but that's because there are a lot of details to consider.

  • Spawning Objects to Stage and making them move a certain distance in a given direction.

    Here is my code:
    function createEnemy(event:TimerEvent):void
                    var enemyAppear = new MovieClip;
                    enemyAppear = new Enemy();
                    enemyAppear.x = Math.random()*stage.stageWidth;
                    enemyAppear.y = 285;
                    enemyStorage.addChild(enemyAppear);
                    //Removes Enemy From Stage and adds a point to scoreboard
                    stage.addEventListener(MouseEvent.CLICK, clickEnemy);
                    function clickEnemy(event:MouseEvent):void
                    if(cursor.hitTestObject(enemyAppear))
                            enemyAppear.parent.removeChild(enemyAppear);
                            stage.removeEventListener(MouseEvent.CLICK, clickEnemy);
                            score++
                            messageDisplay.text = String(score);
    What I am trying to do is spawn a enemy to stage and when it appears on the stage I would like it to move across the stage a certain distance.
    Visual Example:
    O = enemy,   X = original position, Y = new position
    O (Spawns @ Location X)   X ---------------------------------------------------------> Y ( Moved from location X to Location Y)
    Any help would be appreciated.
    Thanks Casey

    You can start by trying the built-in Tween class, and if you're happy with getting that working the way you want, you can consider moving on to a third party tweening class such as TweenLite...
    import fl.transitions.Tween;
    var certainDistance:Number = 200;
    var moveTime:Number = 2; // seconds
    function createEnemy(event:TimerEvent):void
                    var enemyAppear = new Enemy();
                    enemyAppear.x = Math.random()*stage.stageWidth;
                    enemyAppear.y = 285;
                    enemyStorage.addChild(enemyAppear);
                    //Removes Enemy From Stage and adds a point to scoreboard
                    stage.addEventListener(MouseEvent.CLICK, clickEnemy);
                     var tweenX:Tween = new Tween(enemyAppear, "x", null, enemyAppear.x, enemyAppear.x+certainDistance, moveTime, true);// tween out
                    function clickEnemy(event:MouseEvent):void
                    if(cursor.hitTestObject(enemyAppear))
                            enemyAppear.parent.removeChild(enemyAppear);
                            stage.removeEventListener(MouseEvent.CLICK, clickEnemy);
                            score++
                            //messageDisplay.text = String(score);

  • How to save data in a 4D array and make partial plots in real time?

    Hi, this is a little complex, so bear with me...
    I have a test system that tests a number of parts at the same time. The
    experiment I do consists of measuring a number of properties of the
    parts at various temperatures and voltages. I want to save all the
    measured data in a 4-dimensional array. The indices represent,
    respectively, temperature, voltage, part, property.
    The way the experiment is done, I first do a loop in temperature, then
    in voltage, then switch the part. At this point, I measure all the
    properties for that condition and part and want to add them as a 1D
    array to the 4D array.
    At the same time, I want to make a multiple plot (on an XY graph) of
    one selected property and part (using two pull-down selectors near the
    XY graph) vs. voltage. (The reason I need to use an XY graph and not a
    waveform graph, which would be easier, is that I do not have
    equidistant steps in voltage, although all the voltage values I step
    through are the same for all cases). The multiple plots are the data
    sets at different temperatures. I would like to draw connection lines
    between the points as a guide to the eye.
    I also want the plot to be updated in the innermost for loop in real
    time as the data are measured. I have a VI working using nested loops
    as described above and passing the 4D array through shift registers,
    starting with an array of the right dimensions initialized by zeroes. I
    know in advance how many times all the loops have to be executed, and I
    use the ReplaceArraySubset function to add the measured properties each
    time. I then use IndexArray with the part and property index terminals
    wired to extract the 2D array containing the data I want to plot. After
    some transformation to combine these data with an array of the voltage
    values in the form required to pass to the XYGraph control, I get my
    plot.
    The problem is: During program execution, when only partial data is
    available, all the zero elements in the array do not allow the graph to
    autoscale properly, and the lines between the points make little sense
    when they jump to zero.
    Here is how I think the problem could be solved:
    1. Start with an empty array and have the array grow gradually as the
    elements are measured. I tried to implement this using Insert Into
    Array. Unfortunately, this VI is not as flexible as the Replace Array
    Subset, and does not allow me to add a 1D array to a 4D array. One
    other option would be to use the Build Array, but I could not figure
    out if this is usable in this case.
    2. The second option would be to extract only the already measured data
    points from the 4D array and pass them to the graph
    3. Keep track of the min. and max. values (only when they are different
    from zero) and manually reset the graph Y axis scale each time.
    Option 3 is doable, but more work for me.....
    Option 2: I first tried to use Array Subset, but this always returns an
    array of the same dimensionality of the input array. It seems to be
    very difficult, but maybe not impossible, to make this work by using
    Index Array first followed by Array Subset. Option 3 seems easier.
    Ideally, I would like option 1, but I cannot figure out how to achieve
    this.
    Your help is appreciated, thanks in advance!
    germ Remove "nospam" to reply

    In article <[email protected]>,
    chutla wrote:
    > Greetings!
    >
    > You can use any of the 3D display vi's to show your "main" 3d
    > data, and then use color to represent your fourth dimension. This can
    > be accessed via the property node. You will have to set thresholds
    > for each color you use, which is quite simple using the comparison
    > functions. As far as the data is concerned, the fourth dimension will
    > be just another vector (column) in your data file.
    chutla, thanks for your post, but I don't want a 3D display of the
    data....
    > Also, check out
    > the BUFFER examples for how to separate out "running" data in real
    > time.
    Not clear to me what you mean, but will c
    heck the BUFFER examples.
    > As far as autoscaling is concerned, you might have to disable
    > it, or alternatively, you could force a couple of "dummy" points into
    > your data which represent the absolute min/max you should encounter.
    > Autoscaling should generally be regarded as a default mode, just to
    > get things rolling, it should not be relied on too heavily for serious
    > data acquisition. It's better to use well-conditioned data, or some
    > other means, such as a logarithmic scale, to allow access to all your
    > possible data points.
    I love autoscaling, that's the way it should be.
    germ Remove "nospam" to reply

  • Saving 3 sets of data in 3 seperate arraylist and passing them to next view

    Hai all,
    I am using tree.The user  has selected the required products in level 3 of tree.Iam getting all the parents of selected product.In order to save them in database i need to send them to next view.how to store all the 3 levels in seperate arrays and pass them to next view.Plz help me with coding.Any suggesstions and help with regard to this will be greatly appreciated.
    Thanks n Regards
    Sharanya.R

    I am using tree.The user has selected the required products in level 3 of tree.Iam getting all the parents of selected product.In order to save them in database i need to send them to next view.how to store all the 3 levels in seperate arrays and pass them to next view.Plz help me with coding.Any suggesstions and help with regard to this will be greatly appreciated.
    hi,
    1. just collect all the values and concatinate using Strings, also use one delimiter between each value.
    like this,
    while(condition){
    String Result ="";
    Result += wdContext.currentTreeNode().getName() + "," ;}
    2. Finally assign this String to some Context, that you want to use in next view.
    3. Use StringTokenizer Class, make Result String as Source and comma as delimeter, then you can able to get list of
    previously stored values.

  • Completely messed up Raid-Array and Partition! How to delete and create new Raid-Array​?

    Hello,
    I am using Ideapad U310 and tried to clean install Windows 8 and use my SSD as CACHE and Hibernate-Partition.
    So, I was able to get to the Intel CTRL+I-RAID Config Menu and there I was able to create and delete my RAIDS.
    Unfortunately I did not setup the Partition Size correctly, thus I only have a 50 GB Partition combined with my SSD and my HDD. This is what it looks like in the Intel Storage Manager:
    As you can see both, my SSD and HDD appears, but only have small partitions on the right. And Windows 8 only recognizes this small partitions, as you can see here:
    And now I am NOT able to get to the Intel RAID CTRL+I-menu before Windows starts, where I could delete this array.
    My Partitions are "empty", so I dont care if anything is delete. I just want to use raid with FULL CAPACITY of my harddrives. But how can I delete the RAID Arrays and reconfigure them correctly?
    When I change in the BIOS from RAID to AHCI I am able to install Windows 8 again with the whol CAPACITY of my SSD and HDD. But then I will not be able to use the RAID via Intel Storage Manager...
    Hopefully someone could help me.
    Thank you in advance.

    Hi
    Please see this thread
    http://forums.lenovo.com/t5/IdeaPad-Y-U-V-Z-and-P-​series/The-Guide-on-How-To-Reformat-Repartition-AN​...
    Hope this helps
    Ishaan Ideapad Y560(i3 330m), Hp Elitebook 8460p!(i5-2520M) Hp Pavilion n208tx(i5-4200u)
    If you think a post helped you, then you can give Kudos to the post by pressing the Star on the left of the post. If you think a post solved your problem, then mark it as a solution so that others having the same problem can refer to it.

  • Why is iMessage taking my incoming emails and then not making them available for my PC to get?  Why can I not send a text msg with photos when iMessage is turned off (but MMS is still on).

    Apple is great!
    Why is iMessage taking my incoming emails and then not making them available for my PC to get?  Why can I not send a text msg with photos when iMessage is turned off (but MMS is still on).
    I compose an iMessage with the destination as my email address and I attach 2 photos I want on my PC.  I send them several times from my iPhone 5C but they never arrive. I look at my ipad later and realize that it's iMessage app is getting ( and swallowing) these emails. I then turn the ipad off.  Still can't get the photos through because iphone is now getting them on it's iMessage.  I turn off the iMessage feature and try to send photos from text msging.  Phone tells me it can't send photos unless iMessage it turned on.  What happened to regular MMS text messaging?  I go and try to send photos as an email attachment and see that there is no option to attach from the stupid email program.  I look up online to learn about the brave new world of apple attachments and send them.
    Why is iMessage taking my incoming emails and then not making them available for my PC to get?
    The email program on my iphone is not configured to remove messages from the server.
    If iMessage is turned off I don't have the issue.
    Why can I not send a text msg with photos when iMessage is turned off (but MMS is still on).

    Did not work. I've selected iMessage to ON and left it. After a few hours I recieved a message "activation unsuccessful. Turn on iMessage to try again". This has been going on for the past 3 days.

  • How to Declare Arrays in bpel and use them as acollection

    Hi,
    I Am new to Bpel, I had created an empty Bpel Process and configured file adapter to a directory, In my text file i have 3 records with four columns, each column seperated by ',' and each record seperated by "EOL(end of line)", Below is the xsd file generated by the native format xsd builder, taken a recieve activity to recieve the contents of file from file adapter.
    So all the data which is in the file will be there in recieve activity.
    FileContents
    55555,rgfdgsd,gfdgfdg,23
    66666,retretret,trtertg,21
    77777,rtrttreter,trtter,23
    My Question is
    I want to compare whether value of C1 = '55555' and if the value is equal to 55555 then that record with c1=55555 has to be inserted into database by using Arrays
    How to compare the value of c1 through bpel functions.
    with java i have to use the logic similar to this by using Xpath
    getElement by tagname(c1);- it will give all the elements with tagname c1, three records are there with tagname c1 (c1=55555,c1=66666,c1=77777), we have to iterate through the elemnts and check whether the value iof c1='55555' and get the whole parent block which contains values of c1,c2,c3,c4 and insert that to database
    What variables we have to use to get the Similar logic in bpel
    <?xml version="1.0" encoding="UTF-8" ?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:nxsd="http://xmlns.oracle.com/pcbpel/nxsd"
    targetNamespace="http://TargetNamespace.com/FileAdapter"
    xmlns:tns="http://TargetNamespace.com/FileAdapter"
    elementFormDefault="qualified"
    attributeFormDefault="unqualified" nxsd:encoding="ASCII" nxsd:stream="chars" nxsd:version="NXSD">
    <xsd:element name="Associates">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="Associate" minOccurs="1" maxOccurs="unbounded">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="C1" type="xsd:double" nxsd:style="terminated" nxsd:terminatedBy="," nxsd:quotedBy="&quot;">
    </xsd:element>
    <xsd:element name="C2" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy="," nxsd:quotedBy="&quot;">
    </xsd:element>
    <xsd:element name="C3" type="xsd:string" nxsd:style="terminated" nxsd:terminatedBy="," nxsd:quotedBy="&quot;">
    </xsd:element>
    <xsd:element name="C4" type="xsd:double" nxsd:style="terminated" nxsd:terminatedBy="${eol}" nxsd:quotedBy="&quot;">
    </xsd:element>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:schema>
    I want to do it by using Arrays,
    Please post the step by step procedure like
    How to declare an Array?
    How to iterate the results in recieve acticity of file adapter and put them to array?
    How to compare the values in array with our desired value?
    Please Look into this and suggest me the solution.
    Regards

    I think it is a good option to use transformations. Do you have any critical reason why you want to do this using array?
    Little explanation below for your questions.
    As per my understanding from variable is the recieve activity variable and to variable is the Array variable is it right?
    Yes. Here I was try to build my array from the different source system data. This will append data to the array variable.
    How can we declare an array variable in bpel(to variable) with name as Variable_Array, part as payload and query as ArrayList?
    *Any element that can hold another element can be a array.
    For example if element A is declared as sequence of element B type, then A acts as a array for B*
    Could you please explain this also, what is from variable? and what is to variable?
    +<assign name="Assign_XPath_For_Array">+
    +<copy><from expression="concat('/ns1:ArrayList/ns2:ArrayElem') "/><to variable="Variable_Xpath"/></copy>+
    +</assign>+
    what is the type of to variable "Variable_Xpath"(String or int etc)?
    This creates a dynamic Xpath and store in some variable here. Here the variable is called Variable_Xpath which is a string
    similarly what is the type of to variable?
    +<assign name="Assign_Read_Array">+
    +<copy>+
    +<from expression="bpws:getVariableData('Variable_Array','payload',bpws:getVariableData('Variable_Xpath'))"/>+
    +<to variable="Variable_Read_Array_Element" query="/ns1: ABC"/>+
    +</copy>+
    +</assign>+
    To variable type is the variable that I read from the Array.
    *For example if A is the array holding B, then the to variable is B and from is doing A[counter]*
    Every Little Helps
    Kalidass Mookkaiah
    http://oraclebpelindepth.blogspot.com/

  • I am making a reel. How do I take clips from past DVDs Ive made and place them into Final Cut 4.0?

    Anyone answering,
    I am making a reel to show businesses what kind of work I can do. I am trying to take clips from past projects I have finished and place those clips in FCXpress 4.0. How do I go about doing this? Any advice on how I can do this will be a tremendous help for me.
    Thank you for your time!!

    Hi Jeremy,
    You will have to convert the DVD video to QuickTime using either Apple DV or Apple Intermediate Codec.
    Most people in this forum seem to use MPEG Streamclip to do this.  I have used it a lot it and it works great.
    Note that in addition to MPEG Streamclip (which is free), you will need the QuickTime MPEG2 Playback Component if you do not already have it on your Mac.  It is available from the Apple Online Store for $19.  This needs to be on your Mac in order for MPEG Streamclip to be able to convert the MPEG2 video that is on your DVDs.
    If it were me, and the video is standard 4:3 aspect ratio, I would probably convert it to QuickTime/DV; if widescreen 16:9  then I would probably convert it to QuickTime/Apple Intermediate Codec instead.
    After converting the video, select  an appropriate FCE Easy Setup to match how you converted the video in MPEG Streamclip.  Then import the converted file(s) and edit them into a new sequence.

  • Taking pieces of a signal and putting them in an array

    Lets say I have a square wave in a large array (1X#samples). I want to
    put the values of each positive part of the square wave into an array
    such that its size is #positivepulses X #samplesperpulse. The only
    thing that I know for certain about the square wave is that the
    non-positive parts of the signal are zero.
    Any suggestions for how I might achieve this?
    Sent via Deja.com http://www.deja.com/
    Share what you know. Learn what you don't.

    use the java.util.Scanner class.
    read in the file. loop through the lines to get the numbers and put them into an array and/or add them.
    this is something you could have easily looked up on your own. if not in google, then definitely within these forums.

Maybe you are looking for

  • Error in opening PDF.

    Hello Experts, I have created one smartforms which containt some terms and condition which i want to send as a pdf to set of people. Now i am able to send the smartform as PDF . But when i am trying to open the PDF its shows me some error like 'PDF f

  • Helo i have doubt in delivery

    see i am an abaper when our sd consultant is creating he is getting the error as delivery cant be made you cannot add this item to the delivery you can control the adding of the data in deliveries by delivery type in customizing.plz do help

  • Passing Array from Class to JSP

    Hoi all, I am using MyEclipse Tomcat 4.1 and MySql I am trying to pass a 2D array from my struts framework action class to the forwarding action JSP. the Array is filled correctly, I check that by printing the values of the array as they are filled b

  • How do i get rid of the Yahoo toolbar?

    Aster using Firefox for the last two years, I had to uninstall and reinstall it after downloading the latest version. Surprise, there is the ever-present Yahoo toolbar following me everyplace I go like a faithful dog. How do I get rid of it and use G

  • Change Icon on .doc

    I have gone through the correct procedure to have all the Microsoft Word documents on my Mac open with PAGES and it works correctly however they no longer show the Word icon but show a generic blank icon w/the file. I've turned off the computer and r