Flash + ASP easy question

Hello!
This is my 1st time doing Flash + ASP integration.
Each time i see a tutorial using this 2, all i see is: Flash
has dynamic fields with var named the same as the one in ASP. Then
it sends data to ASP and he returns the var value and it is written
in that var dynamic field.
My question is:
Can i start my vars as Strings (not using those dynamic
fields), send the data to ASP, ASP returns as i will stay with the
value inside my 1st var?
Example:
var myVar:String = new String();
loadVariables ("myAsp.asp", "this", POST);
// if i have a myVar being send from asp i will get here the
result:
// myVar = something coming from ASP?
If someone did not get what i want please tell i will try to
explain again :p
Thanks!

The Flash
loadVariables
global function requires the MIME format
application/x-www-form-urlencoded (a standard format used by CGI
scripts).
This is also true of the more current
LoadVars
and
[L=XMLSocket]http://livedocs.macromedia.com/flash/8/main/00002906.html">XML.
So you may need to create a web server side application that
exports the XCell data to the above formats.

Similar Messages

  • Flash + ASP + Excel question

    Hello everyone:
    Here is my problem:
    I need to display an .asp file from flash that converts some
    data from an MSSQL Server Database (on the web) to an Excel table.
    The .asp file uses the MIME Code:
    Response.ContentType = "application/vnd.ms-excel"
    This .asp works fine, but when I try to access the file from
    a Flash Application using
    loadVariables("myasp.asp", this);, it does not do anything.
    Is there any other way to access this file from flash?, and
    if there is, what am I doing wrong?
    Thank you in advance
    Gabriel

    The Flash
    loadVariables
    global function requires the MIME format
    application/x-www-form-urlencoded (a standard format used by CGI
    scripts).
    This is also true of the more current
    LoadVars
    and
    [L=XMLSocket]http://livedocs.macromedia.com/flash/8/main/00002906.html">XML.
    So you may need to create a web server side application that
    exports the XCell data to the above formats.

  • A really easy question...I think.

    Hi everyone,
    I have turned the internet inside-out looking for a simple
    tutorial on this and so far I think they have all taken me kind of
    a long way around. Basically what I want is text/photos/buttons/
    inside the
    box that are
    "scrollable" without having to scroll left or right. My Flash
    document is 800x533px. I've tried doing the whole ScrollPane thing
    going through about 5 tutorials with different methods but it says
    I have to do New Symbol/Movie Clip and the so-called "stage" that
    you construct the movie on doesn't allow you to change dimentions
    as far as I know. I can only change the dimensions of the main
    Stage and the ScrollPane. I feel like this is a simple task so any
    help would be greatly appreciated. I apologize if this is a stupid
    question. Thanks everyone.
    ~Bryan

    kodemonki wrote:
    > Ok, I think this is a really easy question, but I've
    been looking for a while
    > online, in these forums, my site's code, and in my WACK
    book.
    >
    > How do you set a request time out for a specific page so
    that it can run for
    > an hour or so? I'm using 4.5 so I can't use cfsetting,
    but I'm pretty sure
    > I've seen this before.
    >
    > Please help, thanks!
    >
    I have not been able to dig this out, but I have a vague
    memory of there
    being an URL parameter you could pass to a page to allow it
    to run longer.

  • Easy Question: Illegal Start of Expression

    This is a ridiculously easy question... but I am having trouble with it...
    Anyway, here is the line of code that is giving me trouble:
    jButtons = {{jButton1, jButton5, jButton9, jButton13},
    {jButton2, jButton6, jButton10, jButton14},
    {jButton3, jButton7, jButton11, jButton15},
    {jButton4, jButton8, jButton12, jButton16}};
            That's it. jButton1 through jButton16 are all jButton objects (for a GUI). jButtons is an array (4 by 4) of jButton. All are global variables, the buttons are all initilized (in fact, that was the problem I had before, and why I need to put this here: otherwise I get a null pointer exception).
    Surprisingly, such a simple line of code causes TONS of errors to occur. To save space, {...} * 2 means that the exception occurs twice in a row, errors are separated by comma's.
    { Illegal Start of Expression, {Not a statement, ; required} * 2} * 4, Empty statement
    A similar statement (int[] test = {{1,2,3},{4,5,6}};) works perfectly fine.
    Please help, doing this will reduce the size of my code to about a third of the size of the code. And then I can laugh in the faces of those people who say that I write long, and in-efficient code! MWHAHAHAHAHAHA!!
    However, I will keep at it, and Murphy's Law states I will find a solution 10 seconds after posting. If I do, I will edit this post, and tell you guys the answer ;)
    [Edit]In case you are wondering... all my other code is correct. Here is the adjacent 3 methods:
    private void jButton16ActionPerformed(java.awt.event.ActionEvent evt) {
        ButtonClick(3,3);
        // Variables declaration - do not modify
        private javax.swing.JButton jButton1;
        private javax.swing.JButton jButton10;
        private javax.swing.JButton jButton11;
        private javax.swing.JButton jButton12;
        private javax.swing.JButton jButton13;
        private javax.swing.JButton jButton14;
        private javax.swing.JButton jButton15;
        private javax.swing.JButton jButton16;
        private javax.swing.JButton jButton17;
        private javax.swing.JButton jButton2;
        private javax.swing.JButton jButton3;
        private javax.swing.JButton jButton4;
        private javax.swing.JButton jButton5;
        private javax.swing.JButton jButton6;
        private javax.swing.JButton jButton7;
        private javax.swing.JButton jButton8;
        private javax.swing.JButton jButton9;
        private javax.swing.JLabel jLabel1;
        // End of variables declaration
         * @param args the command line arguments
        public static void main(String args[])
            jButtons = {{jButton1, jButton5, jButton9, jButton13},
    {jButton2, jButton6, jButton10, jButton14},
    {jButton3, jButton7, jButton11, jButton15},
    {jButton4, jButton8, jButton12, jButton16}};
            int[][] test = {{1,2,3},{4,5,6}};
            java.awt.EventQueue.invokeLater(new Runnable() {
                public void run() {
                    new GameWindow().setVisible(true);               
        String[] row1 = {"1", "5", "9", "13"};
        String[] row2 = {"2", "6", "10", "14"};
        String[] row3 = {"3", "7", "11", "15"};
        String[] row4 = {"4", "8", "12", ""};
        String[][] labels = {row1, row2, row3, row4};
        int blankX = 3;
        int blankY = 3;
        static javax.swing.JButton[][] jButtons;
        private void DisableAll()
            for (int looperX = 0; looperX < 4; looperX++)
                for (int looperY = 0; looperY < 4; looperY++)
                    jButtons[looperX][looperY].setEnabled(false); 
        Edited by: circularSquare on Oct 13, 2008 5:49 PM
    Edited by: circularSquare on Oct 13, 2008 5:52 PM

    You can only initialise an array like that when you declare it at the same time. Otherwise you have to do as suggested above.
    int[] numbers = {1,2,3,4}; //ok
    int[] numbers;
    numbers = {1,2,3,4}; // not ok

  • Netboot will not working, getting globe, then flashing folder with question mark.

    I just created a netboot image which went off without any problems.  I copied the two .nbi folders to my NetBootSP0 folder, and enabled them within netboot.  My OS X server which is my netboot server and dhcp server.  When I boot using N or Option N, I get the flashing globe for several seconds, the request goes through to the server and gets ACK {SELECT} however a few more seconds after, I get the flashing folder and question mark before it does a normal boot.  I have read the other posts about DHCP and Subnets.  My server and and clients are all 255.255.0.0.  Any suggestions would be very helpful as I need this to work for several buildings. 

    This might work for some:
         I had the same problem of the netboot image not mounting/opening, spinning globe then booting back to the Mac HD on the client and it was only when I remembered that we had manually experimented with jumbo frame rates and the MTU settings for our 32TB RAID in the Hardware settings for Ethernet ports on our servers. I turned the settings back to "Automatic" and 1000baseT on, then the whole NetInstall and Neboot was working perfectly again.

  • Easy question - how to increase number of recent files in menu?

    This is for CS5 if it matters.
    I'm an infrequent Illustrator user (at best) but I have what I hope is an easy question: I want to increase number of recent files showing in the menu.
    I can't find a preferece to set such as in PS and almost every other application on the face of the earth. I've tried to reset the preferences file (start Illustrator with ctrl-alt-shift held down) but I'm stuck at 4 files, which I assume is the anemic default option.
    Is there an easy way to do this that Adobe has hidded somewhere? As expected, it can't be found in the help, I can't find it on the forums, or even on the net, but I do know it can be done because I can see other installs showing lots of files in the list.
    thanks for any help.

    This might be because of a new feature that you can turn off for each object, and alltogether. When you create a new document at the bottom, make sure 'Align New Objects to Pixel Grid' is unchecked.  After you have created a new file, you can still go into the 'TRANSFORM' palette (SHIFT+8), use the little right top menu, and make sure 'Align New Objects to Pixel Grid' is unchecked. And if you want to get fancy with each object; you can select an object, and look at the 'TRANSFORM' palette at the bottom is a place to uncheck the 'Align to Pixel Grid' at your disposall.
    Before I found this, it ruined my week.
    http://www.kenwells.com

  • Easy question I'm sure. imac hard full (500gb) mostly from iphoto. no capacity left. what are my options? I've thought of an external drive of 1tb and then a 2nd external drive of 3tb to back up both???? please help.

    easy question I'm sure. imac hard full (500gb) mostly from iphoto. no capacity left. what are my options? I've thought of an external drive of 1tb and then a 2nd external drive of 3tb to back up both???? please help.

    Those are the options - more space is more space.
    Moving the iPhoto Library is simple:
    Make sure the drive is formatted Mac OS Extended (Journaled)
    1. Quit iPhoto
    2. Copy the iPhoto Library from your Pictures Folder to the External Disk.
    3. Hold down the option (or alt) key while launching iPhoto. From the resulting menu select 'Choose Library' and navigate to the new location. From that point on this will be the default location of your library.
    4. Test the library and when you're sure all is well, trash the one on your internal HD to free up space.
    Regards
    TD

  • Flashing folder with question mark at Startup

    Here is what I know so far.
    - The computer was powered off by pushing the power button without shutting down.
    - The computer was then restarted and it was coming into the white screen with the Apple logo in the middle, but i noticed that it was skewed slightly (like someone took a 4:3 ratio screen and stretched it to a 16:9) and then it would show a circle slash icon and then the flashing folder with a question mark on it.
    - It would not come up in single user mode (Command + S) and it said that there was an error loading kernel 'mach_kernel'
    - It would not come up in safe mode (Shift)(The flashing folder came up again)
    - I reset the PRAM (Command + Option + p + r) and it seemed to fix the problem with the stretched screen but did not help the boot situation (still got flashing folder)
    - I did the start up where you can select the hard drive to boot with, it owed the HD and i selected it, but then i got the flashing folder with question mark.
    - It would not come up in Verbose Mode (Command V) Error loading Kernel again.
    - I bought a FireWire cable and hooked it to another MacBook Pro, and booted the faulty Mac into Target Disk Mode, the FireWire logo came up on the screen and bounced around like all forums said that it would, but the drive would not show up on my host. I checked the System Profiler on the host and it did acknowledge the Target Disk Mode was there, but the drive of the target would not show up on the host. I restarted the host, nothing. I checked all of the connections, nothing. I replugged all of the connections, nothing. I even reversed the FireWire cable, nothing.
    - I have DiskWarrior 4 if i can get the drive to show up in TDM, but nothing so far.
    Does anyone have any suggestions?

    Thanks for your help guys. I managed to get the computer started by holding down C at the Start Up with the Install Disc 1 in the computer. The disc was really kindof unnecessary, as the newest version of Mac OS X (10.4.10) became available via the hard drive.
    I then found out that the battery was not installed, so I reset the management system by removing the A/C power, the battery and pushing the power button for 5 seconds, and then reconnecting everything. It did not help, the battery is bad i guess, so I am going to call AppleCare and get a new battery.
    Thanks for your help.

  • Flash Backwards Compatibility Question

    Hi,
    About a year ago I created a project using the Adobe Flash 5.5 Demo.
    I need to edit the Flash 5.5 file but my employer only has Adobe Flash 5 so I am not able to edit the 5.5 project using Flash 5.
    Question - Can the Flash 6 Demo open a Flash 5.5 file and re-save it as a Flash 5 document?
    If I download the latest Adobe Flash 6 Demo will I be able to open the Flash 5.5 file and then save it back as a Flash 5 file so I can edit it using my employers Flash 5 version?

    Yes, you can open the file with Flash CS6, and then Save it in format Flash CS5
    FLASH Proffesional CS6 ( Flash Professional 11)

  • Easy question about Reformatting

    Hello all,
    I am trying to reformat my HD after I have deleted Windows XP off of a partition. The reason for this is an upgrade to Vista and a larger allotment of HD space. My question is:
    I am using Backup v3.1.1. (v369) and I have FULL backup files of my Home folder, and my Music folder (as backup for my backup) for all my iTunes libraries. These are located on a portable HD. Are these the correct files to have backed up in order to have my MAC the way it was before I started the process? If so, then once the reformatting is complete, how do I get it all back onto my MAC permanently? Will all my apps and tweaks work as before?
    I am sure this is a simple question, however, I have never had to do this with a MAC, and I want to make sure I have all bases covered before I begin this. Any other comments or advice would be greatly appreciated.
    Thanks All!

    You call this an easy question ???
    Just messin with ya
    Your home folder is the most important folder containing your music, documents, preferences etc. but a lot is also stored in the system folder and library folder outside your home folder, if you want to be ensured of an exact copy of your current system the best way to go at this is to clone your system partition.
    The app i use for this is carbonCopyCloner
    http://www.bombich.com/software/ccc.html
    To add to this.. i've heard there is software for the mac that allows you to make adjustments to the size of your partitions without having to format the drive, i don't know the names of these products but i do know that it's very risky to use them, if you decide to use an app like that make sure you have proper backups of everything just in case it goes wrong.
    Message was edited by: Pr0digy V.

  • HT1366 How to fix Flashing Folder with Question Mark on Mac

    How to fix Flashing Folder with Question Mark on Mac

    RichardEL is probably correct.  I’ll go through your questions.
    > there is no Mac OS partition, I assume it would be directly underneath the HD on the left?
    I have not seen this particular condition where the hardware disk icon appears but the system volume that is supposed to be below it does not.  The System Disk partition would be below the HD icon indented to the right.  It is usually called “Macintosh HD” unless you renamed it.
    > when I go into disk utility my HD appears on the left, but I can repair or verify it
    Odd.  It appears but you cannot manipulate it with Disk Utility.
    > The S.M.A.R.T status reads verified
    If it did not say Verified then it would indicate a problem.  Saying Verified does not rule out problems but I think it indicates it is still breathing.
    > Is the HD deceased?
    If you booted the Recovery Partition (Boot, Command-R), which it sounds like you did, then at least part of the disk is still breathing.  If it took a long time to boot then that may have been a Network Recovery boot which would indicate the disk is very sick or dead.
    >  [If I] restore from time machine [will] everything will be back as it was before?
    Yes.  That is the beauty of Time Machine.  All your data, applications, and system preferences will be as they were as of the last backup.
    > I was thinking of erasing the HD, would this be of any help or do I just need a new one?
    Given what you reported from the Disk Utility steps you took it is unclear to me if there will be a way to repair the current volume, if you can erase and install from scratch or if you need a new disk.  Before proceeding it may be useful to have an expert at an Apple store look at it for you.  They may be able to revive it without a clean install or new disk.
    As was the case above, it could be a good disk with a bad cable in which case a new disk is not going to help.  To test this you can purchase an inexpensive external enclosure, remove the internal disk, place it in the enclosure, plug it in and then use Boot-Option to attempt to boot from the now external disk.  Here are links to the screwdrivers and enclosure you would need.
    $5 Toolkit: http://eshop.macsales.com/item/OWC/TOOLKITMHD/
    $22 USB 3.0 enclosure: http://eshop.macsales.com/item/OWC/ES2.5BU3W/
    If you attempt a clean install, use the Partition tab to repartition the disk, selecting one partition and with “Options…” electing a GUID partition.  Then use the Erase tab, select “Security Options…” and set it to write a single pass of zeros.  This will write to every sector to map out bad blocks.  (If you have an SSD do not write a pass of zeros.)
    If you do need to replace it I recommend an new inexpensive (~$100) and super-fast hybrid SSHD drive that has an 8 GB SSD cache that makes the data fly.  Google “Seagate 1 TB hybrid SSHD”.

  • Easy question for the MODS

    Unlike more difficult questions like CRC problems, ps problems, etc, this is rather an easy question.
    The KT4V manual (page 3-8) lists the onboard NIC as a "boot device" option.  This "feature" is available in Bios 1.1, 1.2 but not available in Bios 1.4 and later.  
    Any reason why this feature was mutilated and not available anymore in the later bioses?
    Are there two different bioses for KT4V and KT4V-L?  If yes where can one find the bios for KT4V-L?
    I know this feature is not very popular with the majority of users, and I'm not trying to bust anyone's balls for removing un-popular features, but the "boot from NIC"  was one of the features/reasons why I got this mb, and I would rather use a much newer bios than 1.2 (for known reasons).
    Also, while on this topic, boot-from-usb (especially thumb drives) feature would also be greatly appreciated - I think it is also listed in the manual.
    TIA

    Hi,
    Quote
    Please suggest him to update the BIOS Ver1.9 which can support Boot from LAN and boot from USB devices.
    AMI BIOS can boot from the devices which support BIOS Boot specifications (BBS, you can refer to the attached file for the information).
    Email me, so I can send you the BIOS PDF.

  • Easy question array

    Hello experts,
    i have an easy question. I need to store data in a 1D array so that the first data is written in the place of index 1 the second in index 2 aso.  I've tried it but somehow either i only had the last data in all indexes or only the last data in the last index. I am posting you a vi. I know where i should change it but i need a small idea oder change in the vi.
    Thank u for your help.

    Attachments:
    array_shift.vi ‏7 KB

    Please save your VI in ver 8.2 and then paste it on the forum so that i may help in making it into what you want. Without seeing the VI i am guessing that you have elements or 1-D arrays that you want to append into a single array.
    Its simple whether its the elements that you want to build into 1-d array or arrays that you want to make into a single array. Just use the build array function. Connect the input wires to the element and you'll have your 1-D array, provided you havent unchecked Concatenate Inputs in which case you will have a higher order array instead.
    Anyways kindly paste it in changed format so that i may help.
    Regards
    Asad Tirmizi
    Design Engineer
    Institute of Avionics and Aeronautics
    " Its never too late to be, what u want to be"
    Using LabVIEW 8.2

  • I have what is hopefully a quick and easy question. I kno...

    I have what is hopefully a quick and easy question. I know almost nothing about this stuff so go easy on me . All I need to do is find out if my DHCP is enabled. I'm having problems with my Xbox 360 and one of the possible problems is this DHCP thing. However I have no idea how to find the settings for my router on my computer. If it helps I have a Wirless model BEFW11S4. Thanks in advance for any help.

    You need to access your router to check if the DHCP is on.  To access the router open your browser and type in http://192.168.1.1 into the address field and hit enter.  That should open the routers log on screen and by default the user is left blank (some routers it is admin) and the password is abmin.  If you changed your routers password as you should for security reasons then use that password.  That will bring you to your routers user interface and on the main set up page should be your DHCP.
    Richard Aichner (Ikester)

  • Profit center field in Material MD - Easy question

    Hi Experts,
    I have an easy question..
    The material master data screen have a  tab 'General Plan', and there is  the field 'Profit Center'.  
    a) Is this field is filled, which is the impact in the system? 
    b) is this value (profit center) used in other area or calculation?
    c) What happend if this field is empty? 
    Thank you in advance!

    Hi,
    The path told in above reply is correct but making profit centre mandatory for only two plants is not possible.
    You can make it mandatory for specified Material Type or you can make it mandatory while doing selected Transaction Like MM01 or MM02 etc
    Regards,
    Amol

Maybe you are looking for