ActionScript 3.0 :: External File Controling Flash?

Feb 26, 2010

Got a pitcular problem/question and im not sure it is possible. Im creating a project that enables the viewer to access a load of files (Pdf's and doc's) through flash. The problem is, these files will be added to and taken from about 4 times a year and there is anywhere from 2 to 20 folders in each folder containing these files.so What I want to do is have an image that when clicked on opens a new box that has links in it that these links are displayed from an xml or html then I need to have that code tell flash to open another box that has links displayed from another XML of HTML that has the links to the actual files being called.i guess the question is:Can flash be controlled by a link called from out side of flash?

View 1 Replies


Similar Posts:


ActionScript 3.0 :: Flash Loading External Swf And Controling From The Main File

Aug 13, 2011

I am loading a swf named ball.swf in the main.fla. the swf is loading but not playing the next frame that i want.[code]

View 1 Replies

ActionScript 3.0 :: Controling An External Swf

Mar 30, 2010

I have a site that presently has a preloader @ the beggining but takes too long to load everything. The main section has a sliding menu that triggers various movies containing photos and animations I have decided to extract all of the project items as SWF files and call them when required.The challenge I now have is that previously when an item was selected from from the menu it would send the play head to a new frame that had the the movieclip; this movie had an instance name which enabled me to use the 'close' button embedded in it and send the play head back to the sliding gliding menu.[code]

View 4 Replies

ActionScript 3.0 :: Controling External Swf?

Dec 4, 2005

I have main swf that uses DocumentClass to which I loadanother swf that uses its own class.In main movie there are coupleof buttons that I want to use to load different xml files forexternal swf. When I tried a few suggestions from this forum I got thiserror:

Error #1034: Type Coercion failed: cannot convert
Classes::SlideShow@3a49f239 to flash.display.MovieClip.
at Classes::DocumentClass2/onTravelClick()

View 3 Replies

ActionScript 2.0 :: Controling External Movies?

Nov 18, 2003

Is it possable to load an external swf file, that is a rotating movie into another file and still control it??example:I have a rotating object which I want to pause and play. I have loaded the rotating object into a window using the loadMovie command. I now want to be able to use the play and stop buttons to control therotation.Because the movie has been loaded into the window from a different location it does not have a path to target the play and the stop command to also tried adding the play and stop buttons on the rotating object movie swf file. They load and are pressable, but dont do anything?

View 1 Replies

ActionScript 3.0 :: Controling One Flash Movie With Another?

Nov 11, 2011

For example: I have a graphical interface created in Flash AS3 which is simulating the control of machines on the ocean floor. I have 3D animations that will animate what is happening on the ocean floor when a control element is activated on the graphical interfaceAt the moment I have this happening all in one Flash player window that has been made to look like two windows. One which is the interface...one that is made to look like a small screen showing what looks like video coming in from a camera on the ocean floor.

What I need to be able to do is have the Control Screen as one window, and the animations to appear in another. In this way we can set up two monitors, have the control screen on one (computer monitor), the animations playing on the other (a large plasma connected to the same computer). The animations need to play within a flash shell and the control screen would need to play in a separate shell. So in essence I need to be able to double click on an .exe....two screen will activate showing one screen with buttons that port animations into the second screen which I have positions to play on the larger screen.

View 3 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 :: 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 :: Controling Resizing Of A Swf From Another Swf

Jul 25, 2009

I'm trying to build a site where all the pages are full browser and maintain aspect ratio. I would like to control the resizing from the menu page.The resizing works fine from the page that's being resized but when I try to let the parent swf do that it has issues. Here's what the home page looks like with the controls built in URL...This example is the site it has a menu page that I open the others from I remove the resizing code from the home page and try to resize from menu.swf.[code]

View 4 Replies

ActionScript 3.0 :: Controling The Turn Of Action?

Dec 30, 2008

controling the turn of action.

Example: i moved an object a certain distance. once it reaches a distance then it stops.i want to have a button; when you press will allow you to move the object again for the same distance.(what is code to do mthat).....then will need press button to allow it to move again.

View 8 Replies

ActionScript 3.0 :: Controling MovieClip With One Function

Oct 7, 2009

I am working on building an accordion style menu using Tweener. I have 3 movieClips on my stage, I can add a tween to each but I need a little help getting the menu items to end in the correct position. In my code below this line tells the movieClip to move to a position of y=25. Tweener. add Tween(mc,{y:25, time:1});I changed mc to box1 and box2 which makes evey thing move when I click, but how do I set up my function so I can click box1 and it will slide up and then click box2 and it slides up.[code]

View 1 Replies

ActionScript 2.0 :: Controling Separate Swfs?

Mar 8, 2006

ok so i need 2 create one movie that controls a second movie, so i have movie1.swf with a back and forward, and i need them buttons to advance movie2.swf, which is essenialy just a slide show!the movies will run independantly of each other, i do not want to load movie2.swf in movie1.swf! get me?how i go about this, i have been told of listeners, so movie2.swf will listen for a true or false command before it advances on... and movie1.swf will send out the command when the next is pressed??

View 5 Replies

ActionScript 2.0 :: Controling MC Time Line?

Jun 14, 2006

I am wanting to control the timeline of a MC using AS. What I mean is when I click on a movie click and drag right it controls the reverses the MC and when I go left it plays it (but i only want this to happen when I click and drag).

View 7 Replies

ActionScript 3.0 :: Controling Embedded Video?

Jul 4, 2011

is it possible to embed video into swf because i want video to be loaded on beginning(with loader) instead loading from external file and having glitches.

View 2 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

AS3 Button Function Controling Another Movieclips Timeline?

Nov 13, 2010

What I am trying to achieve is have one movie clip containing a button control the timeline of another movie clip.I know how to get a button to control the timeline of it's current movie clip, however, getting a button to control the timeline of a seperatef there is a tutorial that someone knows of, or if someone could post a snippet of AS3 showing how a button controls another clips timeline -Re: Question: AS3 Button controling timeline of movie clip.here is the coding I am using too:

but_shows.addEventListener(MouseEvent.MOUSE_DOWN, onMouseDown);
function onMouseDown(event:MouseEvent):void{
_root.mainContainer.gotoAndStop(2);

[code].....

View 1 Replies

ActionScript 3.0 :: Controling An XML Based Scrolling Thumbnails?

Jun 20, 2009

this is my code so far:

[Code]...

View 4 Replies

ActionScript 3.0 :: Add And Remove Child When Controling Multiple Mcs

Mar 29, 2009

I am trying to add and remove three mcs with a single button.It want it so that when it loads one it removes the other. right now it cycles through all three mcs buth then when it goes to cysle through again it throws.[code]

View 1 Replies

ActionScript 2.0 :: Controling Frame Move From Outside Movieclip?

May 23, 2009

I have this function :

Code:
function swapstate(newpage) {
for(var a in nav_left){
if (nav_left[a]._name != newpage) {

[Code]....

As you can see, it's made in order to change the look of a button when clicked and to also show a different look to the other buttons in the same movieclip container.

The problem is that gotoAndStop isn't triggered.

View 3 Replies

ActionScript 2.0 :: Controling Timeline Via Mouse X Position?

May 15, 2005

i want to know if anyone can tell me how to controll the timeline via moving the moiuse in x (left to right basicly i wsant to shocase a sculpture of mine in a seemingly quicktime vr fasion. so i will take lots of images of the sculpture in difrent agles to get the 360 degreemovie. then import intoflash timeline. Then somehow i need a script to control the scrub the timeline images (to create the quicktime vr look )

View 3 Replies

ActionScript 2.0 :: Button Not Controling Movie Clip Correctly?

Dec 17, 2003

Note the button at the top called portfolio, on mouseover this button should loop through the "mouseover" label section, and when the user takes the mouse off of it it should continue to play through what it has started, and stop at the begining of the mouseover labelhen the user clicks on the button it should play through the "trans" label (only once) and begin to loop at the label section "current" when the user goes to another section, for example, clicks another button besides portfolio, the animation should stop on the label "visited" my code for it to loop looks like this (on the invisible button over the movie clip)

on (rollOver) {
portfolioBtn_mc.gotoAndPlay("mouseover");
}

[code].......

View 2 Replies

ActionScript 2.0 :: Controling A MC's Frame Rate, Speed And Direction?

Jun 1, 2008

I have a embedded video animation clip that I need to control the speed it plays.The animation is of a ball spinning and when its rolls long X access i need the animation to move at the speed of the mc moves and slow down at the same rate.dose anyone know if I can control the frame rate and speed of a mc and the direction which is plays?any other option is to rotate an png but the problem im having with that is: when i import a circle png and brake it apart then remove the extra parts of the image leaving just the circle and have it aligned to the center. when i rotate it and move it along the X access base of the height of the mc it bobs up and down like this still counting the removed parts of the png in the

View 2 Replies

ActionScript 3.0 :: Controling Number Of Ticks Rendered On A Line Chart

Sep 17, 2010

Is there a way to set a fixed number of ticks on a DateTimeAxis?

View 3 Replies

ActionScript 2.0 :: Loading A External Text File To Flash And According To The Number Present In The Text File

Apr 25, 2009

I'm loading a external text file to flash and according to the number present in the text file i'm trying to do a IF - ELSE command. It's not working coz the value I load from the external file is string. How can i get this as intiger.

View 2 Replies

Html :: Styling HTML Links Within A Flash File Without Using An External CSS File?

Mar 6, 2011

I am having a nightmare using CSS to style HTML within a dynamic textfield in my flash doc. From what i now understand after much trial and error and reading online, CSS doesn't even work properly in flash even for the tags that it does understand (which are few and far between anyway). For some reason my layout is getting completely screwed up in certain scenarios (predominantly when there are images present too) when i hover over links (which are styled in an external CSS file). If i remove the external CSS styling (which only contains the following simple code):

a:link {text-decoration: none;}
a:active {text-decoration: none;}
a:visited {text-decoration: none;}[code]....

Then everything works fine (but no links are underlined as standard or on hover). Does anyone know of any way to style the links without using an external CSS file (all i want to do is have no underline as standard and then underline them on hover). As this is from user input into a text editor I cannot place these links manually on the page in flash as they could be anywhere, I need a way of parsing the HTML and then displaying it accordingly.

View 1 Replies

Flash :: External Xml File And Loading?

Jun 28, 2006

I'm calling an external xml file and loading it into Flash. I can only pull the varables out in the onLoad function. Here it is.

var courseXML:XML = new XML();
courseXML.ignoreWhite = true;
courseXML.load("presentSlidesOne.xml");
courseXML.onLoad = function(bSuccess:Boolean):Void {

[Code]...

View 5 Replies

Professional :: External .Txt File In Flash?

Jun 9, 2010

I have a flash file .swf that uses an external .txt file. I have both documents and when I play the .swf in the player it works fine but when I import the Flash into Dreamweaver the .txt file doesn't appear in the flash.I have to get this site to launch by Friday and I have about 20 of these files to sort out.

View 5 Replies

See All External File References In Flash?

Sep 12, 2010

I need to update the dynamic text in this flash file I have and export it to SWF. I've looked at the actionscript in all the frames and symbols but the only thing I've found so far are "stop();" 's

I tried exporting this to SWF to see if the file size was the same as the current working version on the site, and it was about 15kb smaller, and does not work at all.

How can I see all external file references in flash? I need to be able to tell my boss which files are needed or at least what is missing.

View 5 Replies

Get Flash To Pull From External As File

Aug 15, 2011

What I'm trying to do is to get flash to pull the actionscript from an external as file.[code]

View 2 Replies







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