ActionScript 2.0 :: Communicate With The External Swf File?

Dec 1, 2008

how to communicate with the external swf file.

Its really very important for my project.

Clients are going to give me a big project on this basis only.

If I am able to do it really I will get the project.

View 4 Replies


Similar Posts:


ActionScript 2.0 :: Way To Communicate From Timeline In Flash9 To External .as File?

Jan 7, 2007

is there a way to communicate (transfer variables) from the timeline in flash9 to an external .as file? ive tried making a movieclip symbol in flash and making a external class file for it(and then linked the 2 together) but when i try to get code from the first frame in the timeline to work with variables in the actionscript class file, it doesnt work.specificly what im trying to accomplish is a menu that i can access to change variables while my movie is playing.

View 5 Replies

ActionScript 3.0 :: Add Event Listener From External Swf File So That It Can Communicate With Main Swf?

Jan 3, 2011

i have a mp3 playlist which loads externally into my main timeline into an empty container movie clip...When user clicks play button on playlist i want some animation to happen in my main swf... So if i add an Eventlistener on my play_btn... how will Flash understand that button was clicked?

View 1 Replies

ActionScript 3.0 :: Communicate Between External SWF?

Jul 16, 2009

I'm creating a website template which has a navigation with links and 2 zones dedicated to load external contents.

Loading 2 external swf by clicking on a link is no problem but my question is :
I would like one of my external swf to contains links which could again reload external swf in the same two zones. How can I do that ? I'm working with document classes.

A little example :

ZONE A ---------- ZONE B
EXT SWF EXT ---- SWF WITH LINKS IN IT THAT RELOADS ANOTHER SWF IN
ZONE A ---------- ZONE B

View 3 Replies

ActionScript 3.0 :: Can't Communicate Between Mc's External Classes

Feb 15, 2011

if one can't communicate between mc's external classes how can you create stuff?I have a timer inside each instance form a bomber_mc via a external class:this timer places bom_mc's on the stage from the location of bomber_mc (there are several). But I want to do a do a collisiondetection test with each bom and yet another kanon_mc.can you give me a hint in the right direction?

View 14 Replies

ActionScript 3.0 :: Communicate With Components Of An External Swf?

Jun 30, 2008

I've got an AS3 swf that loads an AS2 swf using the Loader class. The AS2 swf has a component in it in which i need to assign a parameter to from the AS3 swf. [code]...

View 2 Replies

ActionScript 3.0 :: Communicate With External Loaded SWF?

Mar 5, 2010

I am building a highscore system for my site, and I was wondering how to communicate with classes that are included in an external swf that i've loaded in.

Basically, how does mindjolt do this:

[Code]....

View 1 Replies

Actionscript 3 :: External Swf To Communicate With Its Own Timeline After Loading It Into A Containing Swf?

Feb 23, 2010

I have created a online portfolio that loads in External swfs. Everything works fine on its own but once the external swf is loaded into the containing swf I lose control of the external swfs timeline. Is this a bug or is there just something I am forgetting

[Code]..

So when I click the send button it sends the message, but does not go to the next frame. It works on its own but won't work once loaded into another swf.

View 1 Replies

Ios :: Can An IPhone App Developed In Flash CS5 Communicate With An External Server

Sep 9, 2011

With normal Flash SWF's I use URLRequest to communicate with external servers/sites to send/retreive data from a database - pretty standard stuff. But can iPhone apps published from the CS5 environment communicate with external servers/sites?I'm still organising my development license for the iphone, so want to check before I fork out the money for the registration.

View 1 Replies

Flex 4 :: Communicate This With A File Aspx?

Dec 16, 2010

I'd like to know if it's possible to communicate flex 4 with a file .aspx..

My problem is.. I'm trying to export a datagrid to excel and both parts are right, except because they are not communicating.. When I open with Visual Studio the url is = localhostcasawsExportExcel and when I open with flex the url is localhost:8080casaExportExcel.

View 1 Replies

ActionScript 3.0 :: Communicate With PHP File Every Few Seconds?

Aug 15, 2011

I am trying to make a real time communication for a flash file with php so if there is a change on the php the data are refreshed on the flash automatically.

I have a function that loads the php data in flash, how can I repeat that so it checks if the data have changed every, 5 seconds or so?

Also, how can I create a function that will do something when the data changes? So let's say the data is 20, if the file communicates with php and sees that data have changed to 25, how can I tell flash to play a movieclip or whatever?

View 8 Replies

ActionScript 2.0 :: Make Flash 'communicate' With Notepad File To Store Information?

Jun 17, 2003

i want to make a discussion/message board. but a very very simple one. no username, password.. just a board where people can wite one or two lines. thats all.its very hard to find one out there. i think if i can manipulate a guestbook files, i can make a simple discussion board. The problem is that i dont understand how to make flash 'communicate' with notepad file to store information like how they did in guestbook. this is link to one of flash message board i found, but it has too many section - like kirupa forum. i dont have any ideas to make it as simple as i want. i dont understand the AS

View 2 Replies

ActionScript 3.0 :: Remove / Unload External Swf File(s) From The Main Flash File And Load A New Swf File And Garbage Collection From Memory?

Sep 12, 2009

I can't seem to remove / unload the external swf files e.g when the carousel.swf (portfolio) is displayed and I press the about button the about content is overlapping the carousel (portfolio) . How can I remove / unload an external swf file from the main flash file and load a new swf file, while at the same time removing garbage collection from memory?

View 15 Replies

ActionScript 2.0 :: Replace Text Loaded From An External File With Text From Another External File?

Nov 9, 2005

How can I replace text loaded from an external file with text from another external file? Using setInterval and calling the .load from a function or something? In the example below I'm calling an external text file, could this also work with an .xml file with cycling through the children?

[Code]...

View 2 Replies

ActionScript 3.0 :: External Interface Call Doesn't Work With Function That Is On External JS File

Apr 17, 2012

I am using in AS3 "External Interface ". When I call the JS function that is on the same page as swf everything works fine.

I added a link in the html page to an external JS file, when I move the JS function to the external JS file the website crushes.

I would prefer to have all my JS functions on an external file so I can use them in the future in other project and it also makes it easier for me to update the site.

how to call a JS function that is on an external file from AS3?

View 6 Replies

ActionScript 2.0 :: External Text Files Wont Load Into External Swf File?

May 28, 2007

Structure: There is 1 main file that loads external SWF files depending on what is clicked on.One of the external SWF files loads its text from external text files. This works fine when viewing the SWF applet on its own. But when viewing as a whole site, the text doesnt appear. Very annoying.I made that particular SWF on my mums computer running Flash MX 2004The flash file itself uses the Scrollbar component from MX.Could someone tell me why the text doesnt load in this scenario? It runs fine on its own, just not as an external SWF.

View 4 Replies

ActionScript 3.0 :: Link To External PDF In External As File?

Oct 20, 2009

I've re done a couple of pages on my website and as a result of the new design have had to change some of the coding from being on the timeline to being in an external as document linked to my fla. This is significant only because I can link to external pdf.zips no problem on the timeline but I can't seem to translate the code to the external file. Can anyone out there help me out with this (hopefully) simply problem?I'm playing with different variations of this below but I'm constantly getting the 1180: Call to a possibly undefined method navigateToURL.

function onEnglishClick(event:MouseEvent):void {
var request:URLRequest = new URLRequest("http://www.bigredcreativeconcepts.com/UB_Flyer_English.pdf.zip");

[code].....

View 1 Replies

ActionScript 2.0 :: Load Images & Test From External File " Text File?

Jul 27, 2011

i have banner with 5 images fad in fade out effecti need to load images & test from external file " text file or xml file " with keeping fade effects on imagesall ways i know can't keep fading effect on images so

View 4 Replies

ActionScript 2.0 :: Pass URL String From External File To AS Variable (dynamic File Names)

Nov 17, 2004

I have a movie player that works fine when i hard-code the url value in the video function, but when i try to pass that url/file path from an external file, the video doesn't load. I suspect that there is something i'm doing wrong with the quotes. What am i doing wrong?

[Code]...

View 5 Replies

Media Server :: Advantage Of Writing A SSAS File Over An External AS3 File?

Jul 23, 2011

I do understand the differance between ssas and as3. Not all, but all most everything I see written in SSAS can be writen into a external AS3 file. This leads me to quite a few questions I'm hoping you kind people can shed some light on for me.
 
1)  What is the advantage of writing a SSAS file over an external AS3 file?
 
2) Can I write an .asc file in AS3 or do I have to use AS1? Please understand I'm using tuts from fmsguru.com and the books "Learning Flash Media Server" (pdf) and "Programming Flash Communication Server". I'm not a javascript programmer so nothing I do in AS1 seems to make any sence while everything I do in AS3 does. It may not seem like it to you people that are programmers, but to those of us that aren't, AS1 and AS3 are miles apart.
 
3) kind of off topic, but a security question. I'm not a "hacker" and don't like the jerks that are. My question is on external AS / SSAS files and swf files. When my fla is compiled into a swf does my external AS files remain external? I assume they do, but then what is the threat of the swf being decompiled? In most projects I would do I could care less if somebody had access to my fla as long as they don't have my actionscript files.
 
I don't know. Maybe on questions one and two I'm getting confused becasue I'm using out dated material. Again I assume that even though fms was built off of the javascript engine it should be able to read and execute my AS3 file. Other wise what was the point of the evolution of actionscript into a fully functional programming language?

View 1 Replies

ActionScript 2.0 :: Flash File Reading An External Text File For The Content?

May 16, 2005

I turn to you for help, dear sweet Kirupa Forumites. First, let me explain the problem: I have a flash file reading an external text file for the content. Everything works perfectly for nearly everyone - you click a menu button, and the content text comes up fine. However, a couple of people have found that the text shows up as "undefined". I have checked the player versions of the people where it doesn't work, and it is the same as for those where it does work, so that ain't the problem.

I don't understand why it works perfectly for nearly everyone, but a small number of people have this "undefined" text problem. It seems to be a problem with loading the external text file, but I don't know why. I have a main flash movie, and load the text in the first frame, using the following:

var my_content = new LoadVars();
my_content.load("content.txt");
my_content.onLoad = function(success){
if (success){

[Code]...

I then have a couple of dynamic text boxes in the main movie - one called ErrorText (for displaying an error message to the user) and one called ContentText (for displaying the content). I use an external menu swf which jumps to a specific frame in the main movie, depending on which button is clicked. Actionscript on the main movie frame for the first button does the following, with the other frames similarly configured:

ContentText.htmlText = my_content.content1;
stop();

My external text file is properly configured (content1=blah blah&content2=other blah blah) etc.

Does anyone have any advice on how I can solve this particular weird problem??

View 3 Replies

ActionScript 1/2 :: Load An External .swf File Into A Precise Location On The Stage Of Existing Flash File

Nov 20, 2009

All I'm trying to do is load an external .swf file into a precise location on the stage of my existing Flash file. I've spent an hour and a half on this site search and found nothing. What do I add to my loadMovie command to place the file at specific x,y coordinates?

View 3 Replies

ActionScript 3.0 :: Load The External Swf File And Unload The Parent Swf File?

Aug 17, 2011

i have a question. let say i have file1.swf , file2.swf, and file3.swf, how can i link this 3 files together,let say suppose file1.swf is the main content file, but as i load file2.swf, i want the file1.swf get replaced by file2.swf. How could i unload file1.swf at that time, so that my file2.swf will become the main content file?and again, when my current position at file2.swf, and i want it get replaced by file3.swf by clink on a button. so that the i can unload the file2.swf and let the file3.swf become the main content file.

View 13 Replies

ActionScript 2.0 :: Including External Swf File With Preloader In Main Swf File

Apr 21, 2008

I'm creating a flash 3d website for a company. The idea is that there is one overall swf file - this holds the navigation and design. Once the user clicks on a button, it goes to frame 10, I have included the following script to load a swf file

loadMovie("deepbartesting.swf", maincontent);
this.onEnterFrame=function(){
if(movieClipName._currentframe==5){

[Code]....

the preloader works, but instead of going to frame 2 of that swf file, it goes to frame 2 of the overall swf that holds the navigation. Does anyone know how to get around this so that it goes to frame 2 in the same swf file as the preloader?

View 1 Replies

ActionScript 3.0 :: Switch Actions Panel To Being In A File Which Would Be External To The FLA File

Oct 5, 2009

I have a bunch of code inside my actions panel but I want to switch it to being in an AS file which would be external to the FLA file. I am looking for a tutorial or data on this. What terms do I search under?

View 6 Replies

ActionScript 3.0 :: Playing Flv File And After That Load External Swf File

Apr 7, 2009

i have a button that when it is pressed plays and loads an external flv file. this part works fine but directly after the flv video is finnished i want to load in an swf file. does some one have an idea how to do this? first show flv and then load swf?
this is the code as it looks now..

[Code]...

View 16 Replies

ActionScript 1/2 :: Importing A SWF Within Flash File From An External File

Nov 16, 2009

basically i imported a SWF within my flash file from an external file and only the randomize button works on the file none of the rest from the imported flash can anyone let me know why, if you need me to let me know and i will upload files

View 1 Replies

Actionscript 1.0 :: Load External Swf File To Parent Swf File?

Mar 27, 2011

i'm building a website using flash. i have a external swf file that i want to import into my website. i thought this would be an easy task but for some reason when i load the movie, it flickers. my website (parent swf) was build using 1.0. The external form swf was build using 3.0. My approach:

1.create an empty movie clip called mcForm

2.go to the mc clip page i want to pull the external movie into

3. within my actions layer, I call the following function loadMovie("main.swf", mcForm);

If i write:

LoadMovieNum("main.swf",0);

then the my main.swf opens correctly but closes the parent swf file. I wan the main.swf file to be embeded within the parent file.

View 1 Replies

ActionScript 3.0 :: Detect End Of External File (swf) From Main File

Mar 11, 2010

I have a video in .flv format that I have converted into .swf. And this .swf file, I have added it in into my main flash file by using Loader. And now, I want to detect when this video will finish playing so that I can go to the next frame which is not looping the video again and again.

View 3 Replies

Share Swf File That Loads Another External File?

Jun 8, 2011

So I wanted to give a demo of my project to someone, but I encounter a problem, Im loading an external swf file, and even if I give him both files, it doesn't work.Share swf file that loads another external file?

View 1 Replies







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