ActionScript 3.0 :: Connect / Load Swf Files For Website?

May 12, 2010

I'm a bit of a newbie at Flash and building my first website. I've built all the pages individually as different files and now I want to use AS to connect them all and link from my main page to the other files using buttons.

I thought I was on the right track with this code, but it returns an output error (both below).[code]...

View 1 Replies


Similar Posts:


Professional :: Two External Swf Files - Load To The Main Page Of The Website?

Aug 17, 2010

I have two external swf files which I need to load to the main page of the website, one is the about page which consist mostly of text, the other is an image gallery.Both of them have the same intro animation at the beginning.

My problem is, while testing the main page using bandwidth profiler, the about page loads beautifully, while the image gallery plays its animation first before it even finalizes to load the whole page.

View 2 Replies

ActionScript 3.0 :: How To Connect 2 Swf Files

Aug 30, 2010

i have one main swf file now on clicking btn it will play a url video. once video finishes i want to play that main swf file start playing from that place.

View 7 Replies

Media Server :: Connect .flv Files To The FMS?

Jun 25, 2009

OK... I had my host install FMS onto my server for me.  I am a little lost on how to connect my .flv files to the FMS.

View 4 Replies

Professional :: Connect Different Swf Files Into One Site?

Jan 17, 2011

I need to make this site like presentation for my next exam. I found a good template for a slide show. The presentation will be structured like this: 
 
MAIN PAGE with sidebar which links to: slide one with slideshow 1slide two with slideshow 2slide three with slideshow 3slide four with slideshow 4 due to the nature of the code thou i cannot put the different slideshows into the same .swf file in different scenes (i copied and pasted them in each scene and modified the actionscript so they would refer to different pictures) because they will create conflict with each other. now they question is can i use the sidebar to link to different swf files but still make it look like it was just one big swf?

View 5 Replies

ActionScript 3.0 :: Connect Multiple .as Files To The Document Class (.as)?

May 10, 2011

Is there a way to connect these three .as files (ThreeD.as, TwoD.as and InteractiveD.as) to the document class (MayGallery.as)?This is how I want my code to do.Click on the work btn, all the thumbnails from ThreeD.as, TwoD.as,and InteractiveD.as appear on the screen. These three .as files, I have used external xml file to load in the images.I tried to use include "ThreeD.as",but I got an error saying package is not nested in ThreeD.as. I don't know what that means.[code]

View 1 Replies

SWF Files Does Not Look The Same On Website?

Mar 17, 2009

I have created a slideshow based solely on actionscript and a bit of XML. It includes a delay which dictates when the pictures fade in/ out. When I view the .swf on my computer the slideshow works perfectly. But, when the slideshow is put on my website the delay is not correct, meaning some pictures transition too fast or sometimes too slow, depending on which computer/browser is being used.

I have tried publishing the file in flash versions 7 - 9.

There are only 15 pictures that need to be loaded, each less than 50kb, so I don't think that really matters. The file size of the .swf file is less than 1kb, so I don't think that has any effect either.

So, I was wondering if there is anything that I may need to add to the code to make sure that things flow smoothly? Or is there some publish setting that I need to change?

View 3 Replies

SWF Files Does Not Look The Same On Website

Nov 17, 2010

I have created a slideshow based solely on actionscript and a bit of XML. It includes a delay which dictates when the pictures fade in/ out. When I view the .swf on my computer the slideshow works perfectly. But, when the slideshow is put on my website the delay is not correct, meaning some pictures transition too fast or sometimes too slow, depending on which computer/browser is being used.

I have tried publishing the file in flash versions 7 - 9.There are only 15 pictures that need to be loaded, each less than 50kb, so I don't think that really matters. The file size of the .swf file is less than 1kb, so I don't think that has any effect either. I was wondering if there is anything that I may need to add to the code to make sure that things flow smoothly? Or is there some publish setting that I need to change?

View 1 Replies

Actionscript 3 :: Connect To AMFPHP - NetConnection.connect() Returns TypeError: Error #1009

Dec 8, 2011

UPDATE: Now I've moved the AMFConnection var declaration to outside the functions in Main, and commented out some trace() commands, and now it gives new errors:

Error #2044: Unhandled NetStatusEvent:. level=error, code=NetConnection.Call.BadVersion
at AMFConnection/init()[/Users/Jan/Downloads/amfphp1/AMFConnection.as:32]
at AMFConnection()[/Users/Jan/Downloads/amfphp1/AMFConnection.as:23]

[code]...

I'm trying to connect to AMFPHP on a server (with Flash AS3), and the swf borks when it reaches the .connect() stage. To make things easier (?) and more reusable (?), I've put all the NetConnection mechanics into a separate class, AMFConnection, which I call from the Main document class like this (details changed):

public function testConnection(e:*=null):void {
var conn:AMFConnection = new AMFConnection();
conn.table = "some_table";

[code]...

AMFConnection actually starts the connection and calls the AMFPHP service with the function gogogo(), and here's where the connect() NetConnection function just won't work. Here's the main section of the AMFConncection class

private var _netConnection:NetConnection;
private var _responder:Responder;
function AMFConnection()

[code]...

It also fails to display the stage, instead showing the loading dots. Now, eventually I'm going to move this application to the same server as the AMFPHP service, but even when I try it there with a relative url, instead of an absolute one, it still breaks down at connect(). I've tried changing the publish settings from local only to network only, to no avail.

View 3 Replies

Swf Files Are Not Reading On Website?

May 31, 2009

I recently made a website and the links for the main page do not seem to link properly to their rightful pages when I put the site online (but it does work well when Im just testing the site on my computer in my Flash program) I know that the website I made is very large - so I was wondering if that could be a reason for why the pages don't load properly - also one of the pages links to another site and although that seems to work on my swf when I play it in my Flash player - it doesn't work when I put it online-

Finally my sound quality is not that great for the site. The songs are in mp3 format - would it be better to make them .wav files?

Or are all these problems related and its just that my computer does not have enough power to convert this massive flash website into a proper swf file? If this is my problem. What do I do?

The site that I made is [URL]

View 2 Replies

ActionScript 3.0 :: Add Downloadable PDF Files To My Website?

Jun 19, 2009

I'm creating a web site, and I need to add two buttons that, when clicked, will download two different PDF files. I have absolutely NO IDEA how to do this!!! Not a clue!

View 12 Replies

Flash :: Stream Flv Files On Website?

Feb 3, 2011

I'm looking for a free flash player so that I can stream flv files on my website (like youtube). Anybody know of any good and free solution with no watermark?

View 5 Replies

ActionScript 3.0 :: Website With Multiple SWF Files

Apr 7, 2011

I am developing a portfolio page. There will be 4 main SWF files. One which is the home page (with a few keyframes for some navigation to an about page and contact page) and 3 pages each a different skill page. Each skill page displays 3 examples of work that I coded using keyframe navigation. I want to be able to click on one of the skill pages from " home" and have it load the new SWF created from the "webdesign" fla... I can't find any answer anywhere for 3.0 actionscript. I have this code so far, but it just writes the new SWF over the old one.

[Code]...

View 1 Replies

ActionScript 2.0 :: How Many Swf Files Are Located In A Certain Folder Of Website

Jan 6, 2009

how can i use actionscript 2 to find out how many swf files are located in a certain folder of my website?

View 2 Replies

Professional :: Retrieve Flash Files From Website?

Jul 7, 2011

I had a developer who has been working on [URL]. He build it using all flash. I need to make changes on the website, but it seems like he is out of business. They don't answer their phones or emails. The website is hosted on their server, and I don't have the FTP details. I can mirror  or copy my site onto my local computer, and re upload the site to a real company. I have access to my domain, so I can just point it to a new server after I have downloaded the website files to my computer.

View 4 Replies

ActionScript 2.0 :: Access Local Files From Website

Oct 25, 2010

without explaining why, I need to run a flash slideshow from a live web page and it is for a photo exibition: The problem is that the slideshow, while running on a love site, must read the image files from the local computer that it is browsed from. If the computer is always the same and the files are in the same directory when it was developed, how would I tell flash that the files are not on the server, but on the local computer?

View 1 Replies

Actionscript 3.0 :: Permit Download Files From Website?

Jan 15, 2010

I know some functions like navigateToURL but I would like to let users download some files from my website.

I don't need to secure transfer but just hidden the path when user click on my flash asset.

Do I have to employ php script?

Or this code is it sufficient ?

Code: Select allvar request:URLRequest = new URLRequest("http://path/picture.JPG"); 
var localRef:FileReference = new FileReference();   
try 

[Code]....

View 2 Replies

ActionScript 2.0 :: Protect SWF Files From A Decompiler At Website?

Feb 4, 2012

i have an important swf file and i want to make full protection to prevent any one from downloading or saving the content in any way.

View 2 Replies

ActionScript 2.0 :: Load Several Xml Files - Address Each Of The Files?

Jun 13, 2008

how to load for example two xml files, and how to address each of the files? The red comments will explain what I want

[Code]...

View 1 Replies

Play External Video Files In Flash Website?

Sep 4, 2009

I am a complete novice when it comes to flash and web design in general. I have purchased a flash template [URL] which I have been able to customise to my liking for a small production company. I am now completely stuck when it comes to integrating videos within the site.

I understand that I need to have an Xml playlist and some action script that references the videos to the player, but I have no clue on what to do.

I am looking to have a video begin as soon as the site loads and then have the buttons on the orange bar allow the user to navigate between other flv files. I would possibly be interested in including firther links on the video samples page.

View 1 Replies

Flex :: Website Where To Find Free Mp3 Files To Use In Project

Sep 4, 2010

I was wondering if there is a website from where I can download free mp3 files to use in my flex project? I am looking for some mp3 files using which I can create simple sound effects (e.g., you press a button, you hear a sound). I read flex can only play mp3 files, not wav files. Is this true? What's the best way to convert wav files to mp3?

View 1 Replies

ActionScript 2.0 :: Allow Visitors To Download Flash Files From Website

May 27, 2007

I would like to allow visitors to download flash files from my website.

I have the following code one my first button:

Code:
download_btn.onRelease = function(){
getURL("blankWebsite.exe");
}

This works fine and opens a 'Save', 'Open' or 'Cancel' pop-up box.

For button two (the xml file which visitors can use to populate the blank website they have downloaded) I have used the following code:

Code:
download2_btn.onRelease = function(){
getURL("template.xml");
}

However, rather than giving the option of saving the file (which is what I want) the file opens in a new browser window.

way to offer the 'Save', 'Open' or 'Cancel' options for the xml file rather than it opening immediately in a new browser window?

View 2 Replies

ActionScript 3.0 :: Play External Video Files In Flash Website?

Sep 4, 2009

I am a complete novice when it comes to flash and web design in general. I have purchased a flash template (url...) which I have been able to customise to my liking for a small production company. I am now completely stuck when it comes to integrating videos within the site. I understand that I need to have an Xml playlist and some action script that references the videos to the player, but I have no clue on what to do. I am looking to have a video begin as soon as the site loads and then have the buttons on the orange bar allow the user to navigate between other flv files. I would possibly be interested in including firther links on the video samples page.

View 3 Replies

Flash :: Full Website - Do All Files Including Linked Docs Go In One Folder?

May 14, 2009

how do you setup a full Flash web site, do all files including linked docs go in one folder?. are you suposed to use the publish pannel? The Flash site i am trying to create is to be used as an intrenet site that resides on the server how do I name links to doc in that folder?

View 1 Replies

ActionScript 1/2 :: Load A Swf In A Website?

Mar 5, 2010

I want to put a map in a flash website that was written in Actionscript 2. The google maps for flash api requires actionscript 3. I wrote a actionscript 3 app to load the map. Can I have that swf loaded in the actionscript 2 website and can you give me an example of the actionscript 2 code?

View 1 Replies

Website Won't Load Properly Online

Jan 21, 2010

I have an issue with website load.

[URL]

the content won't show untill you refresh 3-4 times.

View 6 Replies

ActionScript 3.0 :: Load Website Into A Movieclip?

Feb 18, 2010

I need to load a full website into a flash movieclip till now i have this but it just gives me an error[code]...

View 1 Replies

ActionScript 3.0 :: Load A Website Within Flash?

Apr 7, 2010

We can easily put a flash inside a html, but can we do it reverse?I want to create a object to display normal website page, is it possible in AS3?

View 2 Replies

Flash :: Load An RSS Feed Onto A Website With Only This?

Sep 14, 2010

Can you load an RSS Feed onto a web site with only Flash AS3 or do you need something else like flex?

View 1 Replies

ActionScript 2.0 :: Load External Swf On Top Of Website?

Feb 16, 2009

I have a web banner inside a website, I want to when i click this banner, to open up a external swf on top of the website.So not inside the banner but somewhere else on the side.For example when i click the web banner, a bird flies across the website.So the swf has transparent background. Then in a few seconds the external file unloads.

View 9 Replies







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