Questions tagged [loadvars]
20 questions
1
vote
2 answers
How to load variable file dynamically in github actions workflow
i have a set of 20 variables for each of the 5 environments viz dev, qa, uat, prod, dr like below var_dev.yml:
hostname: "mydevhost"
port: "1885"
mount: "D:\"
...
...
In ansible I could save the variable in variable files that have environment…

Ashar
- 2,942
- 10
- 58
- 122
1
vote
2 answers
Flash «a script in this movie» - caused by loadVars or setInterval?
This is someting weird...
I have a Flash-file that loads external SWFs. There I use LoadVars to get external data from a server. When the data has arrived, I'm using setInterval to call a function that fades-in the content.
So far so good.
But when…

Swissdude
- 3,486
- 3
- 35
- 68
1
vote
1 answer
loadVariables() and LoadVars
I am currently developing an Flash Movie which sends a simple POST request with a few parameters to a PHP URL. The only problem is that I am not sure which of two (loadVariables & LoadVars) methods I should use. What are the pros and cons?

Some Dinosaur
- 154
- 1
- 14
1
vote
3 answers
How is a POST request from cURL in PHP like/unlike a POST request from loadVars in Flash?
All,
Sorry - this is probably a very strange question.
I'm working on a Flash RIA. One of the things it does is call an ASP page (that resides on another domain) to retrieve some data.
However, that ASP page requires users to log-in to that site…

mattstuehler
- 9,040
- 18
- 78
- 108
1
vote
3 answers
AS3 Load Vars Read only PHP echoed vars?
I am wondering if I can call a PHP script from AS3 and have it recognize only the vars that are echoed out. For example.
My PHP Script called GetMyVars.php
Some code...
more code..
// I want to get these vars below into flash as3
echo…

Papa De Beau
- 3,744
- 18
- 79
- 137
0
votes
1 answer
Parsing url parameters in a String
I am using the example code in flash. I want a single variable and not the whole text.
I have a dynamic textfield called OUTPUT on the stage.
var fl_TextLoader:URLLoader = new URLLoader();
var fl_TextURLRequest:URLRequest = new…

Papa De Beau
- 3,744
- 18
- 79
- 137
0
votes
2 answers
000webhost, PHP, and LoadVars AS2
I am using AS2 to download and upload data from an HTTP server using some PHP on the other end. The upload works great, but I ran into a little issue with the download, since the webhost that I am using appends a little HTML comment to the end of…

William Merrill
- 404
- 4
- 9
0
votes
1 answer
Flex 4 Send and load variables to a new window
I want to post some variables to a new window.
The receiving c# will then generate a CSV which will stream as a download.
In flex this used to be achieved using loadVars and specifying _blank as the target.
I currently use the following:
…

Craig Mc
- 505
- 1
- 13
- 30
0
votes
3 answers
loading a PHP page using loadVars in Flash
I'm using loadVars to load a PHP URL with lots of sensitive information required for the Flash application. Only problem is that URL can be accessed via a web browser which raises security issues if someone gets a hold of this URL. Is it possible to…

Wasim
- 4,953
- 10
- 52
- 87
0
votes
1 answer
Actionscript 2 problem with return of loadvars from query
I seem to have some extraneous characters in the object, I'm new to Actionscript, so I don't know if they belong there or not, and I can't seem to extract the parameter of interest. Here's the code segment:
_root.buttonBkg.onPress = function() {
…

ViennaMike
- 2,207
- 1
- 24
- 38
0
votes
1 answer
Is it possible to add a request header to a LoadVars when using GET (Flash AS2)
I'm working on a project built in Flash AS2.
One of the things I need to do is load JSON data.
In the past, I've had no problem with this - LoadVars works just fine.
However, on this project, the JSON service that I'm calling requires the http…

mattstuehler
- 9,040
- 18
- 78
- 108
0
votes
0 answers
How to make a Loadvars sendAndLoad request from embedded swf in flex
I've developed a simple flex app with embedded swf. Basically swf use Loadvars to get data from particular database table. Ok, when I tested the flex app on localhost it is works fine and embedded swf make its sendAndLoad calls correctly.
But! When…

olav
- 1
- 1
0
votes
1 answer
What is the best way to detect file existence in Flash using as2?
I need to check for file existence in Flash on x number of videos. I've tried LoadVars and MovieClipLoader. LoadVars works but it actually loaded the entire video before reporting its done. Without a way of knowing that its started, I can't delete…

Jordan
- 1,233
- 2
- 12
- 32
0
votes
1 answer
How to break up a multidimensional array that has been loaded w/ load->vars()
This array was passed by $this->load->var($data) with some global variables. I need to extract the array below from the associative array that var has instantiated for me. That array currently looks like this: Notice the multidimensional array…

GivenPie
- 1,451
- 9
- 36
- 57
0
votes
1 answer
How to get URLLoader data dynamically in AS3?
In an AS3 Flash project I have a .txt file with 90 paramters like:
st75=15&st2=34&st14=3& ...and so on until 90.
They are not even sorted from st1 to st90.
I need to be able to get them in a for loop, like:
for(var i:Number=1; i<=90; i++) {
var stat…

marius
- 35
- 5