Course Tracker in Flash using Database

Hi All,
       I am looking out for an swf output for my course.
1) Screen 1:
A user login Screen - Once i enter my user name and password i will enter into the Screen 2
2) Screen 2:
Screen 2 Displays with my User name on Top and Frame out looks like
  Course
      Lessons under the course
      1)
      2)
      3)....
      Towards the right side i want to view whether the lesson is Completed/Not Started/In Progress (which has to call from the database)
             followed with Date and Duration.
Please let me know the steps to be followed to make this output.  (To make this output format what do we need to use like.. flash, xml,sql database...)
Thanks and Regards
Ranjith Kumar.

Do you want to save the data between sessions? If you wan to save between sessions, do you want the user to be able to log in from anywhere or always from the same computer?
If you want to save the user data from session to session, then you'll need to save out the data to an external file. You can save this data to the user's computer or to an external data base. In either case you will use the ExternalInterface class. Look here for more information on this: http://www.adobe.com/livedocs/flash/9.0/ActionScriptLangRefV3/flash/external/ExternalInter face.html

Similar Messages

  • Developing a Course tracker in flash

    Hi All,
           I am looking out for an swf output for my course.
    1) Screen 1:
    A user login Screen - Once i enter my user name and password i will enter into the Screen 2
    2) Screen 2:
    Screen 2 Displays with my User name on Top and Frame out looks like
      Course
          Lessons under the course
          1)
          2)
          3)....
          Towards the right side i want to view whether the lesson is Completed/Not Started/In Progress (which has to call from the database)
                 followed with Date and Duration.
    Please let me know the steps to be followed to make this output.  (To make this output format what do we need to use like.. flash, xml,sql database...)
    Thanks and Regards
    Ranjith Kumar.

    Thanks Ned.
           I tried looking for the tutorials on course tracker but now able to find.
    Intial guidence can you please help me like
    I have created the User Login Screen once i enter my Username and Password i will come into another SWF where i have to show the lesson list.
    Like a tree structure which is calling from XML file or Database.
    Thanks and Regards
    Ranjith Kumar. Bandi

  • Course Tracker in Flash

    Hi All,
           I am looking out for an swf output for my course.
    1) Screen 1:
    A user login Screen - Once i enter my user name and password i will enter into the Screen 2
    2) Screen 2:
    Screen 2 Displays with my User name on Top and Frame out looks like
      Course
          Lessons under the course
          1)
          2)
          3)....
          Towards the right side i want to view whether the lesson is Completed/Not Started/In Progress (which has to call from the database)
                 followed with Date and Duration.
    Please let me know the steps to be followed to make this output.  (To make this output format what do we need to use like.. flash, xml,sql database...)
    Thanks and Regards
    Ranjith Kumar.

    Hi
    What you are hoping to do is relatively easy to achieve in Flash.
    All visual elements can be created and displayed in Flash, however due to your requirement for each tutorial's status (Completed/Not Started/In Progress)
    this logic state would have to be stored within a database.
    Also, if this is a multi-user environment you would have to provide user-account access to differentiate user progress at every stage.
    Hope it helps.

  • Why in the world would Apple make the track pad LESS useful in OS Lion?  I hate that I can't g back to the top of a web page with a singe swipe.  And of course all the other gestures are totally reversed.  IMHO, this was not an imporvement.

    Why in the world would Apple make the track pad LESS useful in OS Lion?  I hate that I can't g back to the top of a web page with a singe swipe.  And of course all the other gestures are totally reversed.  IMHO, this was not an improvement.

    No one here works for Apple.
    Go to System Preferences > Trackpad > Scroll & Zoom, and uncheck Scroll direction: Natural.

  • Using databases with Flash and PHP

    Hi, everyone!
    I`m a PHP newbie. I just learned PHP so that I can use
    databases with Flash.
    I`ve got a .php script that contains html that loads up my
    .swf file. The .swf file is the core of my site. What I want to
    know is if I can call some PHP functions (that I have wrote in the
    .php script) from within the .swf file... This functions would
    perform the reading and updating of my database.
    The only way I know of to modify a database from Flash is
    using the POST and GET methods. But that opens up a new browser
    window in which the PHP script is called. And that only handles
    writing in the database. So, what if I just want to read from the
    database some values and insert them into a TextField in Flash? How
    do I do that?
    Thanks! Ardy

    1. Goggle "Flash and mySQL" and you'll get a listing of alot
    tutorials
    2. I'm also just learning. Here's a great URL to start:
    Building with Flash and MySQL
    That's right, a Flash-based blog — it sounds a little
    loony, but this blog pulls content from a MySQL database and feeds
    it into the dynamic Flash frontend ...
    www.webmonkey.com/programming/php/tutorials/tutorial2.html -
    20k - Cached -

  • Tracking in flash/Swf :: Help me please :)

    This is my first time working with Ad Tracking in Flash and I
    want to make sure I'm going about it correctly.. I can't test it on
    my side, so I want to know it's right when I pass it on to the
    client.
    I've gone through the tutorials on Adobe and here's what I'm
    working with:
    Rather than attaching the clickTAG function to a specific
    object, I've added it to the code (on click function) in the 1st
    frame of the document as such:
    function doClick():Void {
    getURL("clientsurlishere", "_blank");
    if (clickTAG.substr(0,5) == "http:") {
    getURL(clickTAG);
    ..since I don't have a way to test it (or do I?), is this
    going to work? Or does it actually have to be attached to the
    object? It's set up so that a few movies and images within the
    document are clickable (which is why it was better, and easier to
    update in the future, to set up the code in the 1st frame rather
    than on each object).
    Also, would I add it to an ad/page that is using XML to add
    all links to the site? And do I add it to each URL instance or is
    there a way to "blanket" any and all clicks from that are included
    in the XML? .. Here's an example of the line of code in the XML:
    <plan logoImg="images/plan/logo.png" learnLink="Learn
    more" learnLinkURL="
    http://www.clientURL.com/"
    planBuy="images/buy_btn.png" planBuyURL="
    http://www.clientURL.com/buy/">

    Judge wrote:
    sir i will not understand wat u want to say???
    whetehr i have to remove semicolon from the end of path in advance or i have to remove the full path of c:/program files/......OP, from the command prompt, try to run and compile as per the following:
    C:\>"C:\Program Files\Java\jdk1.6.0_07\bin\javac" YourJavaApp.java
    C:\>"C:\Program Files\Java\jdk1.6.0_07\bin\java" YourJavaAppIf this works, then just take the "C:\Program Files\Java\jdk1.6.0_07\bin" part - w/o the quotes - and place it at the beginning of your PATH. Oh, and if you have both a USER and SYSTEM PATH set, do it to both.
    ~Bill

  • How can I use database constraints in entity attribute validation rules

    I am interested in using database constraints to validate attributes in entity objects.
    I would like to implement a JboValidatorInterface in a way that I can use an operator like "GreaterOrEqualTo" to compare with values retrieved from the database for a column associated with an entity object attribute.
    I have used this pattern with success in other environments, where the user community decides the minimum value for a thing should change from x to y, and simply changing a database object also changes the validation methods of all applications which access it.
    I am not certain that column constraints are the appropriate vehicle, but so far that seems to be the case.
    I see that you can create a validation rule which makes comparisons against a view object attribute. I am wondering if there is a generic way to use standardized names for column constraints along with ADF hooks into properties of database columns, to avoid writing individual queries for each attribute.
    Thanks in advance!!!

    Jeffrey,
    If you already have constraints on the underlying tables, why do you need to validate them in ADF BC? You can certainly use some framework extension classes to give the user nicely formatted error messages - see ER: ADF BC - allow custom error msgs for common exceptions (e.g. DML) for more details.
    I am using this method so that anything that is enforced in the database (check constraints, foreign keys, unique constraints, etc) are not enforced in the ADF BC layer as well - after all, there's more than one way to get data into a table, and DB constraints ensure that even if data gets in through another mechanism (apart from the ADF application), it is valid. My 2 cents, of course.
    Hope this helps,
    John

  • Thread pool and use database table as queue

    is this possible to use database table as queue rather than using "LinkedBlockingQueue"..and store in memory ? If yes, how do i serialized the task object into table and how to retrieve the task object back when need to be execute by executorservice..?

    cometta wrote:
    is this possible to use database table as queue rather than using "LinkedBlockingQueue"..and store in memory ? If yes, how do i serialized the task object into table and how to retrieve the task object back when need to be execute by executorservice..?From the sound of this I think BDLH is on the right track. I would think in terms of messaging with JMS. There is one potential pitfall you may have to work around. JMS does not guarantee the order in which messages will be extracted from the queue. If the order of messages is important that is a problem you'll have to solve.
    PS.

  • Flash Lite database application - help!

    Dear all,
    I would like to ask for your help/opinion.
    I am a beginner Flash programmer. I am planning to create a Flash Lite application that will provide information on current cultural events (e.g. music, theatre), cinema listings, restaurant recommendations etc.
    For this, I need to have a database on my server, which will store all the data (e.g for a music event I need the place, artist name, date and time, description of event, contact details, and maybe an image).
    I then want to transfer the data (only updates) to my users' mobile phones, and store them there. This will allow them to update and then be able to browse the information offline.
    I am not sure how to do this. I read about Shared Objects, but it seems that these objects do not provide enough space for what I need to do (let's say 1000 records at least at any one time).
    Can anyone provide any direction on how to solve this problem? Just to recap, I am looking for a solution to create a Flash Lite database application that will receive cumulative updates from a web server and store the data locally on the mobile.
    Thanks in advance for any kind of help you can give me!
    Andreas

    To handle the synchronization of these items you will need to use plugins, which will restrict your platform reach.
    These are two great starting points:
    KuneriLite
    Nokia Platform Services
    Using the solutions above you can download and upload files, and using XML you can load and sync events.  Unfortunately it would be quite complex to handle the delta between items, updates and such so I recommend using a dynamic XML feed.
    Good Luck!
    Mark - Adobe
    www.flashmobileblog.com

  • Flash back database in RAC

    HI, I have a question regarding using the flash back database feature nwhen in a rac environemt...I see in the documentation that when flashing back the database that you will need to us the open database with the resetlogs option in order to flashback. So does the open database resetlogs need to be done for each instance in order to get the instance database open?
    Thanks.

    See if MOS Doc 819905.1 (How to Enable Flashback for a RAC Database on ASM) helps.
    Also MOS Doc 416496.1 (ENABLE FLASHBACK DATABASE IN RAC ENVIRONMENT).
    HTH
    Srini

  • Can i recovered dropped users from Flash Back Database

    I am having confusion on step by step process for Recovering dropped user from Flash Back Database or from RMAN.
    And Which case we will use Flash Back Database or RMAN?

    1) Restore database (PITR- Point In Time Recovery) until the schema was dropped.
    RECOVER DATABASE UNTIL SCN XXXXX;
    2) If you only want a table:
    flashback table XXXX to before drop;
    3) Flashback database (if you have flashback on):
    FLASHBACK DATABASE TO SCN XXXXX;
    or
    FLASHBACK DATABASE TO TIME "TO_DATE('XX/XX/XX','MM/DD/YY')";
    You have some examples at documentation:
    http://docs.oracle.com/cd/B28359_01/backup.111/b28270/rcmflash.htm

  • Hi! ... When configuring my new iPad, it says the UserId is already in use and I cannot progress any more. Of course it's in use, it's my UserId. How do I continue ?? ... Thanks in advance

    Hi! ... When configuring my new iPad, it says the UserId is already in use and I cannot progress any more. Of course it's in use, it's my UserId. How do I continue ?? ... Thanks in advance

    Did you select "Sign In with an Apple ID" as opposed to "Create a free Apple ID" when setting it up?

  • How to Schedule Job using Database Control for SQLPLUS script?

    Hi All,
    I am using Database version 10.2. I would like to schedule a SQLPLUS script job using Database control (Not using Grid Control!). The following is the script.
    ========================================================
    define OEM_FRIENDLY=1
    define OWB_BACKGROUND=0
    set serveroutput on
    set verify off
    whenever sqlerror exit failure;
    define REPOS_OWNER='&1.'
    define LOCATION_NAME='&2.'
    define TASK_TYPE='&3.'
    define TASK_NAME='&4.'
    define SYSTEM_PARAMS='&5.'
    define CUSTOM_PARAMS='&6.'
    alter session set current_schema = &REPOS_OWNER.;
    set role owb_d_&REPOS_OWNER., owb_o_&REPOS_OWNER.;
    variable exec_return_code number;
    begin
    -- Initialize Return Code
    :exec_return_code := wb_rt_api_exec.RESULT_FAILURE;
    -- Run Task
    :exec_return_code := wb_rt_api_exec.run_task('&LOCATION_NAME.',
    '&TASK_TYPE.',
    '&TASK_NAME.',
    '&CUSTOM_PARAMS.',
    '&SYSTEM_PARAMS.',
    &OEM_FRIENDLY.,
    &OWB_BACKGROUND.);
    end;
    exit :exec_return_code;
    ===========================================================
    Is it possible to schedule SQLPLUS script with 6 different parameters? If yes then how can I schedule for monday to friday or only for Saturday and sundays.
    Please provide brief steps.
    Thanks for your help in advance.
    - Mehul

    Let me explain to you about scheduler.
    You can schedule a pl/sql stored procedure TEST_S as follows...
    Begin
    dbms_scheduler.create_job(
    job_name=>'MY_JOB',
    Job_Type=>'STORED_PROCEDURE',
    job_action=>'TEST_S',
    start_date=>sysdate,
    repeat_interval=>'freq=monthly;BYDAY=MON,TUE,WED,THU,FRI',
    end_date=>null');
    END;
    You can also also execute o/s script like .bat or .sh. For this job type should be EXECUTABLE.
    Example of converting a .sql script in .bat script...
    insert.sql
    insert into dept values(50,'IT','LONDON');
    exit
    insert.bat
    sqlplus scott/tiger @insert.sql
    Executing now...
    C:\Documents and Settings>insert.bat
    C:\Documents and Settings>sqlplus scott/tiger @insert.sql
    SQL*Plus: Release 10.2.0.1.0 - Production on Thu Mar 1 08:01:00 2007
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    1 row created.
    Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - P
    oduction
    With the Partitioning, OLAP and Data Mining options
    C:\Documents and Settings>
    So first read about DBMS_SCHEDULER and do the work in prompt. Then you can go and schedule it even by database control.
    Scheduling by database control...
    http://www.oracle.com/technology/oramag/oracle/04-jul/o44tech_dba.html
    Scheduler
    http://download-uk.oracle.com/docs/cd/B19306_01/appdev.102/b14258/d_sched.htm#CIHEHDHA
    PS: By default each job you created is disable state. Please enable it by enable procedure of DBMS_SCHEDULER package.

  • How to use Database adapter as inbound adapter without having polling strategies?

    Hi All,
    I have a requirement wherein I have to use Database adapter to retrieve the data for every half an hour from one(X app) database and update that data into another application(Y app) .That database adapter will be along with BPEL process.My Flow would be like this:
    Database Adapter( In 'exposed services' section) ----->   BPEL (in 'Components') -----> Y app service( in 'External References' section)
    My questions for each step are below
         1) I have to retrieve the data from database(x app database) for every half an hour.So I have to schedule my whole process such that it should execute for every half an hour.
    Means I have to get  whatever the data is updated in the last half an hour in that database.
          The database adapter should be inbound in SOA composite editor(in 'Exposed services' section).
    But in order to have inbound adapter,we have select the 'Poll for New or Changed Records in a Table' option in turn we have to select one of polling operations below:
             Delete the Row(s) that were Read
    Update a Field in the [Table_Name] Table (Logical Delete)
    Update a Sequencing Table
    Update an External Sequencing Table on a Different Database
    Control Table Strategy
    But the problem is I don't have any control on the database(X app database) ,So (I can't update any data on that table,because that table may not have a field or table to update the processed rows)I can't choose any of the above operations.
    How can I achieve what I want that is to retrieve the data and schedule the process?
    Thanks in advance.

    Hi Heckler,
      Thank you very much for your answer that I can proceed further somehow.
    I still need to have some clarifications.
    In order to have a process which retrieves the data (Inbound operation) and updates the data into other application, the data(from X app)  should be the request(through DB adapter) of the BPEL process.
    X app does not do anything to send.We have(the BPEL process) to receive the data (or) no event is triggered.
    The flow :
    Database Adapter( In 'exposed services' section to retrieve data) ----->   BPEL (in 'Components') -----> Y app service( in 'External References' section)
    How can we ensure the data will be  request to BPEL process(means it will be in 'exposed services' section in SOA composite editor) for every half an hour if we use pick activity and database adapter as first activity?
    When we use ''Poll for New or Changed Records in a Table' ,then only adapter becomes inbound and comes into the 'exposed services' section.I can't use it as I don't have any control on the source table.
    I have this confusion before starting the process.Please help me to clear out the doubts.
    And this whole process should be executed automaticallly for every half an hour(means it creates instance for every half an hour)  Once we build the BPEL process.
    How to schedule it?
    And where do I need to create control table ?You mean I have to use some different database where in I have to create the table?

  • How to use Database Adapter in BPEL

    I want to use Database Adapter in BPEL to transfer data from one table to other table and the data is still hold in the read table?
    I can find a example from http://download.oracle.com/docs/cd/B31017_01/integrate.1013/b28994/adptr_db.htm#BDCIGDCB.
    And the general design of my BPEL is as following:
    1. Add a "status" column to the read table. And alter the value of status column of all data in read table to "unreaded".
    2. Then create a empty BPEL (BPELAdapter) Project.
    3. Add a Database Adapter:
    (1) In step 1 of Adapter Configuration Wizard, configure the Service Name to datain.
    (2) In step 2, configure the database connection.
    (3) In step 3, choose "Poll for New or Changed Records in a Table".
    (4) Then click Import Tables button, and choose the read table.
    (5) In step 5, choose a column.
    (6) Don’t do anything in step 6 and 7.
    (7) In step 8, choose "Update a Field in the [Datain] Table (Logical Delete)".
    (8) In step 9, configure Logical Delete Field to STATUS, configure Read Value to readed and configure Unread Value to unreaded.
    (9) Don’t do anything in step 10 and 11.
    4. Add a receive activity to connect to above database adapter.
    5. Add another Database Adapter. Then configure this database adapter service WSDL:
    (1) In step 1 of Adapter Configuration Wizard, configure the Service Name to dataout.
    (2) In step 2, configure the database connection.
    (3) In step 3, choose Perform an Operation on a Table (and all items under it).
    (4) Then click Import Tables button, and choose the write table.
    (5) In step 5, choose a column.
    (6) Don’t do anything in step 6, 7 and 8.
    6. Add a invoke activity to connect to above database adapter.
    7. Add a assign activity between the receive activity and invoke activity. And configure the assign copy operation.
    But after I deploy this BPEL project to the BPEL server and invoke this project, I get following error. Meanwhile, this BPEL don't take effect.
    The following exception occured while processing this request:
    Can't find partnerLinkType 2.
    in
    "file:/D:/soft/SOASuite/product/10.1.3.1/OracleAS_1/bpel/domains/default/tmp/.bpel_BPELAdapter_1.0_e82210b05e4d3e997eed581d0d220293.tmp/_BPELAdapter.wsdl" WSDL to find PartnerLinkType "{http://xmlns.oracle.com/pcbpel/adapter/db/datain/datain_plt"。
    How to resolve?
    Thanks,
    Melody

    Now, I can insert data into the table through Database Adapter.
    But still can't select data from the table through Database Adapter.
    Above error still happen when invoke the read database table with Database Adapter project:
    Can't find partnerLinkType 2.
    in
    "file:/D:/soft/SOASuite/product/10.1.3.1/OracleAS_1/bpel/domains/default/tmp/.bpel_BPELAdapter_1.0_e82210b05e4d3e997eed581d0d220293.tmp/_BPELAdapter.wsdl" WSDL to find PartnerLinkType "{http://xmlns.oracle.com/pcbpel/adapter/db/datain/datain_plt"。

Maybe you are looking for