Create a package

Can any one lead me to an example of how to create a package?
add a Main.as
package {
import flash.display.MovieClip;
import flash.utils.Timer;
import flash.events.TimerEvent;
public class Main extends MovieClip {
*constructor.
pulic function Main() {
public function timerHandler(event:TimerEvent):void {
preloadElement.rotation+=3;
[/code]
so I can begin to learn how to control the fla I created?
-Steve

Never mind I found a link
http://www.actionscript.org/resources/articles/698/1/Make-your-own-reusable-classes-using- Flash-and-AS3/Page1.html

Similar Messages

  • Error while creating a package

    When I am creating a package which has 3 procedures(x,y,z) I am getting an error saying "Subprogram or Cursor "y" is declared in a package specification and must be defined in the package body. I have put the code in the package body script but I keep getting this error. Please Help.

    Surely we will if you can paste the code and the error that you get. Remember to paste the code between[b] [pre] and [/pre] tags to retain the format.
    Cheers
    Sarma.

  • Version error while creating info package of data source 0fi_gl_10

    Dear Friends,
    I have replicated the data source 0fi_gl_10 into sap bw but while creating info package i am getting error " The DataSource 0FI_GL_10(E01CLNT200) does not exist in object version A". IS the manual activation always should be done for that ?
    Regards
    Nilesh

    Hi,
    Please check if the veriosn of DataSource is A or not. Sometimes it shows as active but if you open the datasource then it might be in modified version only. Do activate it manually, it will serve your purpose to create a infopackge.
    Regards,
    Anjum.

  • How to check error whilce creating a package

    Hi,
    I am getting an error while creating a package, individually query is running ok but in package it is showing an error. is there any way to check the error. I am using in TOAD Quest Scriptrunner

    What kind of error you got? A syntactical one or a logical one? Your schema should have following rights to debug package:
    GRANT DEBUG CONNECT SESSION,
    DEBUG ANY PROCEDURE TO <Your_Schema><i>
    I am using in TOAD Quest Scriptrunner</i>
    You can refer the user manual or contact Quest for queries regarding Quest Scriptrunner
    *009*
    Edited by: 009 on Nov 3, 2010 12:09 AM

  • How to create a package in ECC 6.0.

    Hi,
    Can you tell me how to create a package in ECC 6.0 system?
    Thanks in advance,
    Regards,
    Arnab.

    Hi,
    Thank you for your replies.
    Can you tell me the difference and uses of the two types of package I can create from SE21.
    i.e. : Package and package interface. any sap link would also be helpful. I need to know where i can use what and what would be helpful for my case.
    Regards,
    Arnab.

  • Creating a package in SAP BI

    Hi experts,
                         I need to create a package for my project .Please tell me how to create a package in SAP BI .
    Regards,
    Khan

    Hello,
    TCODE SE80 -> Give the name for the package and from drop dwn select package -> hit enter -> it will ask u want to create -> click yes.
    Regards,
    Shashank

  • The person who creates a Package is able to create EEWB project

    HI,
    The person who creates a package is only able to create a EEWB project with that package. Using someone else's package is throwing error. Is this the standard behaviour of EEWB. Or is there a break through.
    Regards.

    Thank you Steve.
    I created a package in the CRM 7 system. I am able to assign my projects in EEWB to the package I created. But when someone else tries to assign their project to the package I created it says "You are not authorised to make changes. Authorisation object".
    And then if he makes some changes to the package , I mean he re-states the descripotion,then he is able to use the package, but then I am unable to make changes. This functionality looks weird. Can you suggest a work around??
    Regards,
    Hiranmayi

  • Steps to create Info Packages in BI 7.0

    Please Give Steps top create new Info packages in BI7.0

    Hi,
    Steps to create Generic data source:
    If you want to extract the data from MM table in BI Please follow the below steps.
    1) Create a view on that table By going in to se11( Do this for future purpose, no need of joining conditon as of now why because view is containing only one table at this juncture)
    2) Go to RSO2, create generic data source based on view and designate this datasource under mm application component, it helps to replicate easily from the source system in BI side.
    3) While Creating datasource make sure that field selections and selection criteria for fields.
    4)Assign it to a package(specified by the team) for transportation purpose. Make sure the dependencies also will be going through request other wise the request may fail.
    5) Replicate the generic datasource in BI System(by going in to the mm appln comp under r/3 source system)
    6) After replication do create info package, transformations and dtp also.
    7) Trigger the Info package and then DTP.
    now data will be there in your data target in BI system
    Steps to create standard data source
    1> Go to RSA5 ,Select what data source u want , CLICK Transferstructure.
    2> After dooing this u can see the structure in RSA6 , if u want to do any customozation by adding extra fields u can do it her , if not no need.
    3> go to RSA3 and check if the structure is pulling data or not .
    BW SIDE
    4> Select Source system ->Replicate data source
    5> create Transfer rules , update rules and cube and u are done
    6> u can create a infopackage and schedule ur data load into the cube or ods.
    Hope this helps you
    Regards,
    Rakesh

  • How to create a package without BIDS in Microsoft SQL Server Management Studio

    I have inherited some SSIS packages that I found I can edit by opening the .dtsx file in my local copy of Microsoft SQL Server management studio.  I then get Control Flow tab, Data Flow tab etc.  I can add or change or delete any of the control
    or data flows.  I have found that if I use the same path to the local file where the packages are stored that exists on the server, I can edit the dtsx file on my local machine and copy the dtsx file to the server into the same directory structure and
    sucessfully execute the package on the SQL 2008 server.
    I have VS 2010 installed.  I have read that I have to install VS 2008 to use BIDS from within VS.  However, this has not worked out very well.  Since I can basically create a new package by deleteing all of the control and data flows from
    an existing package, I am in pretty good shape.  However, I would just like to know if there is a way to create a new dtsx file from within Microsoft SQL Server management studio.  Also one thing I have not been able to change is the event handler
    name or package exploration name....it is just an annoyance since it does not cause any problems, just would like to be able to rename it.   

    Hi Fred,
    We cannot develop SSIS package in SQL Server Management Studio. If we use SQL Server Import and Export Wizard, we can save it as a package but the package is rather simple.
    We use Business Intelligence Development Studio (BIDS) or SQL Server Data Tools (SSDT) to develop SSIS packages. To develop SSIS 2008 packages, we must use BIDS installed by SQL Server 2008, and the BIDS 2008 can only be integrated with Visual Studio 2008.
    To develop SSIS 2012 packages, we use the SSDT installed by SQL Server 2012 which uses Visual Studio 2010 shell and can only be integrated with Visual Studio 2010.
    Different versions of SSIS package have different package formats/schemas. If you can create SSIS packages project in you Visual Studio 2010, it means that you have installed SSDT already, and the packages you design are SSIS 2012 packages. If you open and
    eidt SSIS 2008 packages in you Visual Studio 2010, the packages will be upgraded to SSIS 2012 package format. SSIS 2012 packages cannot be downgraded to SSIS 2008 packages or deployed to SSIS 2008 server.
    Regards,
    Mike Yin
    TechNet Community Support

  • Creating a Package for Constant Variables

    Hi
    I expect this should be an easy question for some of you, but I am fairly new to PL/SQL!
    Anyhow, I would like to create an PL/SQL Script as a package, which holds a list of Constant Variables, which will be common across a number of PL/SQL Packages rather than having to repeat the constants again and again over a number of files and then having the worry of trying to maintain them all.
    Can someone please advise me how to create such a package?
    Thanks

    You can create the package this way:
    create or replace package myconst is
    const1 number := 0;
    const2 number := 2;
    end;
    /And you can optionally initialize your constants this way:
    create table myconstTable  (c1 number, c2 number);
    insert into myconstTable values (1,2);
    create or replace package body myconst is
    begin
      Select c1,c2
        into const1,const2
        from myConstTable;
    end;
    /And finally you can use it this way:
    set serverout on
    exec dbms_output.put_line(myconst.const1);
    1Max
    [My Italian Oracle blog|http://oracleitalia.wordpress.com/2009/12/18/table-elimination-oppure-join-elimination-lottimizzatore-si-libera-della-zavorra/]

  • Windows CCP Failing to create a package successfully....

    Hi All,
    I have been trying to create a test package with CCP. I have limited it to include just Acrobat 11 and updates to make the logs easier to follow:
    OS: Windows 8 64bit
    9/10/2013 17:25:42[INFO] AdobePackageBuilder - Build Version - 1.2.0.4
    9/10/2013 17:25:42[INFO] AdobePackageBuilder - Logging Level verbosity Set  to 4
    9/10/2013 17:25:42 [INFO] AdobePackageBuilder - Successfully retrieved TargetName from OptionXML.
    9/10/2013 17:25:42 [WARN] AdobePackageBuilder - Error in creating file for 7z test output. Error code : 3
    9/10/2013 17:25:42 [WARN] AdobePackageBuilder - Preprocessing of 7z file failed!
    9/10/2013 17:25:44 [INFO] AdobePackageBuilder - Sucessfully extracted the product at C:\Users\tryhorn.tim\AppData\Local\Temp\{34378342-D2BE-465E-AF4E-313B6E4393A1}\ACCCx2_1_2 _232
    9/10/2013 17:25:44 [INFO] AdobePackageBuilder - Extraction completed with return code = 0
    9/10/2013 17:25:56 [INFO] AdobePackageBuilder - Copied File (payloads\Media_db.db)
    9/10/2013 17:25:56 [INFO] AdobePackageBuilder - Copied File (payloads\Media_db.sig)
    9/10/2013 17:25:56 [INFO] AdobePackageBuilder - ASU at Path (C:\Adobe Pack
    ages\Adobe Acrobat XI 32-bit\Build\Setup\Adobe Acrobat XI Pro_0\Set-up.exe) is not found. Skipping copying and renaming.
    9/10/2013 17:25:56 [INFO] AdobePackageBuilder - Copying the content of 1 disk
    9/10/2013 17:26:05 [INFO] AdobePackageBuilder - Successfully created Setup.ini file for Acrobat Customized Wizard.
    While a package is created if you try to execute it it crashes to desktop.
    Any Ideas?
    Thanks,
    Tim

    Hi Servite College,
    Could you please try a different network source to create a package.
    Additionally:
    The following host/port combinations may need to be whitelisted when logging in with an Adobe ID to download, install, and activate licensing for applications via a Creative Cloud membership.
    ccmdls.adobe.com:443
    ims-na1.adobelogin.com:443
    na1r.services.adobe.com:443
    prod-rel-ffc-ccm.oobesaas.adobe.com:443
    lm.licenses.adobe.com:443
    ccmdl.adobe.com:80
    swupmf.adobe.com:80
    swupdl.adobe.com:80
    Note: Please make 32 bit package on 32 bit machine and 64 bit package on 64 bit machine.
    Regards,
    Romit Sinha

  • How to Initiate For Creating Business Package.

    Hi all,
    We donu2019t have NWDI setup in our landscape; therefore I would like to know that how i can initiate for creating business package of custom specific application development using Web Dynpro JAVA and DB Oracle. If anyone has idea about this type of in-house development, please suggest.

    Hi Gautam
    Please setup NWDI for creating custom business pachage.
    Download DTR, CBS and CMS same patch level as your Server and delpoy.
    then Create Software component in System Landscape Directory(SLD) and create custom business package track in the CMS for development using Web Dynpro JAVA
    Hope this will help.
    Thanks
    Arun

  • How to create the package.

    Hi ,
    How to create the package.
    Thanks

    Hi Mahaboob,
    Goto SE80 Transaction
    Select Package and below give the package name and click on enter.
    then u get a pop up asking to create package. Click yes. then u get a pop up  Package Builder: Create package
    Give the description and the Application component and click on create.
    Best regards,
    raam

  • Creating a package. How to include standatd PL/SQL procedure?

    Dear All,
    I need to create a job in oracle schema where in it should to do the following actions.
    1. Refresh the Mat View Refresh group.
    2. Execute a procedure immediately after the above refresh happens.
    Hence I tried to create a package to include both the actions. But unable to create.
    Connected to Oracle Database 11g Enterprise Edition Release 11.2.0.3.0
    Connected as GDB_DEEP
    SQL>
    SQL> CREATE OR REPLACE PACKAGE GDB_GHD_REP AS
      2    PROCEDURE DBMS_Refresh.refresh(refgrp);
      3    PROCEDURE Update_user_details_test();
      4  END;
      5  /
    Warning: Package created with compilation errors
    SQL>
    SQL> CREATE OR REPLACE PACKAGE BODY GLOBALDB_GHD_REP AS
      2    PROCEDURE DBMS_Refresh.refresh('MVRFRSHGRP_GDBGHD');
      3    PROCEDURE Update_user_details_test();
      4  END;
      5  /
    Warning: Package body created with compilation errors
    SQL> I understand that predefined oracle procedures should not be used like this, but Im trying to get a solution.
    Please help me in finding a solution.
    Is it possible to run two procedures one after the other with a single job?
    Regards
    Deep

    Hi, Deep,
    Deep. wrote:
    Dear All,
    I need to create a job in oracle schema where in it should to do the following actions.
    1. Refresh the Mat View Refresh group.
    2. Execute a procedure immediately after the above refresh happens.
    Hence I tried to create a package to include both the actions. But unable to create.
    Connected to Oracle Database 11g Enterprise Edition Release 11.2.0.3.0
    Connected as GDB_DEEP
    SQL>
    SQL> CREATE OR REPLACE PACKAGE GDB_GHD_REP AS
    2    PROCEDURE DBMS_Refresh.refresh(refgrp);
    3    PROCEDURE Update_user_details_test();
    4  END;
    5  /
    Warning: Package created with compilation errors
    SQL>
    SQL> CREATE OR REPLACE PACKAGE BODY GLOBALDB_GHD_REP AS
    2    PROCEDURE DBMS_Refresh.refresh('MVRFRSHGRP_GDBGHD');
    3    PROCEDURE Update_user_details_test();
    4  END;
    5  /
    Warning: Package body created with compilation errors
    SQL> I understand that predefined oracle procedures should not be used like this, but Im trying to get a solution.
    Please help me in finding a solution.
    Is it possible to run two procedures one after the other with a single job?
    Regards
    DeepSure; call them from your own procedure. For example:
    CREATE OR REPLACE PACKAGE globaldb_ghd_rep AS
          PROCEDURE  refresh_and_test (refgrp  IN  VARCHAR2);
          PROCEDURE  update_user_details_test;
        END;
    SHOW ERRORS
    CREATE OR REPLACE PACKAGE BODY globaldb_ghd_rep AS
          PROCEDURE  refresh_and_test (refgrp  IN  VARCHAR2)
          IS
          BEGIN
              DBMS_Refresh.refresh(refgrp);
                 update_user_details_test;
          END  refresh_and_test;
          PROCEDURE  update_user_details_test
          IS
          END  update_user_details_test;
    END  globaldb_ghd_rep
    SHOW ERRORSWhen used immediately after the CREATE commands, the SQL*Plus command SHOW ERRORS displays more complete error messages.

  • How to create a package and add a file?

    Hi all,
    I am new to Java and very much much confussed with how to create a package and then include some files any help will be very thankfull.
    Thanks for your help
    kka.

    Steps for creating a package in java are as follows:
    Choose a base directory for your classes. For example, you might choose c:\java\packages. Type the following command:
    set CLASSPATH=%CLASSPATH%;c:\java\packages
    Create subdirectories for each chapter or section, if you don't already have them.
    For each of the classes in the subdirectories, add the following line to the very top of each file:
    package directory-name;
    where directory-name is the name of the subdirectory the class file is located in.
    In other directories you may have class files that need to access one of the classes in another directory (package). To do this, write one of the following at the top of the class that needs the other class:
    import subdir.*;
    or
    import subdir.classname;
    Use the class by name in the new class file.
    Note that you can create sub-packages by creating subdirectories of the original subdirectories, and inserting package statements at the top of the java files in those directories.
    Hope this helps!

  • Creating a package to store common varchars in table inserts

    I have multiple tables that have default values for columns instead of null. They occur frequently in multiple tables so I assume the best and easiest solution would be to create a package. However i get this error when doing the follow:
    ORA-06553: PLS-221: 'DEFAULT_TBD' is not a procedure or is undefined
    CREATE OR REPLACE PACKAGE Globals
    IS
         var1 VARCHAR2(40);
    END Global_variables;
    CREATE OR REPLACE PACKAGE BODY Globals
    IS
    BEGIN
         var1 := 'n/a';
    END Global_variables
    Create table temp (
    names VARCHAR2(40)
    insert into temp values (Global_variables.var1) <<<< causes error

    Or is it better to specify default values during table creationThis is the best approach for a number of reasons. Firstly, it is the standard approach, so anybody else who has to work on your database knows where to find the default values...
    SQL> create table tab23 (id number, usr varchar2(10) default 'APC')
      2  /
    Table created.
    SQL> select column_name, data_default from user_tab_columns where table_name = '
    TAB23';
    COLUMN_NAME            DATA_DEFAULT
    ID
    USR                    'APC'
    SQL>Secondly, the whole point about default values is not having to include them in the INSERT statement....
    SQL> insert into tab23 (id) values (1)
      2  /
    1 row created.
    SQL> select * from tab23
      2  /
            ID USR
             1 APC
    SQL>
    im not sure if this is a bad idea hardcoding the value incase it were to change.Change is easy enough to handle....
    SQL> alter table tab23 modify usr default 'DAD'
      2  /
    Table altered.
    SQL>
    SQL> insert into tab23 (id) values (2)
      2  /
    1 row created.
    SQL> select * from tab23
      2  /
            ID USR
             1 APC
             2 DAD
    SQL>Cheers, APC
    blog: http://radiofreetooting.blogspot.com

Maybe you are looking for

  • How to add my class into rt.jar file?

    Hi, everyone! I am using WinRAR to extract the package rt.jar and added my class file to javax folder. Then I use jar c0vf to create a package. After that, I restart my WSAD4.0.2. But it seems that WSAD4.0.2 can not be started. (It stops at the welco

  • Aol sync authentication failed

    I installed Funambol AOL Sync on my Blackberry 8330 Curve today and all seemed to go well until I tried to use the synchronization feature. It fails every time with the message 'authentication failed: scard' or 'scal'. AOL and Funambol don't seem to

  • Possible to obtain phone IMEI number with flex mobile project?

    Just like the title says, is it possible to obtain phone IMEI number with flex mobile project? If not, does anyone know of another method to get a unique number to identify the phone being used (on android and iphone)? I'm asking because I'm building

  • GroupWise Mobility Service 2.0 now available

    We're pleased to announce that Novell GroupWise Mobility Service 2.0 is now available. This release, which replaces the former Novell Data Synchronizer Mobility Pack, includes the following enhancements: Performance and scalability improvements, and

  • I can't uninstall itunes!!!!!!! (Windows XP)

    When I try to uninstall itunes from the control panel I get an error mesage: "The feature you are trying to use is on a network resource that is unavailable....". I checked all around the internet & I was directed to Microsoft Fixit to help uninstall