A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: GetVariable?

  1. #1
    Junior Member
    Join Date
    Aug 2006
    Posts
    2

    GetVariable?

    Hi all,

    I'm trying to pass a large amount of data from flash to (or retrieve it from) an external interface in AS3 without major delay, but having quite a time trying to make it happen. It was suggested that I use GetVariable, but it doesn't seem to be working for me.

    Does it exist in AS3? If not, is there anything I can use?

  2. #2
    Developer
    Join Date
    Sep 2001
    Location
    The Bluegrass State Will Flash For Food ™
    Posts
    3,789
    What is 'an external interface'?

  3. #3
    Senior Member cancerinform's Avatar
    Join Date
    Mar 2002
    Location
    press the picture...
    Posts
    13,449
    Quote Originally Posted by NaHeMiA
    Hi all,

    I'm trying to pass a large amount of data from flash to (or retrieve it from) an external interface in AS3 without major delay, but having quite a time trying to make it happen. It was suggested that I use GetVariable, but it doesn't seem to be working for me.

    Does it exist in AS3? If not, is there anything I can use?
    That method doesn't exist. If you are not sure about that check the index of the Language reference:

    http://livedocs.macromedia.com/labs/as3preview/langref/

    What exactly do you mean by the way?
    - The right of the People to create Flash movies shall not be infringed. -

  4. #4
    Developer
    Join Date
    Sep 2001
    Location
    The Bluegrass State Will Flash For Food ™
    Posts
    3,789
    I think the GetVariable he's talking about is the JavaScript function. But ya, I'm not quite clear on what is trying to be done here.

  5. #5
    Junior Member
    Join Date
    Aug 2006
    Posts
    2
    Thanks for the response..

    Basically, I want to pass a large bytearray to an external interface, (or retrieve it from the external interface) quickly. One of the former methods of doing this was through GetVariable, which could be called from javascript or any other external environment.

    My problem, at the moment, seems to be in converting it to a string, it cuts off a lot of the data. Somehow I either need to pass the actual binary back (might addcallback with a return result work?) or encode the data somehow to preserve it.

    I really don't want to have to encode to base64 or anything because of time added in processing, but I'm not sure if there's any way to get binary data to an external interface. Any ideas?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center