Professional :: Calling Swf File From External Server?

Mar 11, 2010

I am working on a Vignette platform that doesn't support XML, so was told to place my swf file on an external server andcall it from that server in the html code. I have never done this before and need detailed instructions on how to get this executed

View 6 Replies


Similar Posts:


ActionScript 3.0 :: Calling Swf From External Server

Mar 8, 2010

I need to call an XML file from an external server and don't know how to place within the source html code.

View 9 Replies

ActionScript 3.0 :: Calling External XML File?

Jul 9, 2009

I'm trying to drop in a quick mp3 player into a site that creates a playlist from an XML (to the folks at ClickPopMedia for the basics of the code). It works fine in the Flash testing environment, but when I put it online, or even on my local testing server, the playlist doesn't load ,just an empty space where the List component should be. I get this error in the debugger in the Flash environment even thought it works (C:htdocs is my localhost):Quote:Error #2044: Unhandled ioError:. text=Error #2032: Stream Error.URL:file:///music.xmlat Mp3Main()[C:htdocsTrafficEntertainmentTE_sitephpsitemus icPlayerMp3Main.as:26]I'm assuming it's some sort of pathname or URLRequest issue but Every file involved is in the same folder for now. Do I need to do something different because it streams?The AS (only a portion):

ActionScript Code:
package {
import flash.events.*;

[code].....

View 1 Replies

Beginner Calling External File

Apr 13, 2009

I am struggling with what seems to be a simple problem. Searched and can't find the answer, it seems. I have an FLA I said I'd edit for a friend... just a few simple text edits. However, when I go to publish the movie, it makes a call to an external "State Manager" that it can't find, so the movie loops endlessly. Here is the actionscript: Code: Select allimport com.exanimo.managers.StateManager;

So I'm guessing it's looking find that at that domain. I guess that's the doing of the original programmer. However, I have noticed that there is a StateManager.js file on the webserver in the same directory where the SWF resides. Have I received an old FLA that pointed externally instead of to the local js manager? How can I change the syntax so that it finds the state manager locally?

View 1 Replies

Professional :: Calling External As Classes?

Apr 2, 2010

If I have an external .as file that contains a function within a public class, how do I call it?I have succesfully used examples, but don't understand the way they are addressed, and get errors when I try to create my own.So if my .as file named external.as contains a public class named exampleClass, which contains a function named doThis(), is it called in CS4 using..

exampleClass.doThis();
or external.doThis();
If it's just exampleClass.doThis(); - how does Flash know where to look for it without

[code].....

View 1 Replies

ActionScript 3.0 :: PHP Uploading File To Server Without Calling FileReference.browse?

Mar 22, 2010

Is there any way to have a function which connects to a server and uploads a local file without calling FileReference.browse?I have an application at a kiosk which is recording a short webcam movie of a guest. Once completed, I'd like for the video to be put on a server and a link send to the guest. I've got the link part working, but am not sure how to get the file up to the server automagically.

View 4 Replies

ActionScript 3.0 :: Calling GotoAndPlay From External File?

Apr 27, 2011

I have two files, the regular .fla file and an external .as file.Basicly at one point in the .as file I get information of what tag to send the timeline and play and have to use the function gotoAndPlay from the timeline in the .fla file.

This is the .as file:

Code:
import flash.display.Sprite;
import flash.events.Event;
import flash.events.IOErrorEvent;

[code]....

View 1 Replies

Actionscript 3 :: Calling Private Function From External File?

Jul 5, 2010

How do I call a private function from an external ActionScript3 document? I'm working in Flash Builder 4, and I need to call a private function from an external AS3 document. I think I've imported it correctly....

import myapp.utils.WebcamFaceDetector;
import myapp.utils.FaceDetector;

But I want to call a function from "FaceDetector". Here's the part of the code in FaceDetector...

public class FaceDetector
{
private var detector :ObjectDetector;
private var options :ObjectDetectorOptions;

[Code]....

I want to call "private function FaceDetector()" to initiate at a certain point in another AS3 file. How do I properly declare it and get it to run?

View 3 Replies

ActionScript 2.0 :: Place External File By Calling The Url Into Movie?

Oct 9, 2009

I have tried everything i know to get this to work but nothing has. I am trying to place external file by calling the url into my movie. It works but I cannot position it. I have tried using mc but when i do that the file will not load. my script is below whith the url.

//load Movie Behavior
if(this == Number(this)){
loadMovieNum("http://void.snocap.com/s/T3-31324-KUSPN325KQ-S/",this);

[Code].....

View 0 Replies

ActionScript 3.0 :: Calling Multiple Functions From An External.as File?

Feb 11, 2010

I am trying to call multiple functions at different times from the same .as file. I asked this question in another forum but the reply did not work. I have 2 as3 books but they both only talk about calling a single function from the external file. Can someone detail the structure in the .as file as well as how to call it from the .fla? I am missing something and I can not figure out what it is

View 3 Replies

ActionScript 2.0 :: Calling Arrays From External Text File

Aug 19, 2005

I am trying to make a movie that I want to have the movie call in an array from an external text file so I can change the contents without having to change the swf, how can I do this?

View 6 Replies

ActionScript 2.0 :: Calling Variables Of Loaded External Swf File?

Jul 16, 2003

How do I call variables of my external swf file from my index.swf timeline?

this is what I did:
createEmptyMovieClip("container",5);
loadMovie("external.swf");
variable._visible = xxx;
What do I put in the blank?

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 3 :: Load XML File From External Server?

Dec 19, 2011

I need to know how to load a xml file from Local server.

View 2 Replies

ActionScript 2.0 :: JPG File From External Server To Base64?

Aug 9, 2010

'm trying to convert a movieclip to base64 and send it a server.

I've checked everywhere and I realized I can do it with an external PHP page that will communicate with the flash file and will send the MC as BASE64 JPG using POST.

Unfortunately, my client asked me to do that WITHOUT ANY EXTERNAL FILES (so I can't use the PHP page). Only the final SWF should be used.

I've tried to convert the project from AS2 to AS3, but it seems to be almost impossible.

Is there any way to convert the MC to JPG without the PHP page?

View 5 Replies

ActionScript 2.0 :: Loading Xml File From External Server?

Oct 26, 2010

I would go about loading an xml file from an external domain.I am trying to create a swf file that loads a rss feed. I have found that you must create a proxy for the xml though I am unsure how to go about this.

View 0 Replies

ActionScript 2.0 :: Loading A XML File On An External Server?

Jun 4, 2004

I am having trouble loading an XML file on an external server into my flash movie when it is uploaded.

The data loads in fine when the flash file is on my local computer with the xml file on a server. As soon as the flash file is uploaded the XML data will not load in.

View 2 Replies

Media Server :: Application Read From External Xml File Not In It

Aug 22, 2010

I have below code

[Code]....

I need this application read from exteral xml file not in it.

View 28 Replies

ActionScript 3.0 :: Edit An External XML File From A SWF-On Disk Not Server

Aug 10, 2009

I'm running an application off of a large XML file, and I want non-tech-savvy employees to be able to add/subtract from the entries that I have currrently. While I am fine editing XML on my own, I know some of them wont be, and so I am wondering if there is a way for me to be able to set up a SWF file to actually edit the XML rather than just reading it? I don't know if this is even possible. Also if need be i'm not opposed to some server side script, but if there's a way to do it without it, I would much prefer it.

Also, this applet would be running from disk not from a web server.

View 2 Replies

Professional :: Can't Get Flash To Play When Publish On External Server Hosted By ISP

Mar 10, 2010

I am able to publish flash as long as I launch from local computer.  Can't get flash to play when I publish on external server hosted by ISP.  Is there another method to publish that does NOT require the Ac_RunActiveContent.js?

View 1 Replies

Professional :: Xml File Not Loading From Different Server?

May 6, 2010

I have a simple flash banner that is pulling a number from an xml file on a different server. When it gets to the frame where the number should be it just says "transferring data from and will not actually pull in the number. Unfortunately I can't put the files on the same servers.below are the links and the xml code I'm using followed by the action script.[URL]

<?xml version="1.0"?>
<inventors>
<person>

View 5 Replies

ActionScript 3.0 :: Loading External Text File Returns Error: #2032 ..but On One Server It Works?

Oct 9, 2008

it has been a while before i did something withactionscript again, but does anyone know if there has been some changes about loadingexternal text files in Flash?I tried loading an external text file from a online webserverthat worked fine. But now i wantedto move the text file to a different webserver and i got thiserror:

Error opening URL '
http://wwww.uniqwebdesign.com/mailform_test/dataformcs.txt'
httpStatusHandler: [HTTPStatusEvent type="httpStatus"

[code]......

View 1 Replies

Professional :: Video File (flv) Not Playing After Uploading To Server?

Apr 12, 2010

I did a bit of search without success to find if anything like this was answered before.Sorry for asking a silly question, I am a newbie and hence maybe missing something obvious.I used the Encoder to create the flv file and embedded the file in the timeline and the swf file plays the video just fine locally. For some reason, it's not playing after I uploaded it to the server. I did copy over all the files (swf)s) & flv). It's a very small video and I can't even see the video(just blank) while running the swf file after uploading the files on to the server. All other frames are working as expected.

View 1 Replies

Flex :: 2047 Security Sandbox Violation Errors While Loading An External Swf File From Server Side

Jan 31, 2011

This is my code and i want to place an external swf file for my flex application website. This is my code:

var loader:Loader = new Loader();
var url:URLRequest = new URLRequest("http://www.my site.com");
loader.load(url);
addChild(loader);

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

Professional :: Put External SWF File To The Parent One

May 11, 2011

I put external SWF file to the parent one. but everythin's working wrong now. How to let it work right. My code:

[Code]...

View 2 Replies

Professional :: Absolute URLs  Not Working When File Is On A Remote Server?

Sep 23, 2010

My client has asked me to provide a template for an investor relations section of their website. The HTML page or template for this page will be at the service providers site, but all the images etc. for the page will be linked to files on my clients server. Everything looks fine, but the absolute URL's in the .swf file back to my clients site aren't working.
 
This is what the service provider's guidlines say, but I'm not sure where the code is supposed to go:
  
Similarly, newer versions of the Flash Media Player installed by most users have a high level of security enabled by default. This is done to prevent Flash movies from playing on web pages that are hosted on different domains than the movie itself (again, to combat "phishing" or "spoofing").

[Code]...

View 3 Replies

Professional :: Using Flash To Display Images From Sql Server Or File System?

Aug 1, 2011

what methods and parameters of the urlloader class we have to use to display images in a flash player if possible..also movie should update everytime a new image is added to a database or filethe images can either be in a file system or in a sql database (if possible)does flash comes with an object of this type or we have to create it

View 1 Replies

Professional :: Embedding External Swf File Flash

Mar 3, 2010

I have 1 swf file which generated through 3rd party tool.Now I want to embed this file into empty flash file and want to save as new, I tried with following options,

1) import option ( File > Import ) but it is importing only Images and symbols. I want my original file as it in new file.
2) loader.load(), but this will load my external file at runtime only and to work smoothly it require both the files.

I want same but in design time, so I can add some extra functionality to it.Is it possible to embed external swf file as it is in new flash file in CS4?

View 1 Replies

Professional :: Open External File (ie, Ppt) From Flash?

Apr 22, 2010

I have a webpage that currently display a powerpoint slides.The problem is that other can download the slides which I really dont want.
 
following issues:I dont want to convert the ppt slides to .swf then convert them to flash but rather let flash open the .ppt directly and display on the webpage.

View 3 Replies







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