ActionScript 2.0 :: Won't Work When Online?
Sep 15, 2009
I've made a flash site and everything seems fine when I test it in flash and publish and run from my computer.However, when I upload it to my domain the external loader won't load my homepage initially. And I believe I've got a piece of script to tell it to do so.If you open up another page and return to the homepage it works fine.P.S I do have a preloader page prior to my homepageThe external loader script is:
ActionScript Code:
//------------Initialisation-----------\
var currentPage = ("home_btn")
[code].....
View 0 Replies
Similar Posts:
Jun 25, 2009
When i test my movie the buttons work fine they get the URL that i want but then when i upload it to my page it does not get the URL. Am i uploading it wrong??? I Uploaded the SWF to the Server and posted it that way is there more involved or did i do something wrong in the actual movie. [URL]
View 5 Replies
Jul 13, 2010
I've got a simple text file with a variable in it: &tekst=This is a test&
I'm loading it with LoadVars and let the text of one dynamic textfield be replaced by the 'tekst' variable.
stop();
var my_lv:LoadVars = new LoadVars();
my_lv.onLoad = function(success:Boolean) {
if (success) {
[Code]....
This works offline, but online the text isn't replaced? This should work right?
The code and the dynamic textfield are both on frame 1. The swf only has this one frame. The txt, swf and html file are at the same location.
View 2 Replies
Aug 12, 2011
I am trying to figure out why my flash files work correctly locally but don't after I upload them. I am using Mac Flash CS4 and AS2. (They were CS3 files originally)
When I use Safari to view the uploaded files and check the Activity window it shows the files load but they don't show up. I have a main swf and others are loaded into it using:
[Code]...
View 4 Replies
Jul 13, 2010
I've got a simple text file which I want to read with LoadVars:
Code:
&tekst=This is a test&
I'm loading it with LoadVars and let the text of one dynamic textfield be replaced by the 'tekst' variable.
ActionScript Code:
stop();
var my_lv:LoadVars = new LoadVars();
my_lv.onLoad = function(success:Boolean) {
[code]....
This works offline, but online the text isn't replaced? This should work right? So what's wrong? All I've got is this one frame with code and a dynamic textfield.See attached files. The published files .html .txt and .swf are all in the same location.
View 8 Replies
Sep 2, 2010
iv been having this problem with swf file iv created, it consist of images somewhat like a gallery. when played offline it works smoothly, navigating frame to frame / image by image. iv used AS3 to compose the animations in my flash file. now my problem is when its uploaded online, the swf is shown but once iv clicked on a link to proceed on showing the gallery it lags and continously loop when it should actualy stop on a frame and wait till the next button is clicked to procced to the next image. plus the animation iv added in doesn't seem to working at all.
View 1 Replies
Aug 23, 2010
But it works fine locally.
I've created an extremely simple flash website. I need it to display some pictures and to keep the filesize down I want to load these images on demand. The images are hosted on my server in folders in the same directory as the website swf and the html file that initializes the swf.
I use the most rudimentary way of loading an image, it looks like this:
Code:
var loadStart:Loader = new Loader();
loadStart.load(newURLRequest("images/start/screenshotstart.jpg"));
startScreenshot.addChild(loadStart);
When I upload the website to the server it simply does not display the image, it's not loaded, the place where it's supposed to be is blank.
I've searched the site and there have been some threads with similar issues but the answers given just don't seem relevant. Something about cross domain policies, but all my images are on the same domain as the website swf.
View 2 Replies
Oct 1, 2006
I got this script
Code:
on (release) {
var lv:LoadVars = new LoadVars();
lv.onLoad = function(success:Boolean) {
if (success) {
[Code]...
View 1 Replies
Mar 16, 2008
i am truly a newbie in as2, i have test the script in local flash "Test Movie" everything was perfect, however when i try to put the files into my remote server, the getBytesLoaded()return to "0" and getBytesTotal() return to "-1" and the loader componentscaleContent=true function was not working also,until i press "F5" refresh button, then everything back to normal, i dont know what is going wrong with my scripti am using Flash CS3, as2.0 and ie7 and the dimension of my loader is 100x100 px
Code:
import mx.controls.Loader;
my_ldr.scaleContent = true;
[code]......
View 1 Replies
Apr 11, 2010
I'm editing this template but there is a problem, when the page is online the scroll sometime doesnt work.URL...I don't understand why, in the swf everything is perfect, but when the page is online if we test the scroll sometimes it simply doesn't work.[code]
View 1 Replies
May 11, 2008
I'm using LoadVars to load variable data into flash from a .txt file.Pretty simple - when uploaded onto a server, I can see the data loaded but no one else can, not even other accounts on my computer!Could this be a CHMOD permission problem? Could this a problem with my AS? A problem with directories? A problem with URLs?Anybody have a good method that simply loads vars from a .txt file and can also do it online?
View 2 Replies
Sep 20, 2011
I am totally new to actionscript (barely could set up the IDE environment for Linux). I have trouble parsing an xml file containing some namespaces. All the tutorials and samples i found online are not working for me. the file looks like this:
[Code]...
View 3 Replies
Aug 9, 2007
i am using flash 8 professional and making my portfolio site using xml with flash. when you click the red buttons on the right, thumbnails appear on the left (and when you click those, more thumbnails appear, and then you click those and the image appears.) on my machine it works properly, BUT when i upload it, the thumbnails appear and then erase themselves (all except the first two). it's inconsistent and totally weird. i changed some of the code, tried messing with the publishing settings, and re-uploaded and nothing changed. a friend who works at an actionscript company said it doenst make sense that it works differently on my machine than online. she also confirmed that the way i embedded the swf in the html is correct
View 3 Replies
Feb 18, 2012
found that code to display html format text to dynamic textfield in as3:
var url:String = "http://edeejay.dyndns.org:8000/currentsong?sid=1";
var loadit:URLLoader = new URLLoader();
loadit.addEventListener(Event.COMPLETE, completeHandler);
[code].....
View 1 Replies
Jan 24, 2011
I imported my SWF unto dreamweaver and previewed it on browser and it works perfectly fine, I then uploaded on server but it is not showing online, I have flash player 10, and have checked to see if all the files are placed in correct root folder. I tried saving SWF under a new name, and a few oher things but it is not working!!!! Been racking my brains for 2weeks....
Here is the site page. [URL]
View 1 Replies
Aug 28, 2009
I worked on this flash site and imported it in Dreamweaver to publish online. When I test the movie in Flash and in Dreamweaver evrything looks to work just fine, but when I upload the .swif and the .html files the video on the home page does not work!
[URL]
View 3 Replies
Mar 19, 2012
I am trying to defeat my psychological block with dynamically loaded fonts in AS3, and I have an annoying problem. I am creating a clock with a textfield and I am loading fonts from a SWF library: the available classes/linkages are "Arial", "ArialBold", "MyriadPro", "MyriadProBold" and "Verdana".This is the line where I get the class from the SWF, and it extracts the class correctly
Code:
clock = new Clock( { fontClass: assetsLoader.getFontClass("skin", "Arial") } );
The constructor...
[code]......
View 7 Replies
Mar 15, 2010
I'm trying to make a simple Flash application to be placed on a web site. It is intended to take data from an .xml file and display it in the Flash movie. There are a number of buttons that display different nodes of the .xml file when clicked. (Not all the buttons are functional yet in this code; I know that.)It runs just fine in Flash. It even runs fine when I publish it and then run it by clicking on the html file on my computer.When I upload the html and swf files to my server, the html file works fine (gives me a solid colored background) but the swf is just a white box, nothing in it and no functionality.Something needs to be declared, imported or linked, I think, but I do not know what or how to do it. (Most irritating is the fact that the code is substantially taken from an online tutorial, with nary a word about this issue.)
ar chineseSentence:Array=new Array();
[many other Array vars deleted for space]
var loader:URLLoader = new URLLoader();
[code]......
View 7 Replies
Apr 5, 2010
For some reason when my swf is published online the elements show up pixelated but when its local it looks fine. the object is set to high quality in the html.[url]...
View 1 Replies
Jun 13, 2010
how would one go about getting a flash website online?
View 3 Replies
Jun 22, 2011
I'm having Trouble seeing files once they go online. Everything was just fine yesterday. But now whenever I export a file and upload it, it can't be viewed. They run just fine on my machine but when uploaded I get the "need newer version of Flash" message. And when I try to just load the swf it comes up blank. My older SWFs still work great, just the ones I exported today that are having problems.
View 5 Replies
Oct 13, 2011
My friend wants to be able to update the sites text himself. Is there a way he can easily edit the basic text online without having to use Adobe Flash (it would be even better if he could add photos as-well). I was thinking I could get flash to read an XML file but I don�t know how he could easily edit that as heis not techie at all.
View 1 Replies
Jul 5, 2009
I need an easy way to let my customer edit txt content on the web..
View 5 Replies
Sep 18, 2009
In The Flash Application, my gallery is working as it is meant to. Yet, when I upload the swf to the live site, the first image, text and movie of my gallery works but it refuses to scroll to the next item in my XML.
I have given it an absolute path to that server which works in Flash but not when it is online.
View 2 Replies
Nov 9, 2009
I have an FLV file but need to generate an SWF to then upload onto the internet (with a play/stop bar)
I have no idea how to do this. Is there a step by step I can access or can someone point me tell me where and what to do!!!! I have CS4
I understand that I need to have all the files in the same folder and then link them all in. I will be uploading onto the website (back of house html) is there a basic code that i can modify that will suit my needs?
View 5 Replies
Nov 12, 2009
How can I convert the pdf to swf ? I have to display it in my page.Is it possible to convert online pdf to swf dynamically?
View 4 Replies
May 27, 2010
Example: If my SWF has a simple 2D charactor sprite, which moves around on a 2d background... What will I need to make it so that a player has to create an account and sign in, and then others can do the same and they can all see each other in the room. I have been unable to find resources on what it takes to turn a flash game into a chatroom or an "MMO".
View 3 Replies
May 13, 2011
I am working on the offline cd runs projector.exe using actionscript 2.0.I need to use online search feature in my glossary.Is it possible to browse internet within flash projector.exe. I dont want to open any internet explorer or firefox window.
View 7 Replies
Jun 16, 2009
I need to be able to find the current time from an online source rather than the system to make sure the time is correct. I need to do this in actionscript, preferably 2 rather than
View 2 Replies
Nov 29, 2010
I'm building a website application in PHP that requires a signature from the end user. For this part of the website it will be exclusively viewed on Windows based tablets. So, my question is this: What's the best way to capture a signature online? I've looked at flash or HTML5 canvas/excanvas, but I am seeking a more experienced answer.
View 2 Replies