ActionScript 2.0 :: [mx]Making Variables Available In Streamed Movies?

Feb 24, 2004

Scenario:I am loading various movies into a "shell"movie as and when they are needed using loadMovie... No problems there.However I have one movie which I am loading in to the shell "holder" movie which is supposed to load in variables from a php file. Now when this swf file is run in the browser outside of the shell, it loads in all the variables just fine. The loadVariablesNum command loads into "0" the root timeline, but when I run the shell and navigate to the swf file, none of the variables appear.I am guessing I need to load the variables into 'this' movie, but I have tried that by using the completepath..._root.holder_mc.loadVariablesNum("scorevars.php"," post");But this doens't pick up the vars. My problem is I am not fully understanding the relationship between swf's loaded into each other and how the timelines interact.

View 5 Replies


Similar Posts:


ActionScript 2.0 :: [mx] Making Variables Available In Streamed Movies?

Jan 11, 2011

I am loading various movies into a "shell"movie as and when they are needed using loadMovie... However I have one movie which I am loading in to the shell "holder" movie which is supposed to load in variables from a php file. Now when this swf file is run in the browser outside of the shell, it loads in all the variables just fine. The loadVariablesNum command loads into "0" the root timeline, but when I run the shell and navigate to the swf file, none of the variables appear.I am guessing I need to load the variables into 'this' movie, but I have tried that by using the complete path...

_root.holder_mc.loadVariablesNum("scorevars.php"," post");

But this doens't pick up the vars. My problem is I am not fully understanding the relationship between swf's loaded into each other and how the timelines interact...

View 1 Replies

ActionScript 2.0 :: Making Variables Available In Streamed Movies

Feb 24, 2004

I am loading various movies into a "shell"movie as and when they are needed using loadMovie.However I have one movie which I am loading in to the shell "holder" movie which is supposed to load in variables from a php file. Now when this swf file is run in the browser outside of the shell, it loads in all the variables just fine. The loadVariablesNum command loads into "0" the root timeline, but when I run the shell and navigate to the swf file, none of the variables appear.I am guessing I need to load the variables into 'this' movie, but I have tried that by using the complete path _root.holder_mc.loadVariablesNum("scorevars.php"," post");My problem is I am not fully understanding the relationship between swf's loaded into each other and how the timelines interact.

View 5 Replies

Cs4 :: Ue Flash Pro For Making HD Movies?

Jul 29, 2010

I own CS4 design premium and very familiar with Photoshop and illustrator but NOT flash Pro. I want to make a HD 1080i HDTV 2-d technical video animation and wish to know if Flash is a good tool for this. This video would be used for corporate tradeshows on an hdtv. Specifically I want to combine pictures and overlay 2-d animated arrows, text balloons etc to make a 2-d technical animation of how a product line works. I need to have keyframed pans and zooms with this also. All this needs to be converted to 1920x1080P 29fps HDTV MP4. I own and proficient at Vegas Video 9 PRO NLE which can convert a variety of avi to mp4. My questions are.. Is adobe cs4 flash PRO able to do this with my other software?

View 2 Replies

ActionScript 2.0 :: [mx]passing Variables Between Movies?

Feb 19, 2004

I want to know how I can pass parameters between 2 swf files..

View 7 Replies

ActionScript 2.0 :: Pass Variables Between Movies?

May 29, 2002

I'm trying to do a demo with a fastforward button and a rewind button that will go to the next scene and previous scene...however, due to the format that my predecessor created used...I'm stuck with alot of scenes. The navbar (ff and rewind buttons) is in a .swf file called main. The actual demo is in demo3.swf. I created a loader scene to redirect to the correct scene (when ff and rewind are hit), how to pass the variables needed from the main movie. What would be the correct syntax or steps?

View 11 Replies

ActionScript 2.0 :: [mx] Passing Variables Between Movies

Feb 19, 2004

I want to know how I can pass parameters between 2 swf files..

View 7 Replies

ActionScript 2.0 :: Passing Variables Between Movies?

Sep 4, 2002

I have been receiving great help for the past few days on many different things, and now I have another issue. I am creating a form in an SWF that pops up in a window over my main site. Is there a way to pass the information that the user submits in that form to my main movie? Or will I have to embed the form movie into my main movie? Is there a tutorial dealing with this? Also, since I'm asking, is there a way to save information to a text file using ActionScript or Flash, or whatever? I was thinking the other thing I could do would be to save the information in a text file, then dynamically load it in a text box on the main site.

View 1 Replies

ActionScript 2.0 :: Loading Movies/variables?

Jul 7, 2002

I subscribe for this forum becausethis r the actions i have in my level 1

on (rollOver) {
startDrag (this, false, 250, 270, 750, 520);
Mouse.hide();

[code].....

View 7 Replies

ActionScript 2.0 :: Passing Variables Between Flash Movies (again)

Dec 23, 2002

Basically I have a button which can be clicked to load an external movie, the external movie loads an ASP script.Dependent upon the button clicked I want to be able to execute different SQL statements.

View 4 Replies

ActionScript 2.0 :: Addressing Class Variables Which Are Movies?

Sep 1, 2006

I'm having a bit of a problem with this. I have a class- MiniMap which extends the MovieClip class.This class has a variable which is itself a movieClip, this movieClip is a small window which can be moved around on the map to select which portion of the miniMap will be shown in the bigger map.

How do I refer back a events on the class variables to effect the host class?

[Code]...

View 4 Replies

ActionScript 2.0 :: Passing Variables Between Movies And Do Action

Apr 14, 2002

I have two movies: m1 and m2. In m1 I set a variable to variable="yes". Now, I want m2 to read the variable and do an action depended on the variable (see the example below).

This is the AS in m1:
on (release) {
docufield = "background.txt";
}
And this is the AS in m2:
this.loadVariables(docufield);

View 7 Replies

ActionScript 2.0 :: Pass Variables Between Flash Movies?

Nov 16, 2003

is it possible to pass variables between flash movies...

i.e. if you had 2 (or more) seperate flash movies in an HTML page, can you control one with the other?

View 2 Replies

ActionScript 3.0 :: Send Variables Between Flash Movies On Different Machines?

Apr 7, 2009

I want to send variables between flash movies on different machines. How can I go about doing something like this?

View 4 Replies

ActionScript 2.0 :: Use Variables (on The Buttons) To Control External Movies?

Oct 14, 2002

I have a movie which is made up:

Level0= my interface layout with buttons

Level1= the different sections of the site, are loaded into this level (eg. home.swf, aboutus.swf etc.)

Because each of these sections has both an 'in' and 'out' transition, i want to use variables (on the buttons) to control these external movies that are loaded into the main movie (im even starting to confuse myself

basically in a nutshell... can you use buttons which control a movie ,which has been loaded at another layer, using variables....

View 1 Replies

ActionScript 2.0 :: FMX: Passing Variables Between Flash Movies On Different Html Pages?

Feb 21, 2003

Does anyone know of a good way to pass variables between flash movies on different html pages? Should I use a flash cookie? pass the variables in the URL of the html file and then try to get them back out on the next page?

View 3 Replies

ActionScript 3.0 :: External Movies Communication (Array / Functions And Variables)

Jun 23, 2009

I'm new on AS3, I'll try to explain what my project consists: Well, There is a main.fla and It loads external movies triggered by button items. The content animation sequence introduction starts with tweenLite and fills the stage with elements from Library (movieClips, buttons) and some sprites. I've built the intro animation through actionscript. Perhaps I'll need to explain how I did it the TweenLite structure, but the code lines are too long

The transitions / navigation:
Each button before load the external movie has a respective animation that removes the other buttons from the stage. It triggers an "outro" animation and then loads the External Swf.

First:
Each external Swfs contains a removeChild action in a MovieClip that CLOSES and removes the movie.. Like a "pop up" with a close action. After closed It should replay the intro animation and replace the buttons in the stage but it's not happening because I don't know how to communicate between different timelines / external movies.

View 1 Replies

ActionScript 3.0 :: Making New Variables With New Names In A For Loop?

Jan 24, 2010

I can't create new variables within a for loop:

ActionScript Code:
for(var i:int = 0; i<numBtn; i++) {
var this['menuBtn'+i] = new Sprite();
}

This doesn't work, saying I need an identifier before 'this'.

What I am trying to do is to make a dynamic menu, and the number of buttons depend on how many files there are in a directory, as each button links to each file;I get this value (numBtn in my example) from a php script, and I need to make a menu depending on it, but I can't seem to make it so that when I add a new file into that directory, a new button comes up on the menu and I don't have to change my flash file.

View 9 Replies

ActionScript 1/2 :: Know How Much Of The Video Has Already Been Downloaded/streamed

Oct 20, 2006

I need to create a progress bar for my streaming video to let the user know how much of the video has already been downloaded/streamed. Making a progress bar for a progressive download is easy, just check the bytesLoaded vs the bytesTotal. But apparently with a streaming video those do not work. What exactly do I need to check in order to create a progress bar for a streaming video. Here is my sample code that doesn't work for the progress bar.

View 9 Replies

ActionScript 3.0 :: Preloader For A Video (not Streamed)?

Sep 21, 2008

I'd like to make a preloader for a flv playback, so while waiting for the video to load, you can have the preloader. What I did was put the flv playback inside a movie clip, which has as the first frame the preloader and as the second frame the flv playback (which I call as instance myVid). But it doesn't work, it stays in the first frame with the bar loaded and never goes to the second with the movie clip. Maybe I shouldn't use the normal code I use to make a preloader for a whole site. Can anyone help? I attach the code I use for the preloader.

View 8 Replies

ActionScript 3.0 :: Making Variables Defined In A Function Available Globally?

Jun 5, 2009

The following bit of code outputs that 'myRequest' and 'i' are not defined.

Code:
//Load external asset
function loadfail():void
{

[Code].....

after a bit of reading I find that it is because 'myRequest' and 'i' are defined within functions, and so those variables are not available outside those functions. How can I get around this? Make a class?

View 2 Replies

Media Server :: FMS Streamed From Public IP Address?

Mar 24, 2010

I have Flash Media Server, and I think it's free edition coz i dont input serial number when i installed it..I have problem to have people stream from my pc, there's a public IP address assigned/mapped to a development PC here..I'm able to stream it locally from my computer, fyi, my computer is using windows XP and the development PC is using windows 2003 server..and there's an apache webserver already installed there..

1. if i dont install the apache server bundled with the FMS, is it okay? I dont intend to stream through port 80...

2. what is the difference between port 1935 and 19350? I saw 2 files in the FMS directory, namely fms.ini and Adaptor.xml in fms.ini it binds to 1935, but in adaptor.xml it binds to 19350...

3. in adaptor.xml there one value like this:

<HostPort name="edge1" ctl_channel="localhost:19350">${ADAPTOR.HOSTPORT}</HostPort>

there's an explanation in above it that it binds to some ip we configure here, but if you wanna bind to any ip then omit the localhost and leave it like ":19350" my question is that is this necessary to do so in order for people outside our network to connect the development PC ?

4. about security at the proxy server or ISP, I've confirmed with my boss that he's opened the port 1935 to be allowed, and he's also confirmed with the ISP that they dont block port 1935..

View 2 Replies

Actionscript :: Saving Streamed Audio From Mic On Adobe FMS?

Aug 5, 2009

Im trying to capture mic data from a swf, stream it to adobe flash media server, and save it as a wav file. Currently I can only stream the mic data to the server and save it in FLV format. how I can covert it to a WAV or save it as a WAV?

View 2 Replies

Professional :: Getting Information From ID3 Tags From Streamed Mp3 Files In Flash CS4

May 3, 2010

I have spend my whole day trying to find a good way to access ID3 tags in AS3.0;In my project I am making a sound object and assigning it a URL: Then I stream the sound into a sound channel:[code]I want to read the ID3 tag somehow and display the artist name or anything in the ID3 tag, onto the screen.I Have the URL change through user input, and naturally I want to update all the information with the new ID3 tags information.[code]

View 9 Replies

ActionScript 3 :: How To Create Sound Spectrum From Streamed Data

Oct 13, 2011

Just wanted to ask, is it at all possible to create sound spectrum from the data that RTMP server streamed? I read this computeSpectrum and it says
"In addition, this method cannot be used to extract data from RTMP streams, even when it is called by content that reside in the same domain as the RTMP server."
I will not be using FMS so it stays inpossible. Are there any available hacks with php and the server or whatever?

View 1 Replies

Actionscript 3 :: Streamed PNG Using URLStream Intermittent When Server Is Bogged?

Dec 14, 2011

In my case I need to be able to cancel loading as the user could possibly be scrolling through alot of images and the if not canceled it can take a few minutes to catch up to the scroll position.So after research the URLStream class seems to cure this problem and I found a good streaming class hereThis class works very nice except when there is heavy load on the server causing lag.When this lag happens the class will dispatch the complete event yet the image will not show.Watching the download with HTTPFox shows the image in fact does get loaded.

I assume there is some kind of delayed issue with the URLStream class and the author of this class tried to correct it using the setTimeout method. I also tried delaying the dispatching of the complete event using a timer and not dispatching until if( this.width != 0 ) was detected and this seemed to work much better.But it is still haunting me just not as often.

View 1 Replies

ActionScript 2.0 :: When Click A Button It Plays The Movies Assigned To The Variables Gallery & Button To The Frames Mentioned

May 2, 2006

[Code].....

Ok- so the idea is that when you click a button it plays the movies assigned to the variables gallery & button to the frames mentioned. Then the variables are changed and then when another buttons is clicked it does the same - 'except it doesn't - it does it once then sits there I have to use variables because there's a lot more buttons..but i don't understand why it doesn't work - it seems such a simple and obvious thing to try and do - why is it so HARD???

View 14 Replies

Flex :: SOAP Variables In Network Monitor But Not Making It To Event Handler

Aug 13, 2009

I am querying a 3rd party web service and not all the data seems to be making it to the event handler. When I view the request/response in the Network Monitor I see a collection of data objects each containing two string variables (name, url) and two arrays (counts, breakdown). When the result handler receives the data and I view it in debug mode, the collection of data objects each only contains one string variable (name). What happened to the other string var (url) and both arrays (counts, breakdown)? what would cause this since it seems to becoming corrupt before it reaches the event handler but after it is received by the network? Is this most likely an IDE issue?

View 1 Replies

Media Server :: Video Is Streamed But Is Not Working Together With Player Skin

Feb 23, 2010

[code]This is my code that i have inserted into the first frame(?) of the fla file.When I use the swf in a html web page, i can hear the video but I can't see it and play skin cannot control the video.This is also a part of a security token code which i'm implementing on the client-side.

View 14 Replies

Media Server :: Way To Check Stats On Bit Rate Versions Streamed?

Apr 10, 2012

Does anyone know if Flash Media Server has a function that allows you to see statistics on which particular streams are being delivered?Seems like that would be a handy tool in determining which bitrates are important to continue providing, and which are superfluous, and if it's time to try encoding at higher bit rates.

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved