Create a User-Interactive Flash

Is there any way I can create an interactive Flash with which the user can put X-marks on random locations of a picture? (e.g. X marking different locations on a map.)

Thank you very much for the reply.
I know very little about Flash, or AS for that matter. Is there any way I could find a step-by-step way of following your guide?
On my part, I opened Flash and clicked CTRL + R.
I imported a PNG that looks like an "X".
I then clicked F8, and chose the name XMark for my symbol, and checked "Export for ActionScript" and "Export in frame 1".
I then clicked on File > New, and chose "ActionScript 3.0 Class". I typed the "Class name" as XMark.
A window popped up with a default script (below).
Here's where I got stuck: I have two tabs. One is my PNG in the form of a movie, and one the script window.
What do I do here? (I guess I am asking, how do I "merge" the two tabs into one flash?)
Also, do I cut and paste your script after the following, or should I delete the default script?:
package  {
    public class XMark {
        public function XMark() {
            // constructor code
Any help would be very much appreciated.

Similar Messages

  • Create a user profile Flash SWF with a database?

    I have a project to create a SWF game, that requires registered users pegged to a database (eg: student ID and class) to logon to the SWF and play the game, and then they can save their progress and continue it next time.
    Below is just a sample that I did of how it might look like:
    What's the best possible way to create a database that can be linked to a logon page like this, and how can i make sure the game progress is saved, so that the student can access it from any computer?
    I'm very new to this, as my Flash knowledge doesn't extend to ActionScript 3.0. Would welcome ideas and tips. Thank you!
    Soph

    OK, let's begin with your db first  - 
    From your OP you are using UserID and Class as login credentials, so I've made these fields in the user table.
    The gstate table will eventually hold the users current game state.
    Copy & Paste the following to create a db with two tables into the SQL section of phpMyAdmin or similiar and press Go:
    create database if not exists `genogram`;
    USE `genogram`;
    /*Table structure for table `gstate` */
    DROP TABLE IF EXISTS `gstate`;
    CREATE TABLE `gstate` (
      `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
      `gID` varchar(100) NOT NULL,
      `gState` varchar(200) NOT NULL,
      PRIMARY KEY (`id`)
    ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
    /*Table structure for table `gusers` */
    DROP TABLE IF EXISTS `gusers`;
    CREATE TABLE `gusers` (
      `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
      `uID` varchar(100) NOT NULL,
      `class` varchar(100) NOT NULL,
      PRIMARY KEY (`id`)
    ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
    Once you have done this, you can enter userId and class details into the gusers table using phpMyAdmin.
    Let me know when you've got this far.
    Does your game have a fixed method of completion, or can the user complete it anyway they want?
    This will affect the way you store the users current game state.
    Best Regards
    thefeldkircher
    Message was edited by: The Feldkircher

  • Silent Flash player Autoupdate over internet without user interaction

    Is it possible to set Flash Player to auto update without ever having any user interaction?  We don't have any internal application depending on flash player so I would like to install an version of flash update with auto update settings and forget it.
    I did install 15.0.0.152 with settings:
    mms.cfg:
    AutoUpdateDisable=0
    SilentAutoUpdateEnable=1
    But it has updated to 15.0.0.167 instead of 15.0.0.189.   Does the autoupdate use always the latest version or does it install only critical updates?  Why did I get 167 and not 189 ?  I can see that the task launching the auto-update run every hour, with default settings, but no new updates are made, wheter my browser (IE) is running or not.

    Please do the following.
    Open IE6, go to Tools and then Manage Add-ons.
    Change the menu dropdown (on the left) to "All Addons", then scroll down to Adobe (if it's there) and then check the version number. The current version is 11.1.102.55 (See screenshot)
    If it's not listed, or if it's a different version, download this uninstaller, but choose to Save it (doesn't matter where). Do not choose "Run". http://download.macromedia.com/pub/flashplayer/current/uninstall_flash_player_32bit.exe
    After you save the file, close IE.
    Run the uninstaller (even if Flash is not listed in Manage Add-ons) and then reboot.
    Next, go to: http://get.adobe.com/flashplayer/ and when you see the prompt, choose "Run" to install it immediately. Oh, and uncheck any third party installation options like the Google Toolbar / McAfee. You can install those any time.
    Go back to Manage Add-ons and confirm that 11.1.102.55 has been installed.

  • Best way to embed an Mov file into interactive flash game?

    Hey,
    just a quick query. I'm creating an interactive flash game for a university project. It's along the lines of Guitar Hero, Tap Tap Revolution, Boom Boom Rocket etc..
    At the moment the game comprises of streaks of notes generated by Actionscript which the user much hit the corresponding key when notes are in the receptor. The background at the moment is an audio spectrum analyser created using AS based on the music playing.
    I want to add loop movie file as the very background of the stage and was just wondering what was the best way to place it there with the least ammount of overheads. At the moment I have it in a child movie clip placed on the stage, in which I use File -> Import and embeded the FLV file into the time line. This works, however lags out quite badly.
    Any help would be appriciated.
    Thanks in advance,
    John Minns

    Have you tried this method?
    1. Save as new file.
    2. With your usual color management preferences selected, run Xtras>Color>'Name all colors'.
    3. In color swatches list, select all colors. From swatches pop-up menu 'Make RGB'.
    4. In Preferences>Color, set color management settings to 'None'. The RGB colors should look about the same as they did with color management on.
    Now you should be able to export to Flash with RGB colors that look quite close to your CMYK version of the file.
    This should work the same in FH9 or FHMX. I hope it does the trick for you.

  • Is it possible for a module to remember last viewed slide and user interactions without an LMS?

    I am developing a captivate module (using Captivate 6) that can be run either off a local hard drive or web server (not an LMS).
    I am hoping that the user will be able to close down the module and then return to it at a later time. Considering the module will not be run via an LMS Is it possible for the module to remember not only the last slide that the user viewed but also any interactions that the user has conducted. For example: saved information in variables, image states (whether or not they have been clicked etc), widgets (I am hoping to use the drag and drop widget so I want the course to be able to remember what items they have dragged where).
    Is this possible? I know there is a bookmark widget that uses cookies to remember the last slide the user viewed. I am also aware of another widget that allows you to save variables for use between projects, but in this case I will only have one project file. Is there something out there that does everything I need?
    Does the 'self paced learning' checkbox in the TOC save user interactions?
    Thanks! 

    Thanks Lilybiri. So it sounds like there is no easy way to save  interactions when run locally. Would using javascript (thats run when a user clicks a save button for example) be possible? Get the script to save a cookie with all the variables and 'states'? I know that saving the variables is possible because there is already a widget that does that, so wondering if there is a way to save the slide states as well (for example whether or not images have been clicked etc).
    Alternatively, if I create the project in captivate, is it possible to import into flash with all the functionality and actionscript intact and editable? From there I could then modify it to remember the saved states? (i am not proficient with actionscript  so just thinking of potential solutions).

  • Using Keynote for Interactive Flash Content

    Hi,
    I'm creating an interactive E-Book using Keynote,
    In Keynote '08 I could export to Flash, and that would not be able to export transitions but apart from that, worked OK,
    But in Keynote '09 I can only export to Quicktime, which works fine using hyperlinks only ( therefore it's interactive ) so everything is OK. Only this quicktime file is 27mb big, and I want to convert it to flash, but using Quicktime Pro to convert it always takes away the interactivity of the E-Book, it becomes a self-playing movie file,
    I want to know if there is any way to convert an Interactive Hyperlinks-Only Quicktime file, to an Interactive Flash file??
    And if I create this quicktime file in Mac will it work the same in Quicktime for Windows?
    (I am creating the E-Book for a windows user)
    Any help or advice would be deeply appreciated,
    thanks
    Harry

    Okay so how much of that $25 is Adobe making;
    50% margin would suggest $16.67 per unit.
    $699 is suggested retail price for the latest incarnation of Flash CS4.
    What the "OEM Software" merchants are offering is a pre-Adobe version of Flash 8 Pro, in German, for Mac, that obviously very few people would want. If they had accepted PayPal, I would have bought it, but I was not willing to reveal to them my credit card.
    So: +what alternatives do we have?+
    There's a Mom & Pop outfit called "Vertical Moon" that offers a number of modest tools with free demos, notably [SWF'n Slide|http://www.verticalmoon.com/index.htm]. I do appreciate frugality when it comes to solving technical problems (as opposed to bloatware, like Microsoft and Adobe's). The latest news from the "moon" people is dated September 2008, so maybe their future is dim, but I've just looked at their documentation and find it well conceived and well crafted. I'll give them a try.
    In the future, perhaps we shall see some Open Source project succeed, like [JSwiff|http://www.jswiff.com/index.jsp].
    Then again, it is a fact that *Keynote 08* (version 3.0.2, in particular) does almost everything I ask it to, including export to ".swf", except it fails to export when I embed certain things like midi or QuickTime. It's a lot friendlier, I must say, than any PowerPoint editor I've encountered. Don't you love those yellow alignment guides that show up spontaneously when you move things around?
    That thought opens the temptation to edit to heart's content with KN'08, export,
    and then edit the swf xml file with a text editor,
    and the auxiliary file structure with Mac OS Finder!

  • How to automate testing of features that require user interaction?

    I am currently evaluating a test automation tool (RIATest) for my Flex app. In my app, the user uploads/downloads several files from the server. When I try to create an automation script for the process, I get error #2176 (also copied in the end of the post).
    Now, my question is that is there anyway to prevent this from happening? Is there some config file that could be modified to set up an isolated test environment without these security restrictions?
    My app uses some features that are only available with Flash 10, so using Flash 9 is not an option (I have understood that these security settings came with Flash 10).
    Thanks.
    Error: Error #2176: Certain actions,
           such as those that display a pop-up window,
           may only be invoked upon user interaction,
           for example by a mouse click or button press.

    jake_flex wrote:
    M*A*S*H 4077 wrote:
    Well, if player version is the problem, you can restrict the minimum version required and if the user's version is lower, he will get asked to update.
    Thanks for the reply.
    I need some features that are only present in FP10, so I need to compile against that version.
    Actually, I installed FP9 to my browser and compiled the app against version 9. Everything went well so far, maybe I'm getting confused with my own software already
    Anyway, that got me one step forward. When uploading a file, the user is presented the file browse dialog, which in my knowledge is the operating system specified component. At least RIATest doesn't seem to be able to control this. If someone knows how to handle such case with any test automation tool, please let me know.
    Edit: Just found this discussion on the same matter on RIATest forum http://www.riatest.com/forums.html?func=view&id=246&catid=9#246

  • Interactive Flash on a DVD?

    I have a SD DVD with 3 Videos and I want to also put 1 interactive Flash video on this same DVD. Is this possible?

    You can certainly do it by adding a microsite, as you describe. The bigger issue is getting it to autorun when you click a link in the menu of the DVD. Currently there is no reliable way to get such links working effectively on both macs and PCs, and as you have already pointed out, you can't play enhanced content on the set top player anyway.
    On the Mac side of things, the technology to get interactive links is called DVD@ccess. This works, to a fashion, on a Mac. It \sometimes works on \some PCs \if you persuade the user of the PC to install the DVD@ccess software and \if their system recognises it and allows it to work. Many don't.
    In essence, the viewer would see the link on a menu, click the button and be taken to another menu (@ccess links can only be embedded in the menu - i.e work when the menu is played, not when a button is clicked). When the new menu plays, the web browser will launch over the top of the DVD player app. Therefore, in the background you could 'time out' the menu and go back to the first one almost immediately. The user would never see that happen, because the web page was in front, starting up and distracting their attention.
    Since DVD@ccess is so unreliable the only way to do this would be to give the viewers the instructions on how to find the content - possibly as text on a menu - and rely on them navigating to the folder you have created and double-clicking the index.htm file (or whatever) to get it running.
    All you need to do to get this set up is add your microsite as ROM content to your DVDSP project, taking care to nest the folders carefully and set the disc based URL correctly.

  • Interactive Flash Video

    Hello,
    Wonder if anyone could help me?
    I am creating an interactive Flash video with hotspots.
    I have my video in Flash and I have created the hotspots at
    different points in the video. What I want to achieve is when the
    user is watching the video and they click correctly, some text
    appears and adds an icon to a score board on the screen they see.
    There are a total of 10 correct areas where they need to
    click on the video, so the maxium they can achieve is 10.
    Is they anyway I can achieve this and possibly how?
    Thank you very much... I am very confused where to start.
    Kind regards,
    Paul

    Create some invisible buttons to place on top of the video.
    Then embed cue points in the video to trigger the buttons to appear
    and disappear when appropriate.

  • Unable to enable security and create admin user after reset - px4-300d

    Our px4-300d became inaccessible a few days ago.  I couldn't get to any shares from any machine, and I couldn't get to the admin console.  When I checked the unit, there was no indication that anything was wrong (ie - the panel didn't show any failure, I didn't get any emails indicating a failure, and there were no lights offering a clue to what was wrong).  However the unit was completely frozen...the buttons on the front would not scroll through the different information on the panel.
    I attempted to reset the device using the pinhole on the back, but the device wouldn't respond, so I had to power it down using the button on the front.  When I tried to power it back up, it would come on for about one second, then immediately power off.  I pulled all 4 drives out and powered it on again without any drives.  This time it came up completely and I got a message on the panel that drives were missing.  I started putting the drives in one at a time and the device recognized them all and I was able to login to the admin console.  However, all the shares were missing and I received an email that the Storage Pool was degraded.  I rebooted the device from the admin console and when it came back up, it started reconstruction.  After a few hours, it completed, but I still had no shares and couldn't create any new shares.  I also did not see any of my users, including the admin account I was logged in with.  I tried to create a new user, and also tried creating a user I knew existed and neither one worked.  The screen would just flash but nothing would show up.  At this point, I decided to try to reset using the pinhole on the back of the device to reset the admin user so I could just create a new one.  So, now I'm stuck at the 'Enable Security' screen.  Every time I try to create an admin account, it just flashes and returns me to the same 'Enable Security' window.  
    Now what?
    Solved!
    Go to Solution.

    If you are unable to get into it you will not be able to do the factory reset. You can try booting in buy removing one disk at a time. If you are still unable to then tech support should be able to supply you with the imager and try flashing it. I would keep it at 4.0.8 also,

  • I am trying to create a button in flash that will display 4 separate images at the same time when clicked.  I can't get the images to stay on when I take the mouse of the button.  I need the actions script code to make this happen.

    I am trying to create a button in flash that will allow the user to click on the button and 4 separate images show up at the same time.  I can get the images to appear when I click the button but they will not stay on the screen.  I need to know what code I use to make the images stay once the button is clicked, then I need to know exactly where I place that code.  It does not appear to be possible to add the action code to the buttons layer since each time I add a new layer I just get another "up" "over" "down" and "hit" line.
    Thank you in advance
    AP

    It is not clear how you are trying to realize this from your description.  If you are trying to create this within a button symbol it will not work.  Explain your approach and if there is code involved, show what you have so far.

  • A more successful experiment in creating compositable user interfaces for Config Dialogs

    A couple weeks ago I posted an experiment in creating compositable user interfaces using transparent subpanels. The approach might best be described as, "It at least was notable for being novel."
    Today, I'm posting another attempt, this one along more traditional lines, and far more successful. Particularly notable: this one can do all the arbitrary composition of the last one AND it solves the TAB order problem.
    This solution uses a picture control and renders N copies of a control. When the user tabs to a control or moves the mouse over the control, a real control slides into that position to be able to catch the events (update mouse over draw state, highlight for keyboard focus, handle typing, etc). When the Value Change occurs, a master array of data is updated and the picture control is updated.
    This is something that has been attempted in various forms in the past, but there are two aspects of this particular implementation that make it nice:
    its programmatic interface for specifying the behavior of the various objects should make it fairly easy for a user of the framework to programmatically generate their dialogs
    it handles the TAB problem without flickering, something I haven't seen in other attemps
    This idea spawns out of conversation about the previous experiment -- thanks to those of you who posted on various forums, e-mailed me, or, in a couple cases, showed up at my desk. That last one is not something I'm encouraging unless you work at NI... just saying. :-)
    Now, this experiement has already yeilded some interesting conversation. We note that as long as controls are instantiated independent of each other -- that is, no property of one control depends upon the property of another control -- this dialog system scales nicely. But in this experiment, I implemented Radio Buttons, which interact with each other -- when one is set True, the others go False. As soon as controls start interacting with each other (such as graying out one control when a checkbox is toggled, or having expandable sections, or really complex cases like updating a graph as some options change, like happens in some Express VI config dialogs) then we start needing ways to refer to the other controls. This rapidly moves us in one of two directions: naming controls or creating references. The naming approach is definitely my preference as it fits better with dataflow and I can do some interesting effects with breaking apart some of the tree. But all of this quickly starts sounding like "Please implement a XAML parser in LabVIEW." For those of you unfamiliar with XAML, in the world of UI design, it might very well be the coolest thing since sliced bread. A XAML string would indeed fit with dataflow, and we could start building that up. I hesitate to head down this road for two reasons. One, as many have noted, there's really not a good XML parsing library written in LabVIEW that can give me a useful DOM tree. Two, that's a huge project and my gut sense is that you'd have to complete a fairly large chunk of it before you'd start seeing any return on investment. But it is worth thinking about -- I might be wrong. Wouldn't be the first time. This code that I've posted today can at least get you started on the generation side if one of you decides to become industrious.
    I'm turning my attention away from this project for now... coding in G is lots of fun, and I wish I could spend more days doing it, but this has been a side project and it's time to get back to my assigned projects in text programming. Building a powerful platform for automatic UI generation in LabVIEW would be really useful -- I see lots of requests for this sort of thing, and other languages are pulling ahead of us in this domain.
    [UPDATE 5/17/2012 - There is an improved version.]
    Solved!
    Go to Solution.
    Attachments:
    ConfighThroughCtrlCreation.zip ‏558 KB

    Elijah K wrote:
    Thanks for posting this Aristos.  I would normally be one of those to go bug you at your desk, but in case I'm not the only one with this question... which particular flickering problem are you referring to?  The act of switching tabs?  In all honesty, I've never noticed...
    When you move controls around on the screen, normally you try to Defer Panel Updates while you do that. But Defer Panel Updates has an effect on control's abilities to catch certain mouse clicks, so when you're trying to move a control to catch the mouse, you have to work a lot without Defer Panel Updates, so if you're adjusting captions, etc, to match the new location, you can see flicker as properties adjust. You can move the control off-screen, as long as you have already updated the picture control to reflect the changes. It took a while to catch all the ways that the flickering can crop up. I think I got 'em all.
    Attached are the VIs saved for LV 2009. Actually, they're saved for LV 8.6, but it doesn't work in 8.6 because of a bug in the picture control that existed back then.
    Attachments:
    ComposableUI_LV2009.zip ‏391 KB

  • HOW TO CREATE LOCAL USER PROFILE

    SIR,
       OS            -    WINDOWS SERVER 2008 R2
       SYSTEM    -    IBM  MACHINE X3400 SERIES
        1. HOW TO CREATE A USER IN WINDOWS SERVER 2008 R2  WITHOUT ACTIVE DIRECTORY 
        2.  AFTER CREATE USER IN WINDOWS SERVER 2008 R2 BUT USER PROFILE NOT CREATE .

    Hi,
    >>1. HOW TO CREATE A USER IN WINDOWS SERVER 2008 R2  WITHOUT ACTIVE DIRECTORY 
    >>2.  AFTER CREATE USER IN WINDOWS SERVER 2008 R2 BUT USER PROFILE NOT CREATE
    Creating an user account on the computer doesn't create a profile for that user. The profile is created the first time the user interactively logs on at the computer. After the user logs onto the computer for the first time, the user's local profile
    will be created in a folder with the name of the user under the systemroot/Users folder.
    Best regards,
    Frank Shen

  • To create a normal interactive report

    Hai All!
       i want to create a normal interactive report, in the basic list CARRID should be displayed with checkbox. the detail list should be displayed after selecting the checkboxes & clicking the pushbotton in application toolbar.
    plz help me to findout the solution.

    Hi smitha,
    Report z_sfpfli.
    *Data Declarations ...................................................
      Field String fs_spfli                                              *
    DATA:
      BEGIN OF fs_spfli,
       carrid LIKE spfli-carrid,           " Airline Code
       connid LIKE spfli-connid,           " Flight Connection Number
       airpfrom LIKE spfli-airpfrom,       " Departure airport
       airpto   LIKE spfli-airpto,         " Destination airport
       deptime  LIKE spfli-deptime,        " Departure time
       arrtime LIKE  spfli-arrtime,        " Arrival time
      END OF fs_spfli.
    *Data Declarations ...................................................
      Field String fs_sflight                                           *
    DATA:
      BEGIN OF fs_sflight,
       carrid LIKE spfli-carrid,           " Airline Code
       connid LIKE spfli-connid,           " Flight Connection Number
       date LIKE sflight-fldate,           " Flight date
       seatsmax LIKE sflight-seatsmax,     " Maximum capacity in economy
                                           " class
       seatsocc LIKE sflight-seatsocc,     " Occupied seats in economy
                                           " class
      END OF fs_sflight.
       Internal Table To Hold spfli Table Details                       *
    DATA:
      t_spfli LIKE
       STANDARD TABLE
         OF fs_spfli.
       Internal Table To Hold sflight Table Details                     *
    DATA:
      t_sflight LIKE
       STANDARD TABLE
         OF fs_sflight.
    DATA:
      w_checkbox TYPE c,
      w_lines    TYPE i,
      w_currentline TYPE i,
      w_last_line TYPE i.
    TOP-OF-PAGE.
      PERFORM top_flight_data.
    TOP-OF-PAGE DURING LINE-SELECTION.
      PERFORM top_sflight_data.
                          AT SELECTION-SCREEN EVENT                     *
    START-OF-SELECTION.
      PERFORM get_flight_data.
    *&      Form  TOP_FLIGHT_DATA
    This subroutine DISPLAY to_flight_data                             *
    There are no interface parameters to be passed to this subroutine.
    FORM top_flight_data .
      SKIP 2.
      FORMAT COLOR 5 ON.
      WRITE:
        /5(15) 'Airline Code'(010),
         (15) 'Flight Connection Number'(011),
         (10) 'Departure airport'(012),
         (10) 'Destination airport'(013),
         (10) 'Departure time'(014),
         (15) 'Arrival time'(015).
      FORMAT COLOR OFF.
      SKIP 2.
    ENDFORM.                    " TOP_FLIGHT_DATA
                          END-OF-SELECTION EVENT                        *
    END-OF-SELECTION.
      SET PF-STATUS 'MENU'.
      PERFORM display_flight_data.
    AT LINE-SELECTION.
      IF sy-lsind EQ 1.
        PERFORM get_sflight_data.
        PERFORM display_sflight_data.
      ENDIF.                               " IF SY-LSIND..
    AT USER-COMMAND.
      SET PF-STATUS space.
      CASE sy-ucomm.
        WHEN 'SELECTALL'.
          w_checkbox = 'X'.
          PERFORM modify_checkbox.
        WHEN 'DSELECTALL'.
          w_checkbox = ' '.
          PERFORM modify_checkbox.
        WHEN 'DISPLAY'.
          PERFORM get_sflight_data1 .
      ENDCASE.                             " CASE SY-UCOMM
    *&      Form  GET_FLIGHT_DATA
    This subroutine  retrieves necessary data from SPFLI                *
    There are no interface parameters to be passed to this subroutine.
    FORM get_flight_data .
      SELECT carrid                        " Airline Code
             connid                        " Flight Connection Number
             airpfrom                      " Departure airport
             airpto                        " Destination airport
             deptime                       " Departure time
             arrtime                       " Arrival time
       FROM spfli
       INTO TABLE t_spfli.
    ENDFORM.                               " GET_FLIGHT_DATA
    *&      Form  DISPLAY_FLIGHT_DATA
    This subroutine DISPLAY necessary data from SPFLI                  *
    There are no interface parameters to be passed to this subroutine.
    FORM display_flight_data .
      LOOP AT t_spfli INTO fs_spfli.
        WRITE:
          /02 w_checkbox AS CHECKBOX,
            fs_spfli-carrid   UNDER text-010,
            fs_spfli-connid   UNDER text-011,
            fs_spfli-airpfrom UNDER text-012,
            fs_spfli-airpto   UNDER text-013,
            fs_spfli-deptime  UNDER text-014,
            fs_spfli-arrtime  UNDER text-015.
        HIDE:
            fs_spfli-carrid,
            fs_spfli-connid.
      ENDLOOP.                             " LOOP AT T_SPFLI INTO...
      w_last_line = sy-linno.
    ENDFORM.                               " DISPLAY_FLIGHT_DATA
    *&      Form  GET_SFLIGHT_DATA
    This subroutine  retrieves necessary data from SFLIGHT             *
    There are no interface parameters to be passed to this subroutine.
    FORM get_sflight_data .
      SELECT carrid                        " Airline Code
             connid                        " Flight Connection Number
             fldate                        " Flight date
             seatsmax                      " Maximum capacity in economy
                                           " class
             seatsocc                      " Occupied seats in economy
                                           " class
      FROM sflight
      INTO TABLE t_sflight
      WHERE carrid EQ fs_spfli-carrid
      AND   connid EQ fs_spfli-connid.
    ENDFORM.                               " GET_SFLIGHT_DATA
    *&      Form  top_sflight_data
    This subroutine to Display to_sflight_data                         *
    There are no interface parameters to be passed to this subroutine.
    form top_sflight_data .
    SKIP 2.
      FORMAT COLOR 3 ON.
      WRITE:
        /1(15)  'Airline Code'(010)   LEFT-JUSTIFIED,
         15(15) 'Flight Connection Number'(011)   LEFT-JUSTIFIED,
         25(15) 'Flight date'(016)    LEFT-JUSTIFIED,
         38(17) 'Maximum capacity'(017) LEFT-JUSTIFIED,
         48(15) 'Occupied seats'(018) LEFT-JUSTIFIED.
      SKIP 2.
      FORMAT COLOR OFF.
    endform.                    " top_sflight_data
    *&      Form  DISPLAY_SFLIGHT_DATA
    This subroutine DISPLAY  necessary data from SFLIGHT                *
    There are no interface parameters to be passed to this subroutine.
    FORM display_sflight_data .
      LOOP AT t_sflight INTO fs_sflight.
        WRITE:
          / fs_sflight-carrid UNDER TEXT-010,
            fs_sflight-connid UNDER TEXT-011,
            fs_sflight-date UNDER TEXT-016,
            fs_sflight-seatsmax UNDER TEXT-017,
            fs_sflight-seatsocc UNDER TEXT-018.
      ENDLOOP.                             " LOOP AT T_SFLIGHT INTO...
    ENDFORM.                               " DISPLAY_SFLIGHT_DATA
    *&      Form  GET_SFLIGHT_DATA1
    This subroutine  retrieves necessary data from SFLIGHT
    There are no interface parameters to be passed to this subroutine.
    FORM get_sflight_data1 .
      DATA
         lw_checkbox TYPE c.
      DESCRIBE TABLE t_spfli LINES w_lines.
      DO w_last_line TIMES.
        w_currentline = 2 + sy-index.
        CLEAR:
          w_checkbox,
          t_spfli.
        READ LINE w_currentline FIELD VALUE
           w_checkbox   INTO lw_checkbox.
        IF sy-subrc EQ 0.
          IF lw_checkbox EQ 'X'.
            PERFORM get_sflight_data .
            PERFORM display_sflight_data .
          ENDIF.                           " IF LW_CHECKBOX..
        ENDIF.                             " IF SY-SUBRC..
      ENDDO.                               " DO W_LAST_LINE
    ENDFORM.                               " GET_SFLIGHT_DATA1
    *&      Form  MODIFY_CHECKBOX
    This subroutine  MODIFIES accordingly
    There are no interface parameters to be passed to this subroutine.
    FORM modify_checkbox .
      CLEAR w_currentline.
      WHILE w_currentline  LE w_last_line.
        READ LINE w_currentline.
        MODIFY LINE w_currentline FIELD VALUE w_checkbox FROM w_checkbox.
        ADD 1 TO w_currentline.
      ENDWHILE.                            " WHILE w_line LE w_last_line.
    ENDFORM.                               " MODIFY_CHECKBOX
    Regards,
    Sravanthi

  • MDT 2013 - Create New User

    Hello,
    I've recently setup MDT 2013 to deploy some customized images that we deploy to student laptops, that were sysprep-ed and captured with ImageX.  I've uploaded the custom image WIM files to MDT, and setup a task sequence.  Almost everything works,
    thanks to Microsoft documentation and searches of this forum for various questions I've had, however I'm stuck on two items:
    1.) MDT forces an administrator account to be created during the process.  That's not such a huge issue, but I'd like to disable the administrator account at the end of the task sequence.  I'm not sure where/what to add to do this.
    2.) We would like the machine, after imaging, to deploy the generic Windows Welcome, as if it had just been purchased from the OEM.  This way when the student receives the imaged laptop, they can create their own personal account.  These laptops are
    not bound to AD.  Right now, when the task sequence finishes the systems are logged in as an administrator.  Again, I'm not sure what code to add to the task sequence (and where) to accomplish this.
    Any information or links on what I'm looking for would be greatly appreciated.  I'm sure that both these items are possible, but I'm not using the proper terminology on my searches to find the information I'm looking for.  Thanks!

    I question the usage of MDT in this scenario. I also question your premise that your users should go into OOBE Setup.
    MDT is designed to assist IT departments in getting windows up on machines in a End to End scenario.
    MDT prompts which Task Sequence, Language/Locale/TImezone, Applications, drivers, and User Data Migration Status. Once the TAsk Sequence has started, MDT should be as automated as possible. No prompts, no user interaction.
    What you are asking for is the opposite, you want user interaction during deployment, and rather than customizing each deployment, the image is pre-configured. (Unless you have different *types* of machines that require driver loading via MDT).
    IN your case I would recommend just slapping an install.Wim up on a WDS server, and custom crafting an unattend.xml file to prompt each user for user accounts. (as long as you don't have to worry about drivers).
    The other solution is to prompt the user for their new user account from the MDT wizard, and slam that into the machine during the task sequence (and removal of the Administrator account with net user administrator /active:no )
    I actually created a powershell script to accomplish this:
    http://keithga.wordpress.com/2013/09/24/microsoft-account-automation-in-windows-8/
    This alternative solution is MDT 400 level work. Scripting required. :^(
    Keith Garner - Principal Consultant [owner] -
    http://DeploymentLive.com

Maybe you are looking for

  • Extracting Data from APO PP/DS to BW

    Hi Gurus, I'm trying to extract data from APO PP/DS (SCM 5.1) to BW (BI 7.0). I'm new to SCM and am not sure how the extraction from SCM to BI happens other than that we need to read data from LiveCache. The extractor we are interested are 0APO_PPDS_

  • How can I copy Pages/Numbers files to my laptop?

    I just bought the Pages and Numbers programs from the App Store, but I haven't yet figured out how to copy a finished document from iPad to my MacBook Pro. I tried GMail in both Safari and Opera Mini, but I couldn't find a choice to send attachments.

  • What's the deal..anyone know what's causing the memory card to dismount on a regular basis?

    The only problem I'm having with my t/bolt (apart from the crappy touchy keyboard) is my memory card dismounts and cites a read only error. I'm looking for a software conflict or a setting or a suggestion...besides dropping it in the toilet.

  • Problem in printing boxes in second page

    Hi all,          I have created a form to display item information.i have designed a table with box command in main window of the first page. In this table it has to print the item data.upto this thing its ok. Now suppose if the item data extends to

  • [Solved] Starcraft 2 crashe with wine bunblebee nvidia driver

    After the upgrade of yesterday (2013/05/12) my starcraft II (under wine) crashes. After a downgrade of the nvidia driver ( and linux kernel ) my SCII is running once again perfectly, so I guess there is something wrong between the new nvidia driver (