ActionScript 3.0 :: Pass Back Info To Html / Asp?

Oct 7, 2009

Essentially, can one swf on a page pass info to another swf on the same page (ie swf1 --> jscript --> swf[2,3,4]  or swf1--> swf[2,3,4]??)

Given a web-page of somewhat standard design (menu options and a content area) where the menu options are individual swf is there a mechanism for letting the parent client know that a particular swf AS3 has received input?

Been puzzling this for a while. No F1 has turned up anything nor have general or forum searches. Didn't come across any output PARAMs (ala MS-SQL T-SQL). Did I miss them? NavigatetoURL() seemed possible but that either opened a new window (default) or using "_parent"  just wiped out the current window contents completely. Using _parent with <framesets> pretty much resulted in the same wipeout.

View 1 Replies


Similar Posts:


ActionScript 3.0 :: Pass The Selected Entity Information Back To The Html Page?

Mar 1, 2012

I got a dwg file converted into swf file. Now I want this swf file to embed in html page. No issue with that. The tricky part for me is to let the user select the entites of the file such as line/circle as one might select in autocad. After entity selection the swf file (by any means) pass the selected entity information back to the html page ( to the javascript function).

View 5 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 :: Send Info To Back To A Webpage?

Jun 9, 2009

I've been using flash vars to send info (such as numbers) into a swf file. I need to send info back to the webpage. something as simple as a interger (maybe, send as a "GET", like in a forum) if you could give me some sample code, or some keywords to look up

View 9 Replies

Actionscript 3.0 :: LocalConnection Send Info Back AND Forth?

Mar 31, 2011

I have two swf files that I would like to communicate back and forth. Currently, I am able to get the LocalConnection to work one way.

But I'd like to have the 'Receiver' send info to the 'Sender' and back again and again.

View 1 Replies

ActionScript 3.0 :: Pass Info To SWF From Another Browser Window?

Apr 17, 2011

I need to be able to pass information to an open SWF from another browser window.
 
Here's the ideal setup:- User runs a script in a new window- This script detects an already open window with the name specified (I give a name to the SWF's window using javascript)- The script then passes information to the open SWF and closes the current window, passing focus to the SWF's window
 
That's how I want it to work, but I don't know how (or even IF) I can pass information to an already open SWF.

View 5 Replies

Flex :: Pass Session Info From Python To It?

Jun 20, 2011

I have a simple site made with python (django). User registers, inputs some basic info and it stores it to mysql. User then is able to log in with his username/password which he created...

Now i want to add a flex application which will run once the user is logged in, but i dont want the user to have to log in twice (once into django, once into flex app). For the sake of learning i just want the flex app to also load some information from the mysql database, like the users firstname or something.

how would i go about passing session information into the flex app?

View 1 Replies

ActionScript 2.0 :: Possible To Pass Info From One Movie Clip To The Next?

Sep 30, 2002

Is it possible to pass info from one movie clip to the next e.g.value of a Radio Button selected, can this value be passed from one movie clip to the next.I know this can be done in different frames in one movie but I really need to be able to pass it to a different movie.

View 14 Replies

Data Integration :: Web Services Component - Cannot Get Info Back

Jan 18, 2007

I am new to web services in flash. I am running Flash 8 and am attempting to use the Web Services component. I have defined my web service, bound to text fields on my form. Every thing works fine when I test the movie. Data is returned as it should. But when I put the movie on the web and I try to get data back, I get nothing.

View 2 Replies

Actionscript 3.0 :: Sending Html Form Info From .swf?

Jan 28, 2012

A website is changing its payment processor company to authorize.net and they sent code to the client that's to be embedded in an html page:

Code: Select all<form name="PrePage" method = "post" action =
"https://Simplecheckout.authorize.net/payment/CatalogPayment.aspx">
<input type = "hidden" name = "LinkId" value

[code].....

View 3 Replies

ActionScript 3.0 :: Pass Variable Back From Function?

Aug 30, 2010

I am trying to get the score variable back but it says function is not passing back variable. Here is my code.

Code:

var score:Number;
function btnCheck(myevent:MouseEvent):Number {
if (input_txt.text == myTypeCheck) {
gotoAndStop(forwardFrame);

[Code].....

View 4 Replies

Asp.net :: Pass Object (ObjectProxy) From Flex Back To .NET WebService?

Aug 1, 2011

So, there are a wealth of Flex articles online about how to handle a .NET WebMethod that returns a DataSet or DataTable. Here is an example: Handling web service results that contain .NET DataSets or DataTables So, I know how to use result.Tables.<tablename>.Rows and the like. But what I cannot seem to figure out or find online is how to go the other direction - a method to pass objects or tables back to the .NET Webservice from Flex, without stooping to passing XML as a string, or making huge web service methods that have one parameter for each property/column of the object being stored. Surely others, smarter than I, have tackled this issue.

I am using ASP.NET 2.0 Typed DataSets, and it would be really nice if I could just pass one object or array of objects from Flex to the web service, populate my Typed DataTable, and do an Update() through the corresponding typed TableAdapter. My dream would be a [WebMethod] something like one of these:

[Code]...

View 2 Replies

Flex :: Pass Info From Page One (List.selectedItem) To The Third Page?

Sep 13, 2011

I have 3 pages view,

HomeView
ViewPg02
ViewPg03

In HomeView, has a List control and when user select an item it will goes to ViewPg02

[Code]...

View 1 Replies

Actionscript :: Pass FlashVars In To Flash And Then Back Out As A Query String

Jan 29, 2010

I am asking this question as a complete Flash novice, so please do point out if I'm doing anything wrong here (I suspect I am). I have a Flash MPU size animation with a link in it which has been created by using a full sized transparent layer as a button (is that the correct way) with the following ActionScript:

[Code]...

View 1 Replies

ActionScript 2.0 :: FileReference Class - Pass Images To Php/imagick For Processing And Then Back To Flash As JPG?

Mar 20, 2010

I'm using the FileReference Class under AS2 to pass images to php/imagick for processing and then back to Flash as JPG. The AS is based largely on the Adobe examples here: Adobe Help.Its all working fine across various platforms except that filenames which include spaces never make it to the server - turns out thats about 10% of the images folk are attempting to upload.

View 3 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 3.0 :: SWF To HTML And Back To SWF Anyone?

Nov 2, 2009

I have an .swf with four frames as each page for my portfolio website. A home, about, work and contact. When your on the work page I want to be able to click on a thumbnail of my work which brings you to a HTML page with the work on it and then a close button that brings you back to the swf on the work page in the SWF..

View 0 Replies

ActionScript 2.0 :: Set Focus Back To HTML?

Nov 18, 2010

I am working on a very old file developed by my predessessor. The application use JavaScript to capture keyboard input and send it to Flash. All works well untill the point that you have to click on the embedded Flash file to enter some text. Then the user have to press Enter on the keyboard. Problem is that the minute the user click on the Flash file, the focus is set to the Flash. I need to reset the Focus back to the JavaScript in the Html in order for the keyboard Enter to trigger.

From what I have read I must use something like this to make it work:

document.body.focus();

View 1 Replies

ActionScript 3.0 :: Pass Var From Html To Swf

Nov 17, 2010

i want to send a variable from html to swf(as3);

View 1 Replies

Pass Parameters From HTML To The SWF File?

Jun 13, 2009

I've created a very simple video player that I want to use with many different FLV files on my site. Rather than packaging SWF files with each FLV, I'd like to just design one SWF file and have the corresponding HTML file pass the URL of the FLV as a parameter to the SWF. I've read a lot about passing in parameters from HTML to SWF using AS3, and it seems pretty straightforward.  Here's an example of the code I created using Flash CS3 and ActionScript 3.0:
 
this.loaderInfo.addEventListener(Event.COMPLETE,loaderComplete);
function loaderComplete(evt:Event):void {
//traceText.text = "Loaded";

[Code]....
 
Note that I'm using the variable "userName" to pass the parameter.  Eventually I'd use a variable like "movieURL" to convey the actual URL of the FLV file.  In any case, when I run the code, I get ... nothing!  Nothing but a blank text box.  Both the HTML and SWF files are on my local machine.
 
If I uncomment the "//traceText.text = Loaded" line, the text box says "Loaded", which would indicate that the event listener is functioning properly.

View 9 Replies

Actionscript 2.0 :: Get URL Parameter (Pass It From HTML To Swf)?

Jun 14, 2009

I'm trying to get a URL parameter in my flash...The parameter is a xml url...
 
testXML = new XML();
testXML.load(xmlurl);I tried every code I can find on the web and couldn't find a solution to get xmlurl
  
I tried var xmlurl:String = String(_root.loaderInfo.parameters.xmlurl); but it didn't work...
_global.xmlurl didn't work either
 
Here is my HTML:
 
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="590" height="300" id="test" align="middle">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="test.swf?xmlurl=data.xml" />

[code]....

View 16 Replies

ActionScript 3.0 :: Pass A String Var From Html Url?

Feb 13, 2010

So, I want to pass a string variable to a SWF so that I can specify a XML file to load without republishing the SWF. When I assign the string variable to a textfield it is correct. But when I use that variable in the loader it does not display the XML from that file. You can see below that I commented out the string "lesson_11/images/0301_objectives.xml". If I put this string in the loader it works, if I use the string variable in its place it does not work. Can anyone see what I am doing wrong

Code:
var xmlFileToLoad:String;
var myQueryString:Object;

[code].....

View 1 Replies

Actionscript :: Pass HTML-DOM To Flex's?

Mar 16, 2010

All i want is to pass a HTML (DOM object) from javascript to Actionscript.

i saw this article on the net and tried a similar code. But when i execute the code in IE, it alerts : "Out of memory at line 18". I'm stuck here from yesterday. [code]...

View 1 Replies

HTML :: How To Program AS To Pass Flashvars

Dec 23, 2010

I am really new at Flash. So I am trying to make a flash container that display Vimeo videos. Here is my actionscript.
var videoContainer:Sprite = new Sprite();
var moogaloop:Sprite; // the video player
var moogaplayer:*; // reference to the moogaloop api
var player_width :int = stage.stageWidth;
var player_height:int = stage.stageHeight;
[Code] .....
And I want to set the vidId by URL. For example: [URL]. And it doesn't work. It works fine if I set the video id in open ()

View 1 Replies

Pass Variables To Class From HTML?

May 17, 2011

I want to pass some image names and numbers as string to my flash, so in html file I have [code]...

View 1 Replies

HTML :: How To Pass Flashvars To Flex

Jul 26, 2011

As a PHP junior encountering Flex for the first time this scratches my brain for days. The flashvar contains the source of the video I want to play in the Flex video component. The HTML of the player looks like:

function createPlayer(videoSource){
document.writeln("<div id="player">");
document.writeln("<object width="489" height="414" FlashVars=""+videoSource+"">");
document.writeln("<param name="player" value="bin-debug/FlexPlayer.swf">");
document.writeln("<embed src="bin-debug/FlexPlayer.swf" name="player" width="489" height="414" FlashVars=""+videoSource+"">");
document.writeln("</embed>");
document.writeln("</object>");
document.writeln("</div>");
}

I tried to call the FlashVars in the FlexPlayer.mxml but it's not working. What I have to apply in the source in the mxml to access the FlashVars.
<s:VideoPlayer id="Player" left="0" top="0" width="497" height="414" skinClass="MySkin" source="FlashVars"/></s:Group>

View 2 Replies

Php - AIR Application And HTML Pass Parameter?

Jan 18, 2012

I have an AIR application that is downloaded from a webpage. In order to download the application, one must be logged in. I would like the first time the user opens the application, to be able to acces the userId that was logged in.

Is there any way do pass that information?

View 2 Replies

ActionScript 2.0 :: Pass Variables From Html?

Nov 23, 2005

How does one go about getting a variable from html into your flash movie via action script?

View 4 Replies

ActionScript 3.0 :: Pass HTML Parameters Into SWF?

Dec 13, 2009

I'm working on a project where the HTML in which my main SWF is embedded will be called with a couple of dynamic parameters, like this:PHP Code:how to get that parameter into my SWF?

View 5 Replies

ActionScript 3.0 :: Possible To Pass Value From TextField To HTML?

Apr 24, 2011

I have three objects on the stage, each of them holds different value. Then there is a text field. If, lets say one object is clicked textfield displays value of the object, if more objects are clicked on textfield displays the values of all objects counted together (I think you kind of know where I am coming from..

Now, after I have clicked on the objects I wanted, I would like the value of textfield to be passed to..possibly html form..Im not sure whether this can be done from the swf file, so was thinking that probably you can create a button that send the value somewhere, only dont know where and how..

View 1 Replies







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