Passing Info Frow One Swf To Another?

Feb 3, 2009

Example:Lets imagine a html page with 2 swf embed inside. First swf has some UI, and second swf loads content.Is there a way to pass events or variables from the first swf to trigger stuff on the second? If yes, how?I would love to know the simplest way to achieve this.P.s- From what i understood from Lee's tuturial on swfObj, i can pass vars from html to the swf (using flashvars). Is there a way to pass from the swf to the html in a similar fashion?

View 7 Replies


Similar Posts:


ActionScript 2.0 :: Passing Info. From Flash To Php?

May 25, 2004

I have a simpel bottom function that needs to pass variable to a php search page. I have listed the vars:

NAME="newSearch" VALUE="1"
NAME="searchType" VALUE="1"
NAME="searchArea" VALUE="0"

[code]....

View 3 Replies

ActionScript 3.0 :: Passing XML Info Between Classes?

Oct 19, 2010

I am creating an app in Flash Pro using AS3 for my wife to track our son's hockey progress. The app will have three sections: start, data entry, data retrieval.I have created the screens as separate classes to handle their individual functions. My data is stored in XML that I need to pass between these screens.I tried creating a separate class to handle my XML, but I am having trouble reading and writing to the new class. Is there a better way to handle passing this XML information around inside my application? Eventually I would like to have the app write to an external XML file then pull the new rewritten file back in. This code is in one of the .as files already, it's just not working yet.I added my files below (7 as and 1 fla Zipped) if you want to check them out.

View 14 Replies

ActionScript 2.0 :: Passing Info. From Flash To Php

May 25, 2004

I have a simpel bottom function that needs to pass variable to a php search page. I have listed the vars:

[Code]...

View 3 Replies

ActionScript 2.0 :: Passing Info From Checkbox To Asp?

Aug 30, 2004

how on earth you set about giving a checkbox in a form a varibale.

I'm passing the form to a CDONTS ASP page, and I have three checkboxes, which I need to appear in the retuened email as either blank or 'checked'.

(I have read the tuts here btw - but cannot get them to return a value)

My chk box is called 'chk1'

So my AS on my submit button looks like this:

on (release) {
chk1 = chk1.getSelectedItem().label;
getURL("http://www.holmes.7host.com/promise/mypage.asp", "", "POST");
}

My corresponding ASP page looks like this:

<% @language="VBSCRIPT" %>
<%
Dim myMail, myBody

[Code]....

View 2 Replies

ActionScript 3.0 :: Passing String Info Via MovieClip?

Jan 14, 2009

I have 190 movieclips which display various types of information. When a user clicks on a movieclip, it has to tween larger but also send a string to a method. I'll probably e.currentTarget to use one function which contains a tween and I wondered if there was a quick way to pass string info in a similar way?

So, each movieclip has it's own value which can be passed to a method which will use that value. The only way I can think of so far is to have 190 functions which send the string data to the appropriate place. I'm trying to avoid that if I can.

View 2 Replies

ActionScript 3.0 :: Passing Additional Info With Event?

Mar 14, 2012

I have a menu which is created from an XML file. I'm using LoaderMax to grab the data and do the magic:

[code]...

View 1 Replies

ActionScript 2.0 :: Input Text Passing Extra Info To PHP?

Nov 23, 2009

So I'm building a little contact form in flash and it works, but it is passing along all of the font styling information into the email sent to the client. Kind of annoying. I want it just to send the plain text.

Here's what I'm using:

This code is in the actionscript, picking up the input text fields and posting them to the PHP file. It also tells a status box to update with current info:

Code:
loadVariables("send_email.php?flashmo=" + random(1000), this, "POST");
message_status.text = "sending...";
var i = 0;

[Code]....

View 2 Replies

ActionScript 2.0 :: Passing Info In Array To Dynamic Text Field On Rollover?

Aug 20, 2007

I am trying to pass information to a many dynamic text fields when rolling over various movieclips that are generated using a loop. I have tried everything I know but can not get pahting to work prpoerly. The rollover works in that the curser changes by does not execute the lines of code within the in line function.(see red, bolded text (towards bottom) for problem). the Attached zipped swf is what it looks like as is.

Code:
//how many floors are there in the building?
var floors:Number = 25;

[code].....

View 2 Replies

ActionScript 3.0 :: Complex Flash Form Info Not Passing Through Whiled Embedded A Dreamweaver Site

Dec 20, 2010

Okay, there is something that I don't quite understand. I built a flash contact form in Flash CS4 and embedded the swf in my webpage using Dreamweaver CS4. I upload the files in my server but why it's not working? I created a test folder in my folder and it does work... (It doesn't work here) [URL] The problem is that I'm not receiving the information when the user enters and submits the information on the contact form. I do receive the information on the test link. I'm posting the Flash AS and PHP Code to see if anyone can point out any mistake that I'm doing.

[Code]...

View 1 Replies

ActionScript 2.0 :: ScrollBar Dragger To Be Positioned In Relation To The Info._y As The User Scrolls Info?

Jun 24, 2010

I have some scrolling content (info). I've also made my own scroll bar.I want the scrollBar dragger to be positioned in relation to the info._y as the user scrolls info.I have created two vars: one that worsk out where info._y is as a percentage and the other that works out where the scroll._y dragger should be as a percentage...

Actionscript Code:
var scrollBarPercent = Math.round(scrollBar.dragger._y / [code]........

also onMouseWheel working too.I need a small bit of code that takes the % of info._y and moves the scrollBar dragger to the same % but in relation to the Stage.height...so if projectGalleryPercent = 50%, make dragger._y 50% of Stage.height using scrollBarPercent.

View 1 Replies

ActionScript 2.0 :: Info From One Swf To Another Swf

Dec 20, 2006

I loaded a swf in another swf. Lets say in.swf is loaded in all.swf. But I need to pass some info from a movie clip inside of in.swf to another movie clip inside of all.swf.

View 10 Replies

Swf To Get Info From An XML File That Is Placed In A Different Domain?

Sep 23, 2009

Is it possible for a swf to get info from an XML file that is placed in a different domain? And if it is, how can I do it?

View 3 Replies

Flash Rollover Info Box?

Oct 15, 2009

I need to make a projects that when a section is rolled over a info box appears. It is similar if not exactly like the link below.I have a solid basic working knowledge of flash and actionscript. Been working with Flash for few years, but it has all been basic work, nothing too complex.

View 1 Replies

Get Streaming Info From A XML File?

Apr 2, 2010

I am using Adobe Flash Media Streaming Server 3.5 but I can't find any output file (fx a xml file) that I can pull out info from and use on my website via a PHP or ASP script. It could be nice - in the website - to retrieve info like "online users attending", "running / streaming state" (online or offline) and other relevant info about the streaming, so I on the website can display how many that are online when a webtv event is streaming.

View 19 Replies

Flash :: Getting Swf Version Info?

Apr 6, 2011

In FlashBuilder's compiler options (Properties->Flex Compiler), under "Adobe Flash Player options" there is an option for "Use a specific version", where you can tell it what Flash Player to link against:

How do I get this value at runtime? Note that I am not talking about the Flash Player version, but the version that the swf was linked against.

View 4 Replies

ActionScript 3.0 :: Way To Get A Hardware Info From AIR?

Oct 3, 2009

Do anyone have any idea how to get a hardware information (like processor id) of the machine that the AIR application is running on?

I need to verify if my app is ran on the specified computer and than allow or deny data access.

View 2 Replies

ActionScript 3.0 :: Getting Php Process Info?

Nov 30, 2009

I'm working with a php script that takes a really long time to process. Is it possible to get the process info to flash (as3)? I'm thinking that I could echo the process percent from php, but is it possible to read and use the values as the process is running

View 1 Replies

ActionScript 3.0 :: Get Computer Name Or Some Other Info?

Oct 23, 2010

I would like to know if theres anyway to get the computer name or some other unique computer information to make a computer unique and I save that info in my database.

if someone know how to exhibit the Computer Name

View 5 Replies

ActionScript 3.0 :: Get The Info To The Class But Get It Out?

Oct 31, 2010

From the main class I call a function from another class and give it 20 variables to work with. That class does the math and gives me the 4 variables I need but how do I have the main class read these? Do I use a return function or getters and setters?

[Code]...

View 5 Replies

ActionScript 3.0 :: Sending Info To PHP And SQL?

Sep 4, 2011

I need to create a scoreboard for my game. I want to be able to let my user submit the time it took to complete the game to my scoreboard. I have been able to purchase webspace with SQL, PHP. I have set up my SQL database. I have found a great tutorial about how to do precisely what I wanted on YouTube BUT after starting the tutorial I realised it was ActionScript 2, I REALLY need time type of tutorial but for ACTIONSCRIPT.

View 2 Replies

ActionScript 2.0 :: Need To Get Info From ASP To TextField

Feb 6, 2005

I have a news page that I update with my stories. The info goes to a read.asp page that displays my info. I need to get the stories into a flash text field or box (anything really) so I can have the same news stories post. I can upload the file so you could look at it and tell me how to call the stories into flash.

View 1 Replies

ActionScript 2.0 :: Pass The Xml Info Through Php?

Dec 20, 2010

I have a flash as2 file which loads pictures into a thumbnail slider through an external xml file. when i try it out in my pc it works, images load perfectly and i can view the thumbnails, but when i contain the flash in a php and upload it, it stops working, the images never load.i guess flash has an issue trying to pass the xml info through php, i tried searching for compatibility issues but couldn't find anything concrete...

View 2 Replies

ActionScript 3.0 :: Get Info About External Swf?

Jan 6, 2012

how i can do that, i have main flash file named container.swf (container.fla) i loaded external swf into movieclip inside my container. i want to know the actionscript version of the loaded swf dynamiclly, and the size(height and width) of it

View 4 Replies

ActionScript 2.0 :: CS3 Copying Info To Webpages?

Aug 15, 2009

Im working on an application for a website. When the user finishes entering all of the information into the Flass application, they press a button. I want it to open another page from that website and enter the information into it.

View 3 Replies

Additional Info In Dress Up Games?

Mar 9, 2010

Here's the thing.I am making my first game, a click and drag (dress up if you want to ) game...It is finished and working..But since it serves as an educational aid in history group, it would be great if I could somehow add some kind of pop-up window with text describing every item in game..For example "14th century bascinet developed from the steel cap bla bla bla...".And if that is not possible is there some other way all this info about these items (there is about 24 items in game) could be fitted in this kind of application

View 4 Replies

ActionScript 2.0 :: Components Depending On The Value Of Certain Info

Oct 13, 2010

what is the best way to conditionally display a component? I have a dropList providing info to other parts of my code but i would like to display certain components depending on the value of certain info

View 1 Replies

Make Interactive Map With Info Display?

Oct 20, 2011

I have something in mind like this: [URL] so each time, when the mouse is over each state, different information should show up in the right side box with different information. How should I implement this? should I draw the right side information box as picture, and then write a script to ask information to display when mouse is on certain state, is this a movie clip?

View 6 Replies

ActionScript 3.0 :: XML And FLASH, Basic Info?

Nov 7, 2008

I would like to have a third party exchange english language text in a swf file with translation-text in other languages. They would like to do it via XML. Is there a place where I can look up some basic info on how to write XML code (beginner), or find a script that lets me exchange text/content via XML?

View 2 Replies

ActionScript 3.0 :: Accessing SWF Info Using Load

Sep 15, 2009

i am really trying to use AS3 but having many difficulties using common tasks that seemed straightforward before. i want to find out the totalframes of an SWF that has been externally loaded using the load method.[code]i tried using trace(ldr.totalframes) just to test it but continue to get errors when i do.

View 13 Replies







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