I want to transfer the value to SWF. how can I not transfer the value of the sessionid variable in JS? I hope you can give me some advice. thank you very much.

Source: Internet
Author: User
I want to transfer the value to SWF. how can I not transfer the value of the sessionid variable in JS? I also hope you can give me some advice. thank you very much. I want to transfer the value to SWF. how can I not transfer the value of sessionid in JS? I also hope you can give me some advice. thank you very much. It's the AS code importflash.net. FileReference. im. I want to transfer the value to SWF. how can I not transfer the value of the sessionid variable in JS? Hope you can give me some advice. thank you very much.
I want to transfer the value to SWF. how can I not transfer the value of the sessionid variable in JS? Hope you can give me some advice. thank you very much.


This section is the AS code

Import flash.net. FileReference;
Import flash. external. ExternalInterface;
Stop ();

Var sessionid: String = '11 ';
ExternalInterface. call ("getsid ()");
Var uploadProgressScript: String = 'Thank you for using the system' + sessionid;

========================================================== =

This section is the JS code.

Function getsid ()
{
Var id2 = ";
Document. jqUploader. SetVariable ("sessionid", id2 );
}

========================================================== =

This is the code for inserting FLASH into the page (is it missing here)



========================================================== ===


In addition, there is only one frame in each layer of five layers in FLASH. is it related to the first frame of the above AS code written in the first layer (called the action layer?

------ Solution --------------------
I can call flash and pass sessionid normally.
You can refer to the swfupload component to see how to write his as code.
Yes: http://code.google.com/p/swfupload/


------ Solution --------------------

There is neither name nor id. it's also "no replication ".

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.