Getting Information From A Js Into Flash Object?
Aug 26, 2009
I have a simple html page witha flash button. Upon clicking on the button, I would like to retrieve certain information from the js in the html (a URL for example) and execute it from the flash button.
View 3 Replies
Similar Posts:
Dec 14, 2011
I'm currently writing a feature for an interactive periodic table which dynamically displays the name of the element and other properties when you hover over the element. I have thought of three ways to do this and I am wondering which is the best, memory-wise and speed-wise, for loading this information.
make a class with an array ( new Array("hydrogen", "helium", "lithium",...etc.)), instantiating it, then accessing the info with object.arr[i] make a class with a static array (otherwise, same as no.1), importing it, then accessing the info with class.arr[i] put the information into an external xml file and accessing it from there. The 3rd method seems excessive as you have to go through the hassle of adding event listeners for URLloader every time. Is there any difference between the 1st and 2nd way? (What is happening in terms of memory when you are importing a class - is the entire array added to memory?)
View 3 Replies
Jul 5, 2009
I'm kinda noobish when it comes to getting information from XML information sent to my flash file from the socket server. OK so for example the server sends me this:
[Code]...
I want to get the name of the user and the X and Y position! Is there a way I can get this information without a load of fuss from functions and other junk remember im kinda noobish.
View 1 Replies
Feb 11, 2011
I want to build a program built around my pc specs. Is there a way to access such information as how much ram I have or how much cpu usage is being consumed, etc.?
View 2 Replies
Nov 16, 2010
I have a object,and I want to add it into mouse over and mouse out event,when mouse over the object,it will show a prompt information beyond the object by using a window or dialog box,when the mouse out of the object,the prompt will disappear.My question is how to show prompt information beyond the object by using actionscript3? Is there any model?
View 7 Replies
Nov 3, 2009
I have a container which is a sprite. In that container I have added several movie clips. Now I am trying to drag that container over the other containers and have them move out of the way for the one being dragged.
so here is how I create the containers:
ActionScript Code:
for ( var x:int; x < _GroupsArray.length; x++) {
//create a container
var tmpGroup:DAILYGroup = _GroupsArray[x];
[Code]....
1. Is there a way that I can get my group object from the target?
2. The container seems to come apart when I drag and drop certain areas. Is there a way to keep the different objects together?
View 2 Replies
Mar 15, 2009
In my flash application, I want to have information about the system the flash object is running on.Is there an object which handles this?My application runs in a browser mostly, so I also want to know the browser in which the application is running.Can I also access this directly from within the flash player or do I need to communicate with javascript then?
View 1 Replies
Dec 8, 2009
i want to make flash programs that send information to the web server that cannot be revealed by the user. of course the user will be able to see that HTTP request that is being sent, but i want to encrypt the data before transferring it. what's the best method to achieve that ?
View 2 Replies
Aug 31, 2010
i would build an app to take the serial number of hard disk of an other hardware serial number (hard disk, cpu MB). Do you know if this is possible with adobe air, silverlight or other similar technology?
View 1 Replies
Nov 1, 2010
I am now using FancyUpload to make an upload tool for my website, for the video module, so user can upload their video in FLV format with limited size and time
With the limited size i can handle it, but with the time . I dont know how to know the total length of FLV file
View 2 Replies
Apr 8, 2009
I'm doing some crawling with Python, and would like to be able to identify (however mperfectly) the flash I come across - is it a video, an ad, a game, or whatever.I assume I would have to decompile the swf, which seems doable. But what sort of processing would I do with the decompiled Actionscript to figure out what it's purpose is?
View 3 Replies
May 12, 2009
Is it possible to retrieve computer information (RAM, hard drive size, cpu speed, etc.) using Adobe Flash?
View 2 Replies
Nov 12, 2009
Currently I'm making a Designer (tShirt Designer) application. What it does up till now is let you put simple tekston the front and back (the front resides on frame 1 and back on frame 2), it lets you upload an image scale, rotate and position it.
Now what I'm curious about and don't know anything of is how do I send this information to the responsible company or server or email that print/make these shirts. I though about a simple way of sending it the same as you do a email form, but then it made me realise, how does the company know, how, where and how big the text or image must be.
View 0 Replies
May 4, 2008
In my flash application, I want to have information about the system the flash object is running on.My application runs in a browser mostly, so I also want to know the browser in which the application is running.Can I also access this directly from within the flash player or do I need to communicate with javascript then?
View 3 Replies
Jul 9, 2008
I have a file full of text; if this were html, I'd just make an iframe and in the frame, I'd have the text page with "back to top" links throughout. But since this is flash, I'm loading an external text file, and I'd like some "back to the top" links within it. I know how to do a "back to the top" in html, but it doesn't seem to work in a loaded text file in flash. Or is there a better way to present a lot of information in flash?
View 7 Replies
Dec 23, 2010
What I'm trying to do, is to get weather informations from a flash animation on a web page. I'd like to convert those informations into data for statistical purposes.
View 4 Replies
Jan 25, 2011
I'm asking this question because I can only find examples and answers for the PHP version. I need the Flash version. I'm trying to get my friends information, but I think I'm doing it wrong because if I trace it, it'll give me either [object Object] or undefined.
I did Facebook.api("me/friends", handleApiGet);
private function handleGetApi(success:Object, fail:Object):void
{
if (success)
{
[Code]....
ExternalInterface.call("doAlert", success) returns me [object Object], [object Object]. I also did ExternalInterface.call("doAlert", success.name), it returns me undefined.
View 1 Replies
Feb 9, 2012
I need to get some SSL information (such as the 'issued by' parameter and so on). I know you can get the certificate status with a recent Adobe addition (secureSocket.serverCertificateStatus) but i need to know as much as possible about the certificate and hence my question.
View 1 Replies
Sep 27, 2008
I'm trying to find out if there is a way to output serial information from flash. For instance, I have a serial port (Can also be USB) device with eight relay switches, each one triggered by a few bits and bytes correlating to the serial pins. I was wondering if the print function in flash could be forced to output specific signals.
View 4 Replies
Jan 17, 2008
i'm remodeling a website i've done ([URL]). i want to exchange information between XML and Flash files. i almost did it, but where shoul display information about one item, the whole content of this 'field' is shown. i'll explain better. this swf displays works of an artist. but the field 'date' (or any other text field) display the content of all works (separated by commas). i'll post the xml code and the actionscript code.
View 2 Replies
Aug 25, 2009
I have a web page with a couple of Flash Input TextFields. When I press a button on my web page, I am using javascript (jQuery) to get all the values from the text fields and checkboxes etc on the page.
In order to get a value out of my Flash TextField, I understand that I have to use the ExternalInterface API. I am using ActionScript 3.0 and Flash CS4.
In the flash IDE, I have a layer with just the textbox instance and another layer 'actions', which has all the actionscript.
As soon as I put: import flash.external.ExternalInterface
in my code, then the textfields full functionality does not seem to work on the webpage.
I assumed what I had to do was something like:
import flash.external.ExternalInterface;
ExternalInterface.addCallback("getFlashFieldText", getText);
function getText():String {
return myTextField.text;
}
then I thought that perhaps I had to call a javascript function to return the textfields value like so:
function getText():void {
var word:String = myTextField.text;
ExternalInterface.call("alert", word);
}
but nothing is working, and I think it is strange that the textfields functionality (some letters being styled) does not work as soon as I import the ExternalInterface class. I have tried putting the ActionScript 'actions' layer in a package, but it didn't help. As you can probably tell I am new to Flash and Actionscript, and I would be very greatful if someone could point me in the right direction.
View 3 Replies
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
May 26, 2010
I am trying to retrieve some information back from my LMS and into variables in Flash with AS3. I used to be able to do this without any problems in AS2, but can't seem to find a way to make this work in AS3. In AS2, publishing with the "Flash with SCORM 1.2 Tracking" option, I could call a line like the following:
fscommand("LMSGetValue", "cmi.core.student_name,_root.stuname");
This would grab the student name from the LMS and store it in Flash in the variable named stuname.
Any way to do this with AS3? I can set values back to the LMS no problem still through fscommand such as score or completion, I just can't get anything back from the LMS such as student name or lesson location.
View 2 Replies
Apr 15, 2010
I am building a Flash site and I want to be able to allow the user to post dynamically produced information to their Facebook wall, but I can't find out any information within the Facebook developers documentation.
Its simple enough in Javascript/HTML:
<script type="text/javascript">
function callPublish(msg, attachment, action_link) {
FB.ensureInit(function () {
[Code].....
As you can see I don't want to create sessions or login or anything complicated, just post to info to their wall.
View 2 Replies
Nov 23, 2009
Is it possible to embed a flv into a swf and then run it thru an arbitrary flash player and be able to send information from the swf to a destination of my choice?The information could be some variable that is sent when the movie starts playing etc
View 0 Replies
Nov 24, 2009
I've been looking around the internet now and haven?t been able to find anything referencing my problem so I thought I'm looking to create a series of adverts for our website. I say adverts, there more like a ?what?s on? synopsis of our website on a area specific homepage. We have 22 area homepages that need to display certain adverts.
What I?d like to be able to do is setup an admin system for my boss to use so he can control via the admin system the adverts to be displayed on each area homepage. I?ve seen that you can import database information via text fields on the movie itself but I?d like to be able to set the movies up so they pull the relevant information into the action script (basically referencing which file name to load and in what order.
View 2 Replies
Nov 24, 2009
Is it possible to embed a flv into a swf and then run it thru an arbitrary flash player and be able to send information from the swf to a destination of my choice?
The information could be some variable that is sent when the movie starts playing etc
View 2 Replies
Nov 28, 2007
I've been asked by a client to create a flash rolodex.Basically it will look and act like the rolodex object to hold peoples information. He's seen the pageFlip application which i'm sure your all familiar with and wants it to look like that.
View 3 Replies
Jun 17, 2010
I'm trying to figure out the best way to create a search box that searches an XML document and returns the results. So far I know how to do a search that returns exact matches but I want to make it so if someone typed in say "Manager" it would return results that Also had "Sales Manager" or "Account Manager".
Currently I have
PHP Code:
var authorList:XMLList = xmlData.job.(title == citySearch.text);
Which only works with exact results. What is the best way to get around this? Do I just need to bring in everything from the XML file and then compare it using .search()?
View 2 Replies
Jan 13, 2011
I need to access information of a sound placed on the timeline of my swf. I can't use as3 to trigger them because it must be synchronized with visual stuff on the timeline. Other reason is that I'd like to diplay a caption text of the sound (stored in some xml files). For this to be possible I need the name and length of the sound on the timeline to show the caption text properly, at the rigth time / duration. I googled if there is a way to access a sound on a timeline and it seems impossible.
View 1 Replies