Need help with maintaining variable choices in new session

I have a flash app. set up with several variables. Is there a
simple action script that will allow the user to maintain their
choices after closing the .swf and re-launching it?
Thanks in advance for your help.

how are you checking if those components have been checked or
ticked. actually, i probably don't want to know that.
you really should be using a listener to detect when your
components have changed and then you can use the changed method to
set your variables and update your sharedobject.

Similar Messages

  • Need help with accesing variable with xpath.

    Hi All,
    I need help with xpath in "Switch" BPEL construct. Switch is used to compare value assigned to output vairable and follow one path for "Deny" and another for "Approve". The following is data type for output variable.
    <element name="processResponse">
         <complexType>
              <sequence>
                   <element name="result" type="string"/>
              <sequence>
         <complexType>
    </element>
    The following expressions in Switch statement throw lava.lang.Exception. It error is xpath internal error".
    x20:compare('Deny',$outputvariable.payload/client:result)
    x20:compare('Deny',bpws:getVariableData('outputvariable','payload','/client:processResponse/client:result')
    It works with x20:compare('Deny','Deny'). So I assumed it must be accessing the variable.
    Any help greatly appreciated.
    Thanks,
    Satish

    Cany you try the following
    x20:compare('Deny',string($outputvariable.payload/client:result))
    x20:compare('Deny',string(bpws:getVariableData('outputvariable','payload','/client:processResponse/client:result'))
    Regards
    Albin I
    http://www.albinsblog.com/

  • Need HELP with JetDirect 500x - I'm New to this Apple Thing!

    Hello. I am very new to Apple. I have been using PC's for years and I am over them. I am slowly trying to understand the differences and where to begin. I need help getting my printers setup with a JetDirect Box. Here is what I have.
    HP JetDirect 500x, with a dedicated IP address of 192.168.10.2, which is DHCP assigned by my wireless router. Connected to Port1 is a HP OfficeJet R40; Connected to port 2 is a HP Deskjet 9800.
    It appears that the drivers for both printers are built into OS 10.6.3.
    How do I set these bad boys up? I found one article where someone was doing something similar to me but I tried what he did and had no success.
    Here is what I tired in the Add Printer Dialog box:
    Protocol: HP JetDirect - Socket
    Address: 192.168.10.2:1 -or- http://192.168.10.2/ipp/port1
    I also tried Port 2. No luck.
    Please help. I am trying hard to get there. Thanks

    Welcome!
    The HP web site shows Mac drivers for up to 10.6 for the 9800 but no Mac drivers at all for the Deskjet 500. Only Windoze and Linux drivers listed for that one.
    I hope someone can jump is with a comment on the Mac compatibility of the JetDirect print server. We tried for years to get one to connect multiple printers at work and eventually threw in the towel. Maybe the newer ones are better, but I noticed the HP site recommends using USB printer sharing if it is necessary to network a 9800 on Macs. Could be a clue. You might need to contact HP support to find out if the JetDirect is Snow Leopard compatible.
    The last two printers we bought for our home network--a Brother 5250N b/w laser and an HP PhotoSmart C6280--were bought because they came with ethernet ports. They were a cinch to set up on the wired network and service six Macs, two via the wireless router and four on the wire.
    regards from the next state over,
    Allan

  • Need help with a variable

    I ahve a report that I want to show Free to Sell stock - stock that is in the warehouse that hasn't been allocated.
    I have created a variable called Freestock which basically uses a Physical Stock quantity minus the allocated stock quantity. 
    It is currently just adding all the figures together, instead of splitting it by item, so this is wrong
    Here's the formula I'm using ;
    =Sum(<Warehouse Physical Quantity>-<Outstanding Allocated Quantity>)
    Any help would be greatly appreciated in getting this sorted
    Thanks in advance

    George,
    I am sure the formula is correct.
    It is currently just adding all the figures together, instead of splitting it by item,
    You need to pull this variable with the item object. it will automatically break the number by the Item.
    Hope this helps.
    Kashif

  • Need help with previously purchased download onto new computer

    need help instaling old previously purchased photoshop elements 10 on to new computer. I do have the serial #. just cannot find where/how to do this.??

    Hi jjwillis1 ,
    Please click on the below mentioned link and expand photoshop elements 10
    http://helpx.adobe.com/photoshop-elements/kb/photoshop-elements-10-11-downloads.html
    Let me know if you need more info.
    Thanks

  • Newbie needs help with passing variables or creating flash object based on parameters

    Hello Community,
    I'm an amateur developer of Ms Access databases. In one of my applications I want to visualize the options available when reaching a certain score.
    What I'd like to get from this trial period, is a flash animation of a dartboard. Depending on an array of variables that provides the fill color (or reference thereof) the layers of the flash object will be dynamicly created, altered, or switched. The dartboard itself remains "static". I'm hoping to use 9 colors.
    I can manipulate the array any way needed. I can provide XML coding to pass the array variables. I'm just too new and untrained to incorporate this in a Edge animation or Dreamweaver.
    There is no need for interaction, once the object is created (ie no user feedback).
    Can someone point me in the right direction?
    thanks in advance,
    Jay from Stockholm

    Hi,
    I see you're using System.Data.OracleClient (which has been deprecated by MS) rather than Oracle.DataAccess.Client, but this works for me with Oracle's ODP, maybe it will help.
    Cheers,
    Greg
    using System;
    using System.Data;
    using Oracle.DataAccess.Client;
    using Oracle.DataAccess.Types;
    public class dataadapterfill
        public static void Main()
            using(OracleConnection con = new OracleConnection("user id=scott;password=tiger;data source=orcl"))
                con.Open();
                using(OracleCommand cmd = new OracleCommand("select ename from emp where ename = :1", con))
                    cmd.Parameters.Add(new OracleParameter("myename", OracleDbType.Varchar2, 50)).Value = "KING";
                    OracleDataAdapter da = new OracleDataAdapter(cmd);
                    DataSet ds = new DataSet();
                    da.Fill(ds);
                    foreach (DataRow row in ds.Tables[0].Rows)
                        Console.WriteLine("ename: {0}", row["ename"]);
    }

  • Need help with getting variable from static

    Hello,
    What I am building is an application that prompts for username/password before it shows the main screen. Once they have successfully logged in, I need to assign the username that they used, in order to use it for a button event if the make any updates.
    Here is the code that I have tried to use.
    public String username;
    ///This set's the public variable username
    public void setUserName(String UserName){
    username = UserName;
    /////////////////Here is where they login, and assign the name to setUsername
    public static void main(String args[]) throws SQLException {
    java.awt.EventQueue.invokeLater(new Runnable() {
    public void run() {
    JFrame frame = new JFrame();
    JTextField userName = new JTextField();
    JTextField passWord = new JTextField();
    Object[] options = {"OK","CANCEL"};
    Object[] msg = {"UserName:", userName, "Password:", passWord};
    final JOptionPane op = new JOptionPane(msg, JOptionPane.PLAIN_MESSAGE, JOptionPane.OK_CANCEL_OPTION){};
    JDialog dialog = op.createDialog(frame, "Please Login");
    dialog.show();
    int result = JOptionPane.OK_OPTION;
    try {
    result = ((Integer)op.getValue()).intValue();
    }catch(Exception uninitializedValue){}
    if(result == JOptionPane.OK_OPTION) {
    String userID = userName.getText();
    String passID = passWord.getText();
    Main myMain = new Main();
    myMain.setUserName(userID);
    if(!userID.equals("") && !passID.equals("")) {
    new Main().setVisible(true);
    }else {
    // user cancelled
    ////here is the button event that also will need the username
    private void selButtonActionPerformed(java.awt.event.ActionEvent evt) {
    Connection conn = null;
    Statement stmt3 = null;
    Statement stmt4 = null;
    ResultSet rset3 = null;
    ResultSet rset4 = null;
    String usernum = null;
    String xemu = null;
    String loc = null;
    String ustat = null;
    String manager = null;
    String dept = null;
    String Add = "Add";
    String Update = "Update";
    String groupID = "9999";
    Vector columnNames = new Vector();
    Vector data = new Vector();
    String Manager_info[] = {"managerindex", "managers", "managername"};
    String Account_info[] = {"acctypeindex", "acctype", "acctypedesc"};
    String Group_info[] = {"groupnum", "groups", "groupcode"};
    String System_info[] = {"systemindex", "systems", "systemname"};
    String Dept_info[] = {"departindex", "departments", "departname"};
    String Xemu_info[] = {"xemuindex", "xemulator", "xemudesc"};
    String Location_info[] = {"locindex", "location", "locdesc"};
    String Ustatus_info[] = {"ustatusindex", "userstatus", "ustatusdesc"};
    Date myDate = new Date();
    SimpleDateFormat formatter = new SimpleDateFormat("dd-MMM-yy");
    String today = formatter.format(myDate);
    System.out.println(username);
    I am trying to set the public username variable to what the person enters, however since I am creating a seperate instance of it, I don't believe it will work. Any help would be very much appreciated.
    Thanks.
    Josh

    I am developing in Netbeans. If I try to remove the static keyword from main(), netbeans canno't find a main to run. I have created the User class.
    Here is the main again to show what I have done.
    public static void main(String args[]) throws SQLException {
    java.awt.EventQueue.invokeLater(new Runnable() {
    public void run() {
    User user = new User();
    JFrame frame = new JFrame();
    JTextField userName = new JTextField();
    JTextField passWord = new JTextField();
    Object[] options = {"OK","CANCEL"};
    Object[] msg = {"UserName:", userName, "Password:", passWord};
    final JOptionPane op = new JOptionPane(msg, JOptionPane.PLAIN_MESSAGE, JOptionPane.OK_CANCEL_OPTION){};
    JDialog dialog = op.createDialog(frame, "Please Login");
    dialog.show();
    int result = JOptionPane.OK_OPTION;
    try {
    result = ((Integer)op.getValue()).intValue();
    }catch(Exception uninitializedValue){}
    if(result == JOptionPane.OK_OPTION) {
    String userID = userName.getText();
    String passID = passWord.getText();
    user.setName(userID);
    user.setPassword(passID);
    if(!userID.equals("") && !passID.equals("")) {
    //Auth.setUserName(userID);
    //Auth.setPassword(passID);
    new Main().setVisible(true);
    }else {
    // user cancelled
    This set's the variables
    Here is the beginning of the evt that I am using to try and get the data.
    private void selButtonActionPerformed(java.awt.event.ActionEvent evt) {                                         
    Connection conn = null;
    Statement stmt3 = null;
    Statement stmt4 = null;
    ResultSet rset3 = null;
    ResultSet rset4 = null;
    String usernum = null;
    String xemu = null;
    String loc = null;
    String ustat = null;
    String manager = null;
    String dept = null;
    String Add = "Add";
    String Update = "Update";
    String groupID = "9999";
    Vector columnNames = new Vector();
    Vector data = new Vector();
    User user = new User();
    String User = user.getName();
    System.out.println(User);
    String Manager_info[] = {"managerindex", "managers", "managername"};
    String Account_info[] = {"acctypeindex", "acctype", "acctypedesc"};
    String Group_info[] = {"groupnum", "groups", "groupcode"};
    String System_info[] = {"systemindex", "systems", "systemname"};
    String Dept_info[] = {"departindex", "departments", "departname"};
    String Xemu_info[] = {"xemuindex", "xemulator", "xemudesc"};
    String Location_info[] = {"locindex", "location", "locdesc"};
    String Ustatus_info[] = {"ustatusindex", "userstatus", "ustatusdesc"};
    Date myDate = new Date();
    SimpleDateFormat formatter = new SimpleDateFormat("dd-MMM-yy");
    String today = formatter.format(myDate);
    String [] str = {
    "EmpID", "Account", "System", "Type", "Status", "UserID", "Group"
    This gives me a null on the println, how can I get the data that was entered in main()?
    Thanks,
    Josh

  • Need help with Westell Versalink 327w on new computer with Windows Vista

    Greetings!
    I'm having trouble trying to connect to my Westell Versalink 327w with my new computer. My old computer and laptop work perfectly fine in connecting to the router. However, when I plug in the Ethernet cable to the router on my new computer, the computer doesn't recognize that a connection is even established. (As if it's not actually plugged in.)
    The port on the back of my computer is perfectly fine, as it works with another internet connection I have setup. The cable and router work fine on both my old computer and laptop. (In fact, I'm using the laptop to post on the forums right now.)
    The Router itself shows the Ethernet connection that's plugged in as a blinking green light.
    Is there a driver or some software I need to install on the new computer? Any specific settings?
    I'm using Windows Vista on the new computer, and the old computers both have Windows XP. Is there some sort of complicated new setup that Vista has which is preventing the connection, or like I said, is there software or a driver that I didn't install on the new computer that's making it not recognizing the router at all?
    Any help would be much appreciated!

    IceSage,
    Hey there!  Drivers would not required for an ethernet connection to the Versalink.  This appears to be an issue with Vista specifically.  If you have not already done so you may want to disable IPv6 in the TCP/IP settings of your LAN controller:
    Network and Sharing Center > Manage network connections > Right click on "Local Area Network" > Properties > Uncheck "Internet Protocol Version 6 (TCP/IPv6) > Click "OK" > Reboot > cross fingers
    Let us know if that works.
    Regards,
    Chris
    Christian
    Verizon Telecom
    Fiber Solution Center
    Notice: Content posted by Verizon employees is meant to be informational and does not supercede or change the Verizon Forums User Guidelines or Terms or Service, or your Customer Agreement Terms and Conditions or Plan.

  • Need help with Airport Extreme and my new Verizon Fios Internet connection

    I just got the Fios install, and the tech and I couldn't figure out how to use my Airport Extreme as my wireless connection. I'm not real tech savvy (and I've only been a Mac guy for about 18 months). My current arrangement is the basic Verizon setup with the Airport out of the loop. How can I go about moving from here back to using my Airport Extreme? I need the range! Thanks in advance for your help.

    Have you tried resetting and reconfiguring the AirPort Extreme base station (AEBS)?
    Are you using OS 10.5 or OS 10.4 or earlier?
    Are you using the round 802.11b/g AEBS or the square 802.11b/g/n AEBS?
    If you are using OS10.5 OR the square 802.11b/g/n AEBS you should refer to "Designing AirPort Networks Using AirPort Utility" (direct PDF link).
    Otherwise you should refer to "Designing AirPort Extreme Networks" (direct PDF link).

  • Need help with refreshing open window in new tab

    Hello all,
    First, all my other problems I've solved.  One last thing, being a newbie and trying things I've found on the net and them
    not working, I can use your help one last time.  My code has a Home page that peforms a Search (most of you have
    I am sure done this), and from that search submit a window opens in a new tab (browser tab) and has the results on
    it.
    That works fine.  What I'm having trouble with is being able to perform a new search and refreshing that open window
    with the new data.  Right now I am closing that window by clicking on the tab and then performing the search.
    While it works, it's not user friendly.
    So, I've tried the usual  mywindow=window.open("url.cfm"); and then trying to grab that handle to refresh, but to
    no avail.  Has anyone done this?
    Thanks!

    Here's an example of how you could do it.
    <script>
    function submitAndFocusTarget(form) {
      var win = window.open("", form.target);
      form.submit();
      win.focus();
    </script>
    <form action="index.cfm" target="mysearchwin" method="get" onsubmit="submitAndFocusTarget(this); return false;">
      <input type="text" name="search" value="" />
      <input type="submit" value="search" />
    </form>

  • I need help with the sync and the new update.

    I have had 3 new updates recently. I'm now into iTunes 8.1-8.6 or something. I've got two problems that I can't find answers for in the help.
    First off, The new iTunes is pink with a black side-bar. I was wondering if there is a way to change it back to white and gray.
    Next, when I plug my iPod into the coputer, it says that it has detected the iPod, but can't read it. It then tells me to unplug it and try again. I have done this over 300 times, over two months. It dosn't work. My iPod still dosn't read, and I now have almost twice as many songs on iTunes, as I do on my iPod.
    Please help.

    My computer tells me iTunes 8.0 is the most current version. I'll assume that's what you're running, but you can check by opening iTunes and going to Help > About iTunes.
    You can resolve the color issue by:
    Open your Control Panel
    Click "Switch to Classic View" on the left
    Open the Display icon
    Choose the Settings tab
    Move your color settings to highest: 32-bit
    Regarding the iPod error... what type of iPod is it?
    CG

  • I need help with my Iphone, Itunes, and new SSD and other SATA harddrive where old Itunes files are kept.  I cannot sync up new albums I ripped to itunes.

    I recently bought a new SSD and installed windows and all major files to it including Itunes.  My old 500GB SATA harddrive is still connected and accessible to Itunes, but I cannot get any new album I download to Itunes to sync up with my 64 GB Iphone 5.
    Please help me as I am going raving mad over this.
    P

    Follow the directions here:
    https://discussions.apple.com/docs/DOC-3141

  • I need help with the installation of my new SSD... PLEASE HELP

    Hello,
    Recently I purchased a Samsung 840 EVO SSD for my Late 2011 MacBook Pro. I removed the optical drive from my device and repositioned the original HDD into an optical drive caddy and added my SSD where the HDD was originally.
    What I now want to do is reinstall OS X 10.9.1 onto my SSD which is named "Samsung SSD". I have backed up my computer using Time Machine. I restarted my computer and held down CMD+R  and clicked on the prompt to reinstall OSX onto my new SSD. About an hour after it started reinstalling it said it could not as the device was damaged... it is brand new and was treated very carefully, i am certain it is not damaged. Am I doing something wrong????? PLEASE HELP

    The only email support is iTunes store support.  I'm not sure if they can help you with this, but you can reach them by filling out this form: https://www.apple.com/emea/support/itunes/contact.html.  Or, you can try calling the support number for your country if it's listed here: Contact Apple for support and service - Apple Support.

  • Need help with basic program - I am new to this

    I need to write a very basic code to display my name on the screen as follows
    RR OOO
    R R O O
    R R O O
    RR O O
    R R O O
    R R OOO etc etc etc
    to spell out robert
    i have no idea where to begin

    You need to store the patterns for each letter of the alphabet somewhere - say in an array. You can then read out the patterns to build up strings.
    For example:String[][][] letters = new String[][]
    { {"A", "  A  " ... },
      { "R", "RRRR", "R    R", "R    R", "RRRR", "R    R", "R    R"},
    }

  • Need help with pc build choice!

    Hi, Everyone,
    I have two questions actually. I want to re build my tower and i am looking at this option.
    MSI- 990FXA-GD80 AMD 9 series mother board AM3+ ATX
    CPU- FX-8120 processor- eight core
    Gpu's- Evga super clocked GeForce GTX 560 Ti 1 GB GDDR5 X2
    Ram- Corsair XMS3 8 GB DDR3 Ram 1600Mhz  (2X4GB)X2
    PSU- ThermalTake TR2 RX 850 watt ATX
    HHD- 1  Corsair 11GB SSD, 2 1 TB HDD
    Optical drives- 1- Lite -On 12x  Blue ray writer 1- DVD Rw+
    Fans-   2 x 140 LEDS mm, 3 120 mm LEDs
    15-1 all in one smart card reader
    case-  Cooler Master Scout 
    Keyboard- LogicTech G15 Gaming keyboard
    mouse- Microsoft 3000 laser
    Monitor- Gateway 23" LCD 1080p HD
    speakers- LogicTech Z506 5.1 surround sound HD
    O.S- Windows 7 service pack 2
    Ok second question is.. is 850 Watt good enough for the gpu setup and all around tower setup?
    --Current build---
    Asus- 880G M4A88TD V - EVO usb 3.0 ATX
    PSU- ThermalTake TR2 650 Watt ATX
    RAM- Corsair 8 GB 1600 Mhz ( 2X4GB)
    CPU- AMD Phenom II X4 Black edtion 955 SE 
    GPU- CrossFire X 5770s 1 GB GDDR5 Ram
    HHD- Dual 1 TB Western digtial Green drives, and one external 1 TB Western Ditgial
    Optical drives- 2x- DVD Rw+, and 1 15-1 All in one card reader
    Keyboard- G15 Gaming keyboard
    mouse-Microsoft 3000 lazer
    Monitor- Gateway HD 1080p 23" LCD
    Speakers- z506 logictech 5.1 surround sound HD
    O.S- Windows 7 Service pack 2
    Any help would be greatly helpful.
    thanks again

    Make sure the motherboard is the third revision as the earlier two had problems with the i5-2500K (Sandy Bridge)
    I prefer Asus motherboards but doesn't mean the Gigabyte is a problem. (I note that it scored 4 eggs...)
    May not make a difference in Photoshop but for Premiere the Geforce video cards with GDDR5 are preferred.
    The LiteOn iHas 224 does lightscribe which is a nice touch for clients/gifts.
    There is no room to save as I would consider your build minimum specs for a nice photoshop experience.
    As for SSD drives...my research of reviews and articles makes me feel the technology is not ready for mission critical work. So if you are running a business then I recommend not using SSD drives. Rather look at Raptor 10,000 rpm drive for Windows and Photoshop and use the Spinpoint for storage. If not business then I've read the intel x25 SSD drives are solid but I have no personal experience with them.
    Cheers,
    Steve

Maybe you are looking for