How to load a jpg into my movie ???

I want to load an image stored on my pc into my swf file. i
know that i can use the loadMovie() method. but i didnt know how to
enter the url of the target file. For example i have the file in
the following directory - C:\Documents and Settings\Admin\My
Documents\image.jpg - how can i load this file into my movie ???
and THANX...

aha, ok now i have a problem in duplicating nested movie
clips. like if i have made a movieclip using the code (lets name it
OUTSIDE) and another one inside(lets name it INSIDE) it, when i
duplicate the movieclip OUTSIDE the INSIDE one doesnt exist in the
new copy. i think the reason is something related to the depth but
i'm not sure where is the problem. here is an example:
this.createEmptyMovieClip("line",this.getNextHighestDepth());
line.createEmptyMovieClip("lineIn",this.getNextHighestDepth());
line.lineIn.lineStyle(10);
line.lineIn.lineTo(100,100);
line.duplicateMovieClip("line2",this.getNextHighestDepth());
line2._x = 150;
when i duplicate the the movieclip (line), the movieclip
(lineIn) doesnt exist inside the new copy which is (line2)

Similar Messages

  • Load external jpeg into flash movie

    Hi, how do i load external jpeg into flash movie?
    Can someone show me the actionscript? Thanks

    hi, i pasted the code on a mc but it didn't work.
    However, when i put in on frame action, it works.
    However, i realised the image flickered (more like refreshed)
    after afew sec...
    Is this normal? Is it the loop problem? how do i get rid of
    that?

  • How to load image data into cube?? Is it possible??

    How to load image data into cube?? Is it possible??
    Any sugession??

    Hi Andre,
    Document will be of ASCII characters right?? but image data will be in binary format. as per database concept it is stored as binary large object. But in datawarehousing the back end is also going to be some database such as Oracle or other DBs.
    which can take blob's. so it would be possible to store the binary data.
    If any one has faced this situation can reply.to this ques.
    can post the step to load image(jpg/bmp or any image format) data in to info cube??
    hi andre if u have done loading image data as you say.pls reply me if you have the steps with you.
    thanks Andre

  • Step- by- Step on How to Load Excel data into Crystal Reports?

    Hi Friends,
                      Can anyone send me a Step- by- Step on How to Load Excel data into Crystal Reports? Pls help me. Thanks in Advance.
    Vijay

    It's also important to 'prep' the excel file prior to connecting to it.
    Give the data tab a meaningful name
    Make sure the column headers are unique and that every column has a header
    Delete any blank tabs
    If you have trouble with Excel changing the data type of a field (say, a social security number you want to be a string value rather than a number so you don't lose leading zero) an alternative would be to save the spreadsheet file as a CSV, create a schema.ini to specify the data types for each column (example below) and use the same steps to connect except instead of choosing Excel 8.0, scroll to the bottom and choose Text.  You have to make sure the CSV file is in the same folder as the schema.ini file that defines the columns.
    Schema.ini example:
    200912PUSD.csv
    ColNameHeader=True
    Format=CSVDelimited
    MaxScanRows=25
    CharacterSet=OEM
    Col1=SSN Char Width 9
    Col2=LAST_NM Char Width 25
    Col3=FIRST_NM Char Width 25
    Col4=DOB Date
    Col5=STDNT_ID Char Width 10
    Col6=SORTKEY Char Width 10
    Col7=SCHOOL_NM Char Width 30
    Col8=OTHER_ID Integer
    Col9=GRADE Char Width 2
    The filename in the first line needs to have the []  brackets around it, but I couldn't get it to display in this forum correctly.
    Edited by: Eric Petersen on Jan 27, 2010 9:40 AM

  • I created a trailer. I converted it to a project. How  do I get it into my movie?

    I created a trailer. I converted it to a project. How do I get it into my movie project?

    Do you want to ADD it to an existing Project? If so, then you can just Copy/Paste the trailer project onto an existing project. Otherwise, just Share(export as  a QT vid) and import it back into iMovie to add to your other movie. Hope this helps.
    p.s. did you finalize the trailer project?

  • How to load oracle data into SQL SERVER 2000?

    how to load oracle data into SQL SERVER 2000.
    IS THERE ANY UTILITY AVAILABLE?

    Not a concern for an Oracle forum.
    Als no need for SHOUTING.
    Conventional solutions are
    - dump the data to a csv file and load it in Mickeysoft SQL server
    - use Oracle Heterogeneous services
    - use Mickeysoft DTS
    Whatever you prefer.
    Sybrand Bakker
    Senior Oracle DBA

  • *** Question How to load a file into BI-Integrated Planning and use WAD 7.0

    Hi, I created an manual DTP upload to my planning infocube and it works fine.  The transformation rules convert 0CALMONTH into the relevant Calendar and Fiscal characteristics.   So all of my Time Characteristics are fine, both Calendar and Fiscal.
    However, When using the "How to load a file into BI-Integrated Planning and use WAD 7.0" solution, only the Calendar Characteristics are populated and not the Fiscal.   The upload application somehow knows to populate the 0CALMONTH2, 0CALQUART1, 0CALQUARTER, and 0CALYEAR.  
    How can I get the upload to populate my Fiscal Period Characteristics?
    Would it be best to modify the "Upload Application, or can I write a planning function to update the fiscal characteristics, or some other way?
    Thanks!

    My planning data is being uploaded via the SDN Planning File Upload Solution. What I did was end up modifiying the upload class ZCL_RSPLF_FILE_UPLOAD Method EXECUTE.
    I added the following code if anyone is interested.
    *{ INSERT BWDK902323 1
    THIS SECTION OF CODE POPULATES THE FISCAL PERIOD CHARACTERISTICS
    USING THE FISCAL YEAR VARIANT 'NK' AND THE CALENDAR MONTH/YEAR
    FIELD-SYMBOLS <0FISCVARNT> TYPE /BI0/OIFISCVARNT. " Fiscal Year Variant
    FIELD-SYMBOLS <0FISCYEAR> TYPE /BI0/OIFISCYEAR. " Fiscal Year
    FIELD-SYMBOLS <0FISCPER> TYPE /BI0/OIFISCPER. " Fiscal Year/Period
    FIELD-SYMBOLS <0FISCPER3> TYPE /BI0/OIFISCPER3. " Posting Period
    FIELD-SYMBOLS <0CALMONTH> TYPE /BI0/OICALMONTH. " Calendar Month/Year
    ASSIGN COMPONENT '0CALMONTH' OF STRUCTURE <L_S_DATA> TO <0CALMONTH>.
    ASSIGN COMPONENT '0FISCPER' OF STRUCTURE <L_S_DATA> TO <0FISCPER>.
    ASSIGN COMPONENT '0FISCVARNT' OF STRUCTURE <L_S_DATA> TO <0FISCVARNT>.
    ASSIGN COMPONENT '0FISCPER3' OF STRUCTURE <L_S_DATA> TO <0FISCPER3>.
    ASSIGN COMPONENT '0FISCYEAR' OF STRUCTURE <L_S_DATA> TO <0FISCYEAR>.
    <0FISCVARNT> = 'NK'.
    CALL FUNCTION 'FISCPER_FROM_CALMONTH_CALC'
    EXPORTING
    IV_CALMONTH = <0CALMONTH>
    IV_PERIV = <0FISCVARNT>
    IMPORTING
    EV_FISCPER3 = <0FISCPER3>
    EV_FISCPER = <0FISCPER>
    EV_FISCYEAR = <0FISCYEAR>.
    *} INSERT

  • How to load an image into blob in a custom form

    Hi all!
    is there some docs or how to, load am image into a database blob in a custom apps form.
    The general idea is that the user has to browse the local machine find the image, and load the image in a database blob and also in the custom form and then finally saving the image as blob.
    Thanks in advance
    Soni

    If this helps:
    Re: Custom form: Take a file name input from user.
    Thanks
    Nagamohan

  • Uregnt - How to Load Flat File into BW-BPS using Web Browser

    Hello,
    We have followed the 'How to Load Flat File into BW-BPS using Web Browser' guide to build BSP web front-end to upload flat file.  Everything works great but we have a requirement to populate the Planning Area Variables based on BSP drop down list with values.  Does anyone know how to do this?  We have the BSP coded with drop down list all we need to do now is populate variables.  We can populate the variables through the planning level (hardcoded) but we need to populate them through the web interface.
    Thanks,
    Gary

    Hello Gary,
    We have acheived the desired result by not too a clean method but it works for us.
    What we have done is, we have the link to load file in a page where the variables can be input. The user would then have the option to choose the link to load a file for the layout in that page.
    By entering the variable values in the page, we are able to read the variables for the file input directly in the load program.
    Maybe this approach might help.
    Sunil

  • How to load flat file into BW BPS

    hi,
    how to load flat file into BW BPS ?

    Have a read through this;
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/biw/g-i/how%20to%20load%20a%20flat%20file%20into%20bw-bps%20using%20a%20web%20browser.pdf

  • How to load firmware maualy into 7960 Phone

    All,
    First of all , forgive my silly question.
    Is there any way to load the firmware unzipped file(cmterm-7940-7960-sccp.8-0-8.zip) into a 7960 IP Phone without having to access to a CCM or TFTP server? An alternative Cisco CallManager is not available to run the executable installer program and the IP phone is MGCP and need to load SCCP firware into it.
    Thnaks a lot in advance .
    Regards,
    Maddox

    Wow
    Now i need a points for this please rate.
    Ok i will explain you this how it works
    First you will be require xml file while u have to get it when u make router as a CME server.
    Just configure router as a CME server by telephony-service setup do any configuration once done to the last step it will create a xml file copy that xml file to one folder and open the same.
    Now go to CCM server and check CCM is using which load through device default load
    Then download the same load from Cisco.com and copy on the same folder where you have kept the xml.txt file open that xml.txt into notepad and try searching the phone model number e.g 7960 once u will find that u will see the load information which is there by default just change the load information parameter to yr load without .load extension
    and save it
    Now on yr ip phone point to yr LP tftp where that u have kept yr folder with xml.txt & firmware.
    It will work without have yr Cisco Call Manager it will update the same firmware image.
    If someone have a problem please mail me
    I will help
    THks in advance.

  • How to load rm file into ordAudio column?

    Hello everybody,
    I made many attempts trying to insert aa.mp3(3.63Mb) and bb.rm(3.58Mb) file into ORDSYS.ordAudio column respectively with the same way.
    the result is: aa.mp3 was inserted successfully, but the bb.rm was not. It showed the error message: "java.sql.SQLException:ORA-01401:inserted value too large for column"
    Why? How can I insert *.rm into the ordAudio column?
    main code are grateful.

    >
    >
    1.tonight, I made another trying to insert aa.mp3(3.63Mb) and bb.rm(3.58Mb) file into ORDSYS.ordAudio column respectively with the same way.
    the result is: aa.mp3 was inserted successfully, but the bb.rm was not. It showed the error message: "java.sql.SQLException:ORA-01401:inserted value too large for column"
    And the main code is as following:
    private final static String EMPTY_AUDIO = "ordsys.ordaudio.init()"; //declare the EMPTY_AUDIO
    stmt = (OraclePreparedStatement)conn.prepareStatement( //
    "insert into TAB_NOAUDIT_AUDIO(NOAU_AU_SERIALNUMBER,"+
    "NOAU_AU_TYPE,NOAU_AU_KEYWORD,NOAU_AU_FILENAME,"+
    "NOAU_AU_MEDIA)"+
    " values (?,?,?,?," + EMPTY_AUDIO +")" );
    stmt.setString( 1, id );
    stmt.setString( 2, filetype );
    stmt.setString( 3, new String(keyword.getBytes("ISO8859-1")) );
    stmt.setString( 4, new String(filename.getBytes("ISO8859-1")) );
    // System.out.println("after 4th set..()!!");
    stmt.executeUpdate();
    stmt.close();
    //load the audio media file into table
    stmt=(OraclePreparedStatement)conn.prepareStatement(
         "select NOAU_AU_MEDIA from TAB_NOAUDIT_AUDIO where NOAU_AU_SERIALNUMBER = ? for update" );
    stmt.setString( 1, id );
    rset = (OracleResultSet)stmt.executeQuery();
    while(rset.next()) {
    media = (OrdAudio)rset.getCustomDatum( 1, OrdAudio.getFactory());
    File file = new File(filepath);
    FileInputStream fStream = new FileInputStream(file);
    media.loadDataFromInputStream(fStream);
    // System.out.println("after aumedia.loadDataFromInputStream()!!");
    fStream.close();
    I don't know why the error occured?
    Whether the rm file format is not recognized by ORDSYS.ordAudio or not?
    How can i do next?
    The error you get has nothing to do with the size of the media data. The error you are getting has to do with another field somewhere I think. The error you say has nothing to do with media data, but regular SQL.
    It all depends on where the error is... Do you get the error on the media.loadDataFromInputStream(fStream);? I suspect, you are getting the error on the insert. and that id or filetype are too big for the column.
    Could you tell me where the problem occurs? On the first insert? on the update?? I really can't debug with the amount of information here.
    In general, for debugging problems, you need to break it down smaller to find the errror.
    Pleas break down your insert to find the problem.
    2.Would you mind telling me more detail step or code for copying ordAudio data from table
    to another table with the same ORDSYS.ordAudio column property?
    One media column to another would simply be
    select sound into soundvar from oldtable where .....
    insert into newtable(newsound) values (soundvar) where ...;
    If from a lob....
    select lob into lobvar from....
    soundvar.source.localdata := lob;
    soundvar.setlocal();
    soundvar.setProperties();
    Larry
    Larry

  • How to load new hirearchys into BW system from R/3

    Hi
    For PROFIT_CT & 0Account Hirerachies in R/3 source system,
    a new hirearchy has been added and this new hirearchy need to load into BW system as it doesnt exists in BW system.
    But in infopackage selection this new hirerachy doesnt exists,hence I tried to find this new hierarchy by REFRESHING in Infopackage Hirerachy Selection tab.Even then this new hirearchy doesnt exists.
    But this new hirerachies exists in R/3 source system.
    Can anyone let me know how to load this
    Shankar

    Hi Barry
    Thanks for your message
    This Tcode KSH3 is for Cost Center Hierarchy but not for Profit center or Account .
    I checked in KCH3 & KDH3 tcodes for Profit center or Account hirerachies in R/3,
    Both the hirerachies are mentioned in top node in R/3
    But still these hierarechies doesnt exists in IP in BW
    Can you let me know little further
    Shankar

  • How to make your drawings into a movie?

    There is this series on youtube called 'Simons Cat' and I know its only his drawings that are made into a movie.
    I know how to make a video with pictures just the still pictures, thats not what I want, I want my drawings to move so its like 'Simons Cat'
    If you want to know what I mean, look here: http://www.youtube.com/watch?v=JP1Pk62X7XQ&feature=endscreen&NR=1
    Mostly preferred to use iMovie!:)
    Many Thanks,
    Chris

    Simon Tofield draws and animates directly in Adobe Flash. It's frame-by-frame animation aka "cell animation"; that is, Simon creates a new drawing for each frame of the movie (though of course many elements are probably copied from the previous frame. If you don't want to use Flash, there are a number of other animation programs available. See:
    http://www.macupdate.com/find/mac/animation
    Many animators, those who prefer to work in more traditional physical media, just make their drawings and photograph them to stitch into a movie. Up to you what you feel most comfortable working with.
    Regards.

  • How to load text data into internal table

    I have a text file to load txt data into internal table. So how to read text data with validation and to load all text data into the internal table?
    Say this is the text file:
    IO_NAME, IO_TYPE, IO_SHTXT, IO_LONGTEXT, DATATYPE, DATA LENGTH
    ZIO_TEST1, CHA,      IO TEST1,      IO TEST 1,        CHAR,         20
    ZIO_TEST2, CHA,      IO TEST2,      IO TEST 2,        CHAR,         20
    Regards,
    Mau

    Hi,
    U can use GUI_UPLOAD for this...
    Declare an internal table like
    data: begin of itab occurs 0,
    string(1200),
    end of itab.
    check the sample code:
    cange as you need
    DATA: DATEI_PC TYPE STRING VALUE 'C:\MATNR.TXT'.
    DATA: BEGIN OF ITAB occurs 0,
    TXT(1024),
    END OF ITAB.
    CALL METHOD CL_GUI_FRONTEND_SERVICES=>GUI_UPLOAD
    EXPORTING
    FILENAME = DATEI_PC
    FILETYPE = 'ASC'
    CHANGING
    DATA_TAB = ITAB[]
    EXCEPTIONS
    FILE_OPEN_ERROR = 1
    FILE_READ_ERROR = 2
    NO_BATCH = 3
    GUI_REFUSE_FILETRANSFER = 4
    INVALID_TYPE = 5
    NO_AUTHORITY = 6
    UNKNOWN_ERROR = 7
    BAD_DATA_FORMAT = 8
    HEADER_NOT_ALLOWED = 9
    SEPARATOR_NOT_ALLOWED = 10
    HEADER_TOO_LONG = 11
    UNKNOWN_DP_ERROR = 12
    ACCESS_DENIED = 13
    DP_OUT_OF_MEMORY = 14
    DISK_FULL = 15
    DP_TIMEOUT = 16
    NOT_SUPPORTED_BY_GUI = 17
    ERROR_NO_GUI = 18
    OTHERS = 19.
    IF SY-SUBRC NE 0. WRITE: / 'Error in Uploading'. STOP. ENDIF.
    WRITE: / 'UPLOAD:'.
    LOOP AT ITAB. WRITE: / ITAB-TXT. ENDLOOP.

Maybe you are looking for