Calling a function in a swf with TLFTextField from an external program fails

I have a program A that loads another swf B, and after B is loaded, A will call a function of B.  It used to work when B creates a TextField and uses TextFormat, but when I changed to creating a TLFTextField, I got this error:
Reference Error: Error #1069:  Property loadCurrentPictureFromMenu not found on ECard__Preloader__ and there is no default value.
at ECard/swfLoadCompleteEventHandler()....
And also
Warning: Ignoring 'secure' attribute in policy file from http://fpdownload.adobe.com/pub/swz/crossdomain.xml.  The secure attribute is only permitted in HTTPS and socket policy files......
So I wrote these 2 programs to test this:
----------------------- Test B -------------------------
import fl.text.TLFTextField;
import flashx.textLayout.formats.TextLayoutFormat;
import flashx.textLayout.elements.TextFlow;
var myFormat:TextLayoutFormat = new TextLayoutFormat();
myFormat.fontFamily = "Kids";
myFormat.fontSize = 24;
var tlfTextField:TLFTextField = new TLFTextField();
tlfTextField.x = 50;
tlfTextField.y = 50;
addChild(tlfTextField);
var myTextFlow:TextFlow = tlfTextField.textFlow;
myTextFlow.hostFormat = myFormat;
myTextFlow.flowComposer.updateAllControllers();
tlfTextField.text = "Testing this";
function changeText(string:String):void
     tlfTextField.text = string;
---------------------- Test A -----------------------------------
import flash.net.URLRequest;
import flash.display.Loader;
import flash.display.MovieClip;
var urlRequest:URLRequest = new URLRequest("testTLFTextField.swf");
var loader:Loader = new Loader();
loader.load(urlRequest);
loader.contentLoaderInfo.addEventListener(Event.COMPLETE, loadingCompleteEventHandler);
function loadingCompleteEventHandler(evt:Event):void
     addChild(loader);
     loader.contentLoaderInfo.removeEventListener(Event.COMPLETE, loadingCompleteEventHandler);
     var mc:MovieClip = evt.currentTarget.content;
     mc.changeText("We are here");
I got Error #1069 again, but when I changed TLFTextField back to TextField, it works again.  Test A can now find the function "changeText()" in Test B.
I am using CS5.5.
Any help is appreciated!
Thanks in advance!

I had this written in the program and commented it out when I was trying to debug an earlier problem.  I uncommented the Embed statement, but it is still not working on Android.  Running on PC is fine.  I will try out a few more things, if it still does not work, I will open a new thread.
Thanks all for your help!

Similar Messages

  • Exist RFC Function or Bapi for insert Records form a external program?

    i create a Ztable same as tell me here:
    http://abaplovers.blogspot.com/2008/02/creating-table-in-sap.html
    5 String Fileds 2 Date Fields 2 Numeric Fields
    my question is exist a RFC Function or Bapi for insert Records form a external program (Delphi/Visual Basic)?
    Any advices?
    Thanks.

    hi madhurao123 thanks for answer.
    But Why block the Thread?
    This question is no so basic, yet never learn, the forum must be open to these questions maybe open a forum somewhere basic but must be able to do these basic questions.
    IT Toolbox commented the same thing, but if not here or ITtoolbox or where else can ask basic questions?
    Advise me, thank you.

  • Calling a function in another .swf, possible?

    I have two movies... main.swf and content.swf, and I'm trying to call a function in my main.swf from my content.swf. Here is the code..
    //function in main.swf
    function appear (event:MouseEvent):void{
         TweenLite.to(title1, 1, {autoAlpha:1, overwrite:false});
    //try to call from loaded content.swf
    close_btn.addEventListener(MouseEvent.CLICK, btnClick);
    function btnClick(event:MouseEvent):void {
         MovieClip(parent.parent).appear();
    I got an error message as soon as i click on close_btn. It says appear() is not a property or method.
    Would someone help me out on this please?
    Thank you very much.

    I think it is not a good OOP design. It is much better to design applications in a such way that they do not depend on placements (especially parents). Particularly, if your application acts as a component that can be consumed in some unpredictable fashion. Theoretically, if you write something that will become a stand alone swf - it should perform with no errors both as stand-alone and when loaded.
    You are already dealing with the results of this design flow. The most cumbersome and inflexible aspect of your approach is to capture parents chain.
    In your case I would totally dissociate you loaded swf from the placement and couple it with the parent via events.
    The best way would be for your loaded swf to dispatch and event that is consequently captured by it parent(s) no matter, again, where it is placed. For instance it can be done the following way:
    // in your top movie
    // say the loaded swf is set to a variable:
    import flash.display.MovieClip;
    import flash.events.Event;
    var loadedSWF:MovieClip;
    // your loading routine
    // once it is loaded
    // note that capture is set to true so that
    // no matter depth of event origination
    // it will be captured by this scope
    loadedSWF.addEventListener("close", onCloseClick, true);
    function onCloseClick(e:Event):void {
         // do whatever
    // IN YOUR LOADED SWF
    close_btn.addEventListener(MouseEvent.CLICK, btnClick);
    function btnClick(event:MouseEvent):void {
        // dispatch event
         dispatchEvent(new Event("close"));

  • Calling javascript function to open SWF

    When the Captivate presentation ends, I'm trying to open
    another SWF in the same browser window.
    I have put the following code in the HTML document:
    <script type="text/javascript">
    <!--
    function changeMovie(filename)
    document.getElementById('Captivate1').movie=filename;
    alert(document.getElementById('Captivate1').movie);
    //-->
    </script>
    I am able to call the function from the Captivate file
    successfully because the alert window pops up with the name of the
    movie. I just can't get it to play. Can anyone help me on this?
    Not to be rude or anything, but I should note that:
    1) this is not my idea--it is my boss' idea, and any attempts
    to tell me that this is something not worth doing will
    unfortunately fall, not on deaf ears, but on ears connected to
    hands that have no freedom to choose how this project is completed.
    This is my master's bidding, and I must do what he says.
    2) I know very little JavaScript. This code was given to me
    by another guy on the project. So if you have advice for changing
    the code, please be as specific as possible.
    I would be very grateful for any help that you can
    offer.

    Two non javascript methods:
    Movie End Options -> Action ->> Open URL or file
    Button -> On Success ->> Open URL or file
    A method to load a new movie without completly reloading the
    page.
    1. Create two 200x200 movies - m1 and m2 - add some content.
    2. Create a button in m1 set Exectue Javascript ->>
    loadMovie('m2.htm');
    3. Publish html and swfs to the same folder.
    4. Open m1.htm and replace all the code with the following
    (up to and including </html>):
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html;
    charset=utf-8">
    <title>m1</title>
    <script type="text/javascript">
    var xmlHttp
    function loadMovie(url)
    xmlHttp=GetXmlHttpObject();
    if (xmlHttp==null)
    alert ("Browser does not support HTTP Request")
    return
    xmlHttp.onreadystatechange=stateChanged
    xmlHttp.open("GET",url,true)
    xmlHttp.send(null)
    function stateChanged()
    if (xmlHttp.readyState==4 || xmlHttp.readyState=="complete")
    document.getElementById("movieContainer").innerHTML=xmlHttp.responseText
    function GetXmlHttpObject()
    var objXMLHttp=null
    if (window.XMLHttpRequest)
    objXMLHttp=new XMLHttpRequest()
    else if (window.ActiveXObject)
    objXMLHttp=new ActiveXObject("Microsoft.XMLHTTP")
    return objXMLHttp
    </script>
    </head>
    <body>
    <div id="movieContainer">
    <!-- captivate generated code -->
    <object
    classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="
    http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"
    width="200" height="200" id="Captivate1" align="middle">
    <param name="allowScriptAccess" value="sameDomain">
    <param name="movie" value="m1.swf">
    <param name="quality" value="high">
    <param name="menu" value="false">
    <param name="loop" value="0">
    <param name="bgcolor" value="#f3f3f3">
    <embed src="m1.swf" name="Captivate1" quality="high"
    bgcolor="#f3f3f3" width="200" height="200" name="menu"
    align="middle" allowScriptAccess="sameDomain" loop="0"
    type="application/x-shockwave-flash" menu="false" pluginspage="
    http://www.macromedia.com/go/getflashplayer">
    </object>
    <!-- end Captivate code -->
    </div>
    </body>
    </html>
    5. Open m2.htm and replace the code with the following:
    <!-- Captivate generated code -->
    <object
    classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="
    http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"
    width="200" height="200" id="Captivate1" align="middle">
    <param name="allowScriptAccess" value="sameDomain">
    <param name="movie" value="m2.swf">
    <param name="quality" value="high">
    <param name="menu" value="false">
    <param name="loop" value="0">
    <param name="bgcolor" value="#f3f3f3">
    <embed src="m2.swf" name="Captivate1" quality="high"
    bgcolor="#f3f3f3" width="200" height="200" name="menu"
    align="middle" allowScriptAccess="sameDomain" loop="0"
    type="application/x-shockwave-flash" menu="false" pluginspage="
    http://www.macromedia.com/go/getflashplayer">
    </object>
    <!-- end Captivate generated code -->
    6. Open m1.htm in you browser, click the button to load m2
    How it works:
    Simply put AJAX lets you load parts of an html file in the
    current window. The code to be replaced is within the div
    id="movieContainer". The code in the file you want to load should
    be only the code you need, not an entire HTML file.
    Call it from Captivate with loadMovie('URL') where URL is the
    name of the html file.

  • How can i call a function of a swf-file which is embedded as a Resource in 3D-Annotation?

    Hi.
    I use a Flash-menu as an embedded *.swf in a 3D-Annotation. Now i want to trigger one of the ActionScript-Function out of the 3D-Annotation.
    How can i get access to that function?
    Cause of it is embedded, the callAS() Methods still not possible. But how else can i do that?
    Can u give me a simple example? How is the usability of Flashvariable in the Ressource-Tab of 3d-Annotation?
    Kind regards
    Florian

    It depends to some extent on how your SWF has been bound to the 3D scene. If you have bound it using a script, then you have a FlashMovie object that has a .call() method - but if you've attached it to something using the binding option on the Resources panel you will need to collect a reference first. If you know you are going to talk to the SWF it's best to bind it using JavaScript.
    Let us assume you have a SWF in the resources collection but it's not bound to anything. In the 3D scene there is an object called 'cube' on which the SWF must appear as a material, and the SWF has declared a function to the ExternalInterface engine that is called "myFunction", which expects a string as a variable. Here's what you would put in the script attached to the 3D scene:
    var fm = new FlashMovie("demo.swf");
    var matl = scene.meshes.getByName("cube").material;
    matl.useFlashMovie(fm);
    fm.call("myFunction","hello");
    The call() method is strictly typed - for example if your AS function expects a boolean and you sent it a string, it will not execute. There is also a limit on the possible returned variables - e.g. you cannot send back an Object.
    Note that commands sent in the other direction using ActionScript's ExternalInterface.call() method are targeted at  document-level by default, not at the 3D API - so if your AS is trying to call something it must exist as a document-level JavaScript function. It is possible to divert this traffic into the 3D API using the FlashEventHandler object, but it gets complicated as your code must implement XML encoding of the traffic - this is done automatically by the document-level script but not by the 3D API.
    To answer your second question, in the resources dialog you can define the FlashVars string which is passed to the SWF when it loads - this is the same URL-encoded set of variables that you would send to a SWF when embedding it in an HTML page. It's a static string; you cannot read or edit it with JavaScript but this means it will still work if the user disables the JavaScript engine.

  • Problem:  Unable to call a function in parent swf from the child swf.

    I am working on a site right now that has a parent loader
    (all it contains are the menu bar [which is as3 tweened] and the
    functions for calling all of the other pages.) The problem that I
    am having right now, are some of the internal or child pages, need
    to call functions that are in the parent loader. For what ever
    reason, I am unable to do any of that.
    I have attached the code so you can look at that.
    Let me see if I can explain it any better.
    The code I just posted is for the Main Stage swf called
    loader.swf. It has the menu, and all the functions that control the
    menu's movement and when to load all the other swfs. The easiest
    way for me to ask this, is to show you.
    click
    http://dev.locallinux.com/mystictan/layout2.html
    When you get there, you will see the menu bar, and it is
    loading home.swf onto the stage behind the menu.
    Mouse over "The Perfect Tan" and click on "1: Base"
    You will notice it just loaded a new swf called ptbase.swf.
    Well in that swf is a button for "Products" That button
    basically needs to take you to "Products > 1: Base" on the menu
    (not working yet, I know. But theres no point in me making that,
    until I could get this working"
    What I would like is when you click on "Products" in
    ptbase.swf, it calls the function clickedProductsBase(), which does
    its thing. But that function is back in the loader.swf. Does that
    make sence?
    What am I missing here?

    RyanORo, thank you very much for your response.
    I try that, and I get this sort of error when I click on it:
    TypeError: Error #1006: fwd is not a function.
    at ptbase_fla::MainTimeline/testing()
    I know all that code that I posted was a bith much, but here
    is the movie loading part:
    function loadComplete(event:Event):void
    loaderbar.visible = false;
    mainbody.removeChild(thisMC);
    thisMC = MovieClip(myloader.content);
    myloader.unload();
    mainbody.addChild(thisMC);
    thisMC.gotoAndStop(1);
    TransitionManager.start(thisMC, {type:Fade,
    direction:Transition.IN, duration:5, easing:Strong.easeOut});
    mainbody is an empty mc under the menu, so that the loaded
    swf file appears under the menu.
    You know what, scratch all that . *MOOWHA* I could KISS you
    right now. "(parent as MovieClip).clickedProductsBase()" did not
    work because it was calling it out of the wrong parent. Just did
    "(this.parent.parent as MovieClip).clickedProductsBase()" and that
    did the magic I needed. Thanks...

  • Why can't I call the function in the swf from the javascript?

    Hello,
    I have an html file that calls the function in swf file. In the swf file, I registered the function to be called using ExternalInterface.addCallback, as the book says.
    And I put this swf file in the html file using <object> tag and attempted to call the function using this object's id attribute.
    But every time to run this file, what I see is the error message such as "test1.show is not a function".
    Why is it?
    Please anyone help me. I am enclosing my work file. It's very simple one.
    Thank you.
    Daniel.

    It is entirely possible your college has decided to block certain websites. It's easy to do.

  • How to call a function of an swf?

    Hi, I have on my main timeline an uiloader which loads another swf file.
    Now I want to access a function of this swf when the uiloader unloads, how can I do that?
    Thanks.

    Look at the UILoader's content property in the help documentation.  Check out all of its properties, methods, and events while you're at it to become more familiar with it.

  • Calling Stored Procedure with parameters from a C program

    Hello, I need to call a PL/SQL stored procedure from a C program.
    Something like this sample program provided by Oracle -
    main()
    int i;
    EXEC SQL BEGIN DECLARE SECTION;
    */* Define type for null-terminated strings. */*
    EXEC SQL TYPE asciz IS STRING(20);
    asciz  username[20];
    asciz  password[20];
    int    dept_no;    / which department to query */*
    char   emp_name[10][21];
    char   job[10][21];
    EXEC SQL VAR emp_name is STRING (21);
    EXEC SQL VAR job is STRING (21);
    float  salary[10];
    int    done_flag;
    int    array_size;
    int    num_ret;    / number of rows returned */*
    int    SQLCODE;
    EXEC SQL END DECLARE SECTION;
    */* Connect to Oracle. */*
    strcpy(username, "SCOTT");
    strcpy(password, "TIGER");
    EXEC SQL WHENEVER SQLERROR DO sqlerror();
    EXEC SQL CONNECT :username IDENTIFIED BY :password;
    printf("Enter department number: ");
    scanf("%d", &dept_no);
    fflush(stdin);
    */* Set the array size. */*
    array_size = 10;
    done_flag = 0;
    num_ret = 0;
    */* Array fetch loop - ends when NOT FOUND becomes true. */*
    EXEC SQL EXECUTE
    BEGIN personnel.get_employees
    *(:dept_no, :array_size, :num_ret, :done_flag,*
    *:emp_name, :job, :salary);*
    END;
    END-EXEC;
    The question is - how is the Stored procedure get_employees declared ? Or more specifically, how is the salary parameter declared in get_employees ? Any help is highly appreciated.

    Hope following will help
    NOTE: Not tested
    Calling a stored procedure
    This program connects to ORACLE using the SCOTT/TIGER
    account. The program declares several host arrays, then
    calls a PL/SQL stored procedure (GET_EMPLOYEES in the
    CALLDEMO package) that fills the table OUT parameters. The
    PL/SQL procedure returns up to ASIZE values.
    It keeps calling GET_EMPLOYEES, getting ASIZE arrays
    each time, and printing the values, until all rows have been
    retrieved. GET_EMPLOYEES sets the done_flag to indicate "no
    more data."
    #include <stdio.h>
    #include <string.h>
    EXEC SQL INCLUDE sqlca.h;
    typedef char asciz[20];
    typedef char vc2_arr[11];
    EXEC SQL BEGIN DECLARE SECTION;
    /* User-defined type for null-terminated strings */
    EXEC SQL TYPE asciz IS STRING(20) REFERENCE;
    /* User-defined type for a VARCHAR array element. */
    EXEC SQL TYPE vc2_arr IS VARCHAR2(11) REFERENCE;
    asciz username;
    asciz password;
    int dept_no; /* which department to query? */
    vc2_arr emp_name[10]; /* array of returned names */
    vc2_arr job[10];
    float salary[10];
    int done_flag;
    int array_size;
    int num_ret; /* number of rows returned */
    EXEC SQL END DECLARE SECTION;
    long SQLCODE;
    void print_rows(); /* produces program output */
    void sql_error(); /* handles unrecoverable errors */
    main()
    int i;
    char temp_buf[32];
    /* Connect to ORACLE. */
    EXEC SQL WHENEVER SQLERROR DO sql_error();
    strcpy(username, "scott");
    strcpy(password, "tiger");
    EXEC SQL CONNECT :username IDENTIFIED BY :password;
    printf("\nConnected to ORACLE as user: %s\n\n", username);
    printf("Enter department number: ");
    gets(temp_buf);
    dept_no = atoi(temp_buf);/* Print column headers. */
    printf("\n\n");
    printf("%-10.10s%-10.10s%s\n", "Employee", "Job", "Salary");
    printf("%-10.10s%-10.10s%s\n", "--------", "---", "------");
    /* Set the array size. */
    array_size = 10;
    done_flag = 0;
    num_ret = 0;
    /* Array fetch loop.
    * The loop continues until the OUT parameter done_flag is set.
    * Pass in the department number, and the array size--
    * get names, jobs, and salaries back.
    for (;;)
    EXEC SQL EXECUTE
    BEGIN calldemo.get_employees
    (:dept_no, :array_size, :num_ret, :done_flag,
    :emp_name, :job, :salary);
    END;
    END-EXEC;
    print_rows(num_ret);
    if (done_flag)
    break;
    /* Disconnect from the database. */
    EXEC SQL COMMIT WORK RELEASE;
    exit(0);
    void
    print_rows(n)
    int n;
    int i;
    if (n == 0)
    printf("No rows retrieved.\n");
    return;
    for (i = 0; i < n; i++)
    printf("%10.10s%10.10s%6.2f\n",
    emp_name, job[i], salary[i]);
    /* Handle errors. Exit on any error. */
    void
    sql_error()
    char msg[512];
    int buf_len, msg_len;
    EXEC SQL WHENEVER SQLERROR CONTINUE;
    buf_len = sizeof(msg);
    sqlglm(msg, &buf_len, &msg_len);
    printf("\nORACLE error detected:");
    printf("\n%.*s \n", msg_len, msg);
    EXEC SQL ROLLBACK WORK RELEASE;
    exit(1);
    Remember, the datatype of each actual parameter must be convertible to the datatype of its corresponding formal parameter. Also, before a stored procedure is exited, all OUT formal parameters must be assigned values. Otherwise, the values of corresponding actual parameters are indeterminate.
    SQLCHECK=SEMANTICS is required when using an anonymous PL/SQL block.

  • Tricky: Calling Oracle Function in an Package with DAO over ODBC

    Hello,
    our customer is using Oracle 10.2.0.3 Enterprise Edition. We've to create an interface from our Microsoft Access 2000 application to the oracle system.
    We want to call a Oracle Package-Function with DAO over ODBC.
    We are using VBA with Microsoft Access 2000 SP3.
    The ADO solution that works is:
    Public Function CallSProcADO()
    Dim cmd As ADODB.Command
    Dim cmdWrite As ADODB.Command
    Dim conn As ADODB.Connection
    Dim param As ADODB.Parameter
    On Error GoTo err_handler
    Set conn = New ADODB.Connection
    conn.Open "dsn=xxx;UID=xxx;PWD=xxx;"
    Set cmdWrite = New ADODB.Command
    cmdWrite.ActiveConnection = conn
    cmdWrite.CommandText = "{ ? = call XXX.PACKAGENAME.FUNCTION(?,?)}"
    cmdWrite.Parameters(0).Direction = adParamReturnValue
    cmdWrite.Parameters(0).Type = adInteger
    cmdWrite.Parameters(1).Direction = adParamInput
    cmdWrite.Parameters(1).Type = adVarChar
    cmdWrite.Parameters(1).Value = "C0045/2006"
    cmdWrite.Parameters(2).Direction = adParamInput
    cmdWrite.Parameters(2).Type = adVarChar
    cmdWrite.Parameters(2).Value = "J"
    cmdWrite.Execute
    conn.Close
    MsgBox "Successfull!"
    Exit Function
    err_handler:
    MsgBox "Error!"
    End Function
    Now we want to know if it's possible to use DAO to do the same.
    best regards
    Arndt

    During binding, strings are generally skipped. As such, you should first try replacing XMLType('?') with XMLType(?). You don't need to specify '?' because the system knows the proper type from your SQLBindParameter call.
    Also, you should try replacing:
    sr = SQLBindParameter(hstmt, 3, SQL_PARAM_INPUT, SQL_C_CHAR, SQL_LONGVARCHAR, 0, 0,(SQLPOINTER)3, 0, &type[2]);
    with
    sr = SQLBindParameter(hstmt, 3, SQL_PARAM_INPUT, SQL_C_CHAR, SQL_LONGVARCHAR, 0, 0,(SQLPOINTER)buf, BUFSIZE, &type[2]);

  • Call the Function "Import Items" of Inventory Module by a external java app

    I want call the Import Items Function of inventory from my java application. This function copy the Items from MTL_SYSTEM_ITEMS_INTERFACE into the table that inventory use to manage the Items.
    Do you know how can I do?
    Thanks
    Gabriele

    I want call the Import Items Function of inventory from my java application. This function copy the Items from MTL_SYSTEM_ITEMS_INTERFACE into the table that inventory use to manage the Items.
    Do you know how can I do?
    Thanks
    Gabriele

  • Viewing Pictures with iPhoto from an External Drive

    Hi... My wife and I share the same computer and we both have a lot of photos stored on our machine. My wife has a magnitude of more pictures than I do. I tried to search for this, but I wasn't having any luck finding it. Maybe I wasn't using the correct key words. Anyway......
    Is it possible to save photos imported into iPhoto to an external drive that you can connect to later and view again using iPhoto? Our hard drive is getting loaded down with photos and I would like to have another place to store the photos. Besides, I would like to keep a good copy in our fireproof safe as a backup at the least.
    Thanks,
    Jim

    Yes, you can move a Library to an external drive. Make sure the drive is formatted Mac OS Extended (Journaled) and then
    1. Quit iPhoto
    2. Copy the iPhoto Library from your Pictures Folder to the External Disk.
    3. Hold down the option (or alt) key while launching iPhoto. From the resulting menu select 'Choose Library' and navigate to the new location. From that point on this will be the default location of your library.
    4. Test the library and when you're sure all is well, trash the one on your internal HD to free up space.
    Regards
    TD

  • Currently my internal drive is full due to Aperture. I want to work with Aperture from a external drive verses my internal drive. In addition, I want to back-up my work to another external drive. Is this easily done? Does this make sense? Pros / Cons...

    Currently my internal drive is out of space due to my Aperture files. I want to place Aperture on a external drive to work from verses in intnal drive. In addition, I want to back-up all my work to another external for safe keeping. Once I move aperture to the external, I want to delete it off my internal drive. Does this make sense to do? Pros / Cons....

    It is common for people to move their Aperture, iPhoto, iTunes etc. files to an external drive when those files become too large to conveniently keep on the internal drive.
    The best approach is probably to keep the applications (iPhoto, Aperture etc.) where they are now, but move the files (photos, music, videos etc.) to the external drive.
    You should set up a process to regularly backup all the files from both the internal drive as well as the external drive you'll be using. Here are two approaches:
    (1) Use Time Machine. You can configure Time Machine so that it backs up both the internal drive as well as the external drive, all to a third separate backup drive. This is done via the Options button in the Time Machine preference pane.
    (2) You can use a "cloning" program, such as SuperDuper, Carbon Copy Cloner, to make complete copies of files on your internal drive and that external drive. One way to do this is to use a very large disk for the backups, and to partition it into two backup drives, making one dedicated to the internal, the other dedicated to the external.
    Two separate types of backups are recommended. I use both (1) and (2) above, and I disconnect and shut down the clone type backups when not being used. That way a power failure or surge that might destroy the original disk(s) plus the Time Machine backup(s) would still not damage the backups made under (2).
    Don't delete your original Aperture files until you have verified that they are working properly from the external drive AND you have made a backup of them.

  • Parent swf call function in Child swf not working

    Hi all,
    I'm having a problem with this and I just can't figure it out
    :( (I've been trying different things and staring at it for hours
    and I'm losing my mind...)
    So I have a Parent swf that loads a Child swf (this goes
    without any problems), but I want the Parent to call a function in
    the child, now this is where it goes wrong...
    The function the Parent has to call is named "lookupcar" and
    needs to give the value "wagen" with it. The problem I think is
    that the Parent wants to call the function but it still needs to
    load (correct me if I'm wrong). Is there a way to check if the
    Child swf is loaded completely before trying to call the function?
    Could you give me an example of this please? Or any other
    suggestions on what goes wrong?
    Code in the Parent
    root.inhoud.createEmptyMovieClip("thetext", "thetext",
    this.getNextHighestDepth());
    root.inhoud.thetext.loadMovie("uitrusting-wagenpark.swf");
    root.inhoud.thetext.lookupcar(wagen);
    Code in the Child
    (the function lookupcar)
    _global.lookupcar = function(carnr:String){
    trace("LOOKUPCAR, with car nr: " + carnr);
    Thanks in advance for all the help.

    Perfect....just to make sure i m taking care of it in a nice practical way....here is how i learned to access a file located in Child (researching other posts)
    is this the way you recommend it?
    (LoaderName.content as MovieClip).functionName(new Event("whatever"))
    and in Child File we have
    function functionName(e:Event)
    i have seen other ways of calling a function in Child Swf , like using EmbedSWF and etc. wanna make sure which one is a better practice. Thanks

  • Calling a function in WHEN-BUTTON-PRESSED

    Hello,
    i have in when-button-pressed a line containing
    select pachet_salarizare.ani_vechime(data_min, to_number(to_char(sysdate,'YYYY')), to_number(to_char(sysdate,'MM'))) into ani_vechime from dual;so i call a function which is in pachet_salarizare package (package created in program units, in Forms).
    when compiling, i get: function 'PACHET_SALARIZARE.ANI_VECHIME' mai not be user in SQL.
    how can i deal with this? i need the result of that function in a variabie, ani_vechime.
    Thanks!

    Uh, thank you. i thought it's not possible what i wanted..
    but strange why cannot be called function in select statements
    Regards,

Maybe you are looking for

  • I can't believe I need to use a Windoz machine to put my DVD's on the iPod

    After many fustrating attempts to put DVD's I own on my iPod Video using HandBrake......so fustrating. I just so happen to have a supplied Dell Windoz machine (laptop) that my work supplies to me. I downloaded PQDVD (trial) to convert my DVD's to iPo

  • Can I upgrade from snow leopard to mountain lion without losing my data?

    Have finished an upgrade to snow leopard without losing any data on each of 9 MacBook Pros so far.  (Have 9 more to go) Can I do the mountain lion upgrade on them without losing data or must I back up the detritus of 4 years use by teachers who despi

  • Parked document posting - Budget period screen field error

    Dear Experts We are working on FM BCS, While posting of the parked document through Transaction FBV0 we are getting the below error message. "Field BSEG-BUDGET_PD. does not exist in the screen SAPMF05A 0302 Message no. 00349 Diagnosis The specified f

  • Photoshop CS5 crashes when using certain function

    Hi, I have just downloaded the trial version of Adobe CS5 and it appears to crash when you use specific tools.  Particularly the program crashes when I try to perform a photomerge or view System Info.  There is no exact error message except a generic

  • Installing Dialog Instances with ECC 6.0 and SQL Server 2005

    Hi, I have my ECC 6.0 SAP Server, it is Central Instance, Database instance, all in one. My users are working fine, however we will be adding some new users (15) and we want add a Dialog Instance. Can I add one Dialog instance to my landscape without