Professional :: Repeative Opening Of External Swf When Only Called Once?

Sep 24, 2011

I'm a newbie to flash (being in i.t. since 1989). I'm using the following method to load an external swf file. The method is called from the main movies constructors

[Code]...

View 2 Replies


Similar Posts:


Professional :: Opening External Files Directly?

Dec 21, 2010

I'm making a DVD menu in flash. It will open several kinds of files. .mov .avi . ppt . pdf etc.But i want to open those files directly, without prompting. When i try to open non web files, a popup window appears, as shown in this screenshot:

[Code]...

View 1 Replies

ActionScript 3.0 :: Load An External Swf Called 'signs.swf' Into An Empty Mc Called 'signholder'?

Apr 12, 2010

I want to load an external swf called 'signs.swf' into an empty mc called 'signholder'.

var loadit2 = new Loader();
loadit2.load(new URLRequest("signs.swf"));
signholder.addChild(loadit2);

Everything works. Cool. But, I now want to target something within the signs.swf. How do I do it though? What is the path? Do I have to give the child of signholder an instance name? Everything I try fails.

If I wanted the root timeline of the external swf to gotoAndPlay(2) for example,...would i say...

signholder.loadit2.gotoAndPlay(2) ???
var wow:MovieClip = loadit2.content as MovieClip;
wow.gotoAndPlay(2) ????

View 3 Replies

Flash :: Professional - Menu Doesn't Work After Opening An External Link

Nov 7, 2010

I made a simple website with a flash menu, that opens internal links in an iframe. However, I have a few other (not included in the menu) external links, which open in the same iframe. And after I click on one of them and it loads in the iframe, the buttons on the menu stop working. I'm beginning to think it has something to do with the internet explorer, since it works on some computers. But I'm not sure... not very good at this.

View 5 Replies

External Jpg Looks Pixelated When Called?

Apr 15, 2008

I am calling a group of "large" jpgs into a slide show viaxml at runtime.The files are at size and with no compression as they are seelocally on a touchscreen.They look good in Pshop on screen, but when viewed in the swfthey have odd edges in t etext areas or anywhere there is adramatic shift in color or contrast. It looks like compressionissues, but I have been through each file multiple times andnothing seems to be wrong.Is there a limit to what file size can be imported andmanaged clearly by flash?Movie is 1924 x 1200 and the slideshow running in the windois 1277x959(rgb,jpg,files@72DPI)Image quality is very important on these because they are on

View 2 Replies

ActionScript 2.0 :: Not Working When Called As External Swf?

Jan 2, 2010

Following is my code in AS2. It works fine when viewed as swf. But when i call this swf from another swf, the code does not work. Have spent a lot of time & racked my brains, but cant figure out.

[Code]...

View 4 Replies

ActionScript 3.0 :: External Interface Not Being Called?

Jun 14, 2010

i am trying to communicate from javascript to AS3 by using External Interfaces, now the problem is that the function i am trying to call works fine with Internet Explorer 8, but it doesn't works with firefox 3.5.9 or google chrome, below is the html / javascript code.

HTML Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">

[Code]....

View 5 Replies

AS3 :: CS4 Button Opening External Files?

Aug 31, 2010

I'm working on a Flash project (which will eventually be published as an .exe - not sure if that makes any difference) which has buttons which need to open up external files.The external file will vary in type (there will be at least one button each for .pdf, .exe and .swf).I've managed to get this from various online help things:


Code:
function f_testURLOpener()
{
var url:String = "BWorking.exe";
var request:URLRequest=new URLRequest(url);
navigateToURL(request);
}

I've tested it with about 5 different file types and it only seems to work if the url String begins with "http://". Even local htm/ html files don't open.

View 9 Replies

ActionScript 2.0 :: Opening An External Window?

May 12, 2010

i have Movie A playing. When you click PlayStep button, I want to open another window that has Movie B in it. When Movie B is done, I want to go back to where I came from (Movie A). Nothing that I have tried has worked -- like _blank or importing ExternalInterface.

View 2 Replies

ActionScript 3.0 :: Opening An External Swf File?

Feb 13, 2011

I have a map and when a user clicks on the different rooms on the map, i want an external swf file to open up. can this be done? I've attached the pictures of the map and the external swf file.

View 1 Replies

Html :: Automated Opening Of An External Link?

Aug 1, 2011

I have a flash intro for my website and I want after the flash is finished to automatically open an external link, how can I make this? This is the index.html:

script>
swfobject.embedSWF('main.swf', 'intro', '100%', '100%', '9','js/expressinstall.swf', {XMLSource:'intro.xml', domain: '*'},

[Code].....

View 1 Replies

ActionScript 3.0 :: Opening An External HTML Page?

Aug 13, 2011

I need to load in an external HTML webpage on the stage of one of my .SWF files. Currently I have a primary .SWF pulling from a .XML database that has a list of other .SWF files it will import and display every time you "flip" a page as this site is being designed like a book. I have a .swf working that will pull and display an external HTML page but when i try to embed that .swf into the parent book.swf (Book.swf --> book.xml --> html.swf) it doesnt work. Likely the code i am using doesnt display the HTML if testing the .swf on a local server but the moment you place it on a webserver and call it through a web browser it works.

I don not need anything special, just something that will display the HTML page in a static box that i will set with a fixed size and a scroll bar.

View 7 Replies

ActionScript 3.0 :: Have An External Class Called Webcam.as On The Stage?

Oct 27, 2010

i have an external class called webcam.as on the stage I have two buttons. One called capture_mc and save_mc. I am new to working with external actionscript class. If someone could explain to me whatsI am getting lot of errors!!!!

Code:
1172: Definition flash.utils:byteArray could not be found.
1046: Type was not found or was not a compile-time constant: ByteArray.

[code].....

View 3 Replies

ActionScript 3.0 :: Run The External Swf's Actions When It's Called Main-intro.sql

Nov 11, 2009

I have a swf called main.swf that is loading an external swf called main-intro.swf.main-intro.swf has a clip that fades up and then I have a stop action 24 frames in. The problem is is that I get a null object reference error (1009) when calling the external swf. If I remove the stop action then it works, if I rename the external swf to intro-main.swf it works with the (stop action).It seems it just doesn't want to run the external swf's actions when it's called main-intro.sql

View 2 Replies

ActionScript 2.0 :: Preload Image And Fade For Each External MC Called

Aug 9, 2004

I have a movie that calls other movie clips with a preload and fade for each external mc called. but after you call and load the swf in the container it disappears aftre about 30 seconds it disappears if you dont do anything and then it comes back after about 30 seconds. I am using this script for the preload object and fade.

onClipEvent(enterFrame){
if(dummy ==1){
_root.text._alpha += 10;
} loaded = _root.clip.getBytesLoaded();
total = _root.clip.getBytesTotal();
[Code] .....

Then this is on every frame to make it use the preload and fade in the new loaded swf after it shows it loading.
clip.loadMovie("GuardHouse.swf");
clip._alpha = 0;
now = 0;
text.dummy = 1;
//now load the external file into the myData object
myData.load("GuardHouse.txt");
stop();

Also I dont know if this has anything to do with this problem but when I load an external swf it does not show any actions i have in there or any text but does show images and shapes but not dynamic text boxes or fades or anything like that. You can view it at the url below. I have listed the link to the main movie swf and the map1.swf that it calls when you click on floor plan so you can see when you view the map1.swf by itself there is more stuff that does not show up when loaded into the main swf. [URL]

View 7 Replies

Android :: Flex Mobile - Opening External Files

Mar 6, 2012

Can I import files from other apps into my app? If I for instance on iOS, I email myself a xml-file, I click the attachment in the mail-app. Now I want the "open in" option to show up, send that file to my app, and process that data there. Is this possible in flex/as3?

View 1 Replies

ActionScript 3.0 :: Opening And Saving To A File Through The External Window

Jun 29, 2011

I'm trying to write a tool in flash that lets you open and save to a xml file. Currently, I let user type in the xml url in a textfield and load it straight from that but that's un-intuitive. So I need a way to open the window/explorer that allows user to navigate to a file that he wants to save to or load from on the local hard drive just like all other software.

View 2 Replies

ActionScript 2.0 :: Opening External Files Via FlashMX (for An MX Interface On CD ROM)?

May 29, 2003

wondering if you can give me a hand; I am constructing my portfolio on CD ROM; On the ROM I have various formatted files (such as Acrobat, Quicktime and Powerpoint) that I would like to access via my simple Flash MX interface. As I can't pull all of these into my swf, is there any ActionScript for my interface that can let me access these files?

View 3 Replies

ActionScript 2.0 :: Opening External Swfs Into Main Movie?

Nov 6, 2003

Anyway, I have a main.swf with a menu that is its own mc. (It needs to pop up when the menu button is clicked), from this menu I need external swfs to open inside my main.swf. I also want my external swfs to play in order. like mod_1.swf plays and then opens mod_2.swf ect.

(the menu is just for the user to jump around)

So I have started with this code... on the main timeline(Scene) I have a target code

_root.createEmptyMovieClip("container",1);
container._x = 0
container._y = 0

[Code]....

View 3 Replies

ActionScript 2.0 :: Swf Called Main.swf Which Has A Container Movieclip That Gets External Swf's Loaded Into It

Jul 28, 2004

I have one swf called main.swf which has a container movieclip that gets external swf's loaded into it.

my external swf is called hosting and it calls an array of data that is loaded into a movieclip that is duplicate for each element from the database. The elements from the database are as follows:

Business
Economy
Power
Standard

Each one of these has a button over it that when press loads information from the database into a movieclip that contains a textbox. My button code is: _root.movieclip.loadVariables("url to database");

This works flawlessly when I run the hosting.swf by itself, but when it is loaded into the contianer in the main.swf the buttons dont work. I believe that it is the _root in the button call that is causing this but I dont know how to fix it. I think the _root variable changes when hosting is loaded into the main.swf.

View 1 Replies

ActionScript 3.0 :: Opening External Applications And Closing From Main Interface

Sep 2, 2009

I made several applications in Flash and I would like to present them from one main application. In basic terms, I want a window with buttons linking to each project. Click on Button A for example, which opens Project A in a separate window. All of my projects are Mac or PC projectors.

View 0 Replies

Flash :: Professional :: Opening A CS5 In CS4

Aug 17, 2010

I just bought Flash CS5 for own computer. I already have CS4 on the computer at work. Unfortunately I get an error when I tried to open a CS5 project in the CS4 at work. My boss is unwilling to buy CS5. Is it truly so that you cannot open a CS5 project in CS4 or is there a way to adjust a project in both systems.

View 2 Replies

ActionScript 2.0 :: CS3 Loading An External Image On Opening A Movie Clip Symbol

Nov 5, 2009

I'm trying to get an external image in a movie clip symbol when the movie is opened and I'm having no joy. I can get it to work with a mouse over event...

on (rollOver) {
rootObject.activeMouse = true;
mcImage.loadMovie( "image1.jpg" );
}

However, I need it to load without pressing / rolling over anything.

View 1 Replies

Button Code Not Opening External Html Pages In Flash Website?

Feb 26, 2012

- I made a flash-based website using Flash CS3 and then embedded the file into a blank html page with Dreamweaver cs3.-All my buttons, linking, and content were made in Adobe Flash CS3 using ActionScript 2.0 (AS2).The issue I am encountering is that when i click on some buttons that have get URL codes, they will not load the html files assigned to the As2 code of the button. The html files are supposed to load in a separate browser window for each html page assigned to each button. The html files are located within subfolders in my Main Site Root Folder.All my AS2 code is Object-based; meaning I applied it directly to my button symbols.

View 4 Replies

ActionScript 2.0 :: Button Not Opening External HTML Pages In Flash Website

Feb 26, 2012

I made a flash-based website using Flash CS3 and then embedded the file into a blank html page with Dreamweaver cs3. All my buttons, linking, and content were made in Adobe Flash CS3 using ActionScript 2.0 (AS2). The issue I am encountering is that when I click on some buttons that have get URL codes, they will not load the html files assigned to the As2 code of the button. The html files are supposed to load in a separate browser window for each html page assigned to each button. The html files are located within subfolders in my Main Site Root Folder. All my AS2 code is Object-based; meaning I applied it directly to my button symbols.

View 2 Replies

ActionScript 3.0 :: Movie Clip Called CircleFill And Another Called CircleOutline?

Oct 30, 2007

I am having issues with startDrag(). I have a movie clip called circle. Inside circle, I have a movie clip called circleFill and another called circleOutline.onEnterFrame, this movieClip is duplicated 4 times.

When I use this:
private function onPressNow(event:MouseEvent):void
{
startDrag();
}
IT DRAGS ALL 4 MOVIECLIPS.

[Code]...

how can I make it drag my movieClip called circle? (meaning both circleFill and outlineFill)

View 8 Replies

ActionScript 3.0 :: Called InfoBox That Contains A Text Field Called Caption?

Oct 24, 2011

i have a box called infoBox that contains a text field called caption. infoBox expands on mouse-over. When it does so, I do not want the text in caption to scale up - I want it to stay at 11 pt. So far my code to prevent this from happening is not working:How do I fix this?[URL]..

View 2 Replies

Professional :: Error When Opening AIR Settings?

Feb 9, 2010

When I click the Edit button next to AIR Settings in the properties panel in Flash CS4 Version 10.0.2 I get the following error: The following JavaScript error(s) occured:

At line 984 of file "Apollo_OpenSettingDialog.jsfl":
exportSWF: Argument number 1 is invalid.

I've installed the new AIR2 (beta2) I found here: http:[url].....but I don't think this error has anything to do with it.I'm currently running Mac OS X 10.5.8.

View 3 Replies

Professional :: Opening And Editing SWF Files?

Mar 11, 2010

Does anyone know if there is a way to open and edit a SWF file.

View 2 Replies

Professional :: Opening In Same Window Using CSS & Flash CS3?

Jun 2, 2010

I'm working on a portfolio in Flash CS3 and AS3. I'm trying to avoid doing the whole thing in Flash, so the home page is a CSS/HTML header page that will house a looping flash piece underneath the header, and the inner portfolio will be flash pieces brought into the same CSS header framework.I'd like to know what kind of code I need to use in the portolio flash navigation so that the "home" link will open the CSS/HTML home page in its same window, rather than launching another window. Is this something that can be done using AS3, or do I need javascrpt as well?

View 4 Replies







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