Website Won't Load Properly Online
Jan 21, 2010I have an issue with website load.
[URL]
the content won't show untill you refresh 3-4 times.
I have an issue with website load.
[URL]
the content won't show untill you refresh 3-4 times.
how would one go about getting a flash website online?
View 3 RepliesI'm an italian student. I don't know how to put online the website I created with Flash (I'm a graphic designer, I took a flash course of only 10 lessons, the teacher didn't explain how to put online our works but wants a working website for the exam!).I have a folder with 7 files.fla, 7 file.swf, an image folder, a video folder and a sound folder. First of all. I don't know if I have to rename my homepage as index.fla (in this case I should change the script of all the buttons linked to the homepage!!!). Is it correct to change only the name of the homepage.html file?Second. I made the files.html with flash but I don't know how to eliminate the white margins. The code seems so confused, but I don't know how to make an html file with flash script by myself.
View 1 RepliesI am building a website that is all in flash.In the first frame there are 6 buttons. Each button has a code to go to a different place in the timeline, where something happens. For example, one of the buttons has this code:
on (release) {
gotoAndPlay("web");
}
Another button has this code:
on (release) {
gotoAndPlay("widgets");
}
And so on.Everything happens on the same timeline.When I publish the movie to test it (ctrl+enter), everything works great.The problem happens when I upload the file to my ftp and try to view it online. In that case, when pressing one of the buttons, instead of jumping to the place in the timeline where it should go, it just continues on to the next frame on the timeline. So for example if I press the "web" button, instead of going to the label "web" it just continues on to frame 2 in the timeline, and then 3,4,5 and so on until there is a stop(); in the actionscript.
After the first press though, it goes back to working fine. Meaning, the second time I press the "web" button, it will go to the "web" label, and from the second click onwards everything works great. it's just the first click on ALL the buttons that doesn't work, although it does work locally...
I have made a simple website in Flash which I would now like to put online. I have published the movie as an HTML file and tested it - it works offline. I then used my FTP program to transfer the html document to my web space and tested it. I saw the 'Press SPACEBAR or ENTER to activate and use this control' message but, even when I clicked, the screen remained blank.
View 3 RepliesDoes anyone know why my flash site displays a white screen before the loader actually works? It kind of defeats the purpose of having a loader. I'm not familiar with xml either so could this be an issue? My swf file is only 2.2 MB
View 7 RepliesI recently began working on a large game. The main swf that all the levels load from also acts as a runtime library. When the MovieClipLoader loads the next level, if that level imports any mc's from the main swf then it won't load. It works fine straight from the HDD though.
I could really use a hand. I've used up most of my brain power figuring out the source of the problem (there's a lot of stuff to sift through).
I mis-spoke before. The MCL will load level.swf, I see the progress bar and OnLoadInit executes which should mean that the first frame of the level was initialized, but nothing appears.
Im trying to load xml files on another domain on mine. This code works locally but not when i post it to my server. Can you explain what im doing wrong?[code]
View 8 RepliesI am trying to upload a local swf into a swf app that i have on my server, any ideas about how to do this?
View 1 RepliesI just create a rss reader of itunes feeds that work perfectly on my deskstop but when I put it online the Event.COMPLETE, rssLoaded is never fired look like the loading of the feed is impossible. I change with another feed : same problem I test this on my personal website Numéricable ( France) and on a blog plateform I saw security alert when I launch in my brownser but people on the forum said that it just a problem when you run the swf locally...
View 6 RepliesI would like to load an external image to a flashwebsite.I do this using a Loader.[code]When I test the swf offline, it works. But when I put everything online and I browse to the HTML file, it doesn't load the images anymore.What do I have to do to load external images online?
View 3 RepliesHas anyone been successful in using StageWebViewBridge to load and communicate with an online web page? [URL]. The documentation and examples offered are all configured around working with local files (which work successfully) and although the instruction to 'include the StageWebViewBridge.js' file within the loaded html page sounds very straight forward, sadly it doesn't seem to work.
For anyone wanting to replicate my test I have uploaded the files here: [URL]. I'm basically loading the 'ExampleCallBackFuncions.html' file from a web server. I've included the StageWebViewBridge.js file like so...
<script type="text/javascript" src="StageWebViewBridge.js"></script>
When I test the movie I get the correct setup output messages
_serializeObject =>___onDomReady
_serializeObject =>___getFilePaths
_serializeObject =>___onDeviceReady
_serializeObject =>fnCalledFromJS
And the html page appears in the viewport. But on pressing the button which should send a message to Actionscript I get the following error messages:
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at es.xperiments.media::StageWebViewBridgeExternal/parseCallBack()
[/Users/G5TowerIntel/Desktop/maptest/es/xperiments/media/StageWebViewBridgeExternal.as:88]
at es.xperiments.media::StageWebViewBridge/onLocationChange()
[/Users/G5TowerIntel/Desktop/maptest/es/xperiments/media/StageWebViewBridge.as:236]
My goal is to send a message back to ActionScript from the html page.
im loading some RSS from twitter.. it works fine when i'm testing local, but when customer uploads it on 3rd part server, it doesent work. It's most likely a flash security issue. Is it possible to make a serverscript file that outputs the RSS to flash? Our server does have both ASP and PHP directories.. so any will do.
View 0 RepliesI'm trying to load xml files on another domain on mine. This code works locally but not when i post it to my server. [code]...
View 0 RepliesI am trying to find the solution to loading a .txt from c:/ to my online swf.
View 2 RepliesSetup: I have an html page with an embedded flash object. The object is an "index.swf" with an empty movie clip on it. External swf's load onto the index swf via the empty movie clip when buttons are pushed.
Problem: On my test server in dreamweaver, the swf's load fine. When I put them on my server and test it online only the index swf loads. not the initial swf or any of the other swf's.
Site: [URL]
Files: [URL]
(index page and home page for your reference)
I boot up Flash CS4 and all I see in the upper left corner are the three dots for Apple's Snow Leopard interface. Flash was working fine yesterday, then last evening, all I got were the three dots. The menus are there. They open, but they are acting flakey. I can open up a file, but none of the palettes or interface show up. The stage is located under Apple's menu bar at the 0,0 location of the monitor and unmovable.
I deleted the preference files from my user library and also a file called "Flash 10 mru". That didn't do a thing.
The only change I made yesterday was an upgrade Adobe supplied for Premiere.
I also upgraded to Snow Leopard over the old Leopard, rather than a clean install.
But Flash was working fine on it for a month before yesterday's three dots attack.
Flash CS3 works fine.
Flash CS4 works fine on my laptop with Snow Leopard.
This morning, I uninstalled the old and reinstalled a new copy. Really at a loss as to what to do.
I was thinking of doing a clean install of Snow Leopard on a new hd and starting over. Before I do all that, I was hoping there was an easier fix.
[URL]
I am making a flash site where one of my pages loads an external swf. In this external swf I have sub pages with links. My problem is when I visit a page from this external swf, and then go to a page from my main website (clicking my main time line buttons) and then go back to the page with the external swf i was previously on, the page would go to the last page i was on, instead of refreshing it back to the main frame of the external swf.
I made a small, simple example of what I am experiencing on the site I'm working on.
[Code]...
Firstly I aim to load random jpgs into a movieclip from a folder online. online image dir As jpgs will be constantly added to this by anyone, I will never know the file.jpg names to put into my AS. So i was advised I needed PHP to do this, (I know little about PHP) I got some space where PHP works! PHP enabled Right so at the moment I have a Movie Clip in flash with a piece of AS that says
[AS]onClipEvent (load) {
loadVariables("http://www.cppa.co.uk/t/test1.php", this, "GET");
filenames.split(":");[code]....
But when trying my php file through firefox its says (php file ."Parse error: parse error, unexpected '.' in c:websitesfreecrystalwww est1.php on line 5"
how to make this piece of PHP script send the flash the filenames of the directory, so flash can random insert on into a movie clip,
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 RepliesFirstly I aim to load random jpgs into a movieclip from a folder online. online image dir As jpgs will be constantly added to this by anyone, I will never know the file.jpg names to put into my AS. o i was advised I needed PHP to do this, (I know little about PHP) I got some space where PHP works! PHP enabled Right so at the moment I have a Movie Clip in flash with a piece of AS that says
[AS]onClipEvent (load) {
loadVariables("http://www.cppa.co.uk/t/test1.php", this, "GET");
filenames.split(":");
myRandom = random(filenames.length);
[code]....
But when trying my php file through firefox its says (php file
"Parse error: parse error, unexpected '.' in c:websitesfreecrystalwww est1.php on line 5"
So if anyone could give me any advice on how to make this piece of PHP script send the flash the filenames of the directory, so flash can random insert on into a movie clip.
[code]....
I am setting my seletedDate in my DateChooser like this. The format i am getting from the Database is 2009-12-30
I found a script which loads text from a TXT file. Nou the code workd fine on a button, but assoon i putt that code on a MC it doesn't load the variables properly. That meas; i don't any script errors, but the text doesn't appera in the dynamic texterea.[code]
View 4 RepliesI have begun to build a vertical gallery. I have it set up to follow an xml document and it loads rather quickly. While the loading works, the unloading is not so hot. I can't figure out how to unload the container_mc which contains all the thumbnails. I intend to develop this page in as3 primarily so that I can adopt it to other projects. The arrangement is two vertical boxes on the right and left, a text box at the bottom in between the two vert boxes, and a fullscreen box in the center. The drawn squares are only being used as placeholders for real art right now.
As it stands, I can use either button to load the gallery, but when I click the next gallery it unloads everything, but it does not reload the next gallery. I want the buttons to load their respective galleries. I figure once I set up the structure for 2 galleries, I can make more.
var Gal_Array1:Array = new Array();
Was my attempt at loading the thumbs into an array, and later clearing it but I don't think it works (I think it would only double the amount of thumbs?). How to properly load and unload the container_mc?
Code:
import flash.net.URLLoader;
import flash.net.URLRequest;
import flash.events.Event;
import flash.display.MovieClip;
import flash.display.Loader;
import flash.events.MouseEvent;
import fl.controls.ProgressBar;
[Code] .....
So I made a drag and drop app where I can drop in an image, it get's resized and saved automatically on the desktop.
But now I want to do the same when there are multiple images dragged in. This is where I'm stuck...
private function onDrop(e:NativeDragEvent):void
{
trace("Dropped!");
var dropfiles:Array = e.clipboard.getData(ClipboardFormats.FILE_LIST_FORMAT) as Array;
[Code]....
The problem is that I want the completeHandler() to run after every ldr.load() but in my code it only runs once right after the for each loop.
check this out: [URL] this swf does use this code:
Code:
optredens = new LoadVars();
optredens.load("optredens.txt");
optredens.onLoad = function(){
_root.aankomend = this.aankomend;
_root.geweest = this.geweest;
}
as you see in the swf you first have to switch with "aankomende optredens" en "gespeelde optredens" before you can read the aankomende optredens text... why? i just want it to load immediately, so you can read it... without having to read "undefined"
[URL] this swf does use this code:
Code:
optredens = new LoadVars();
optredens.load("optredens.txt");
optredens.onLoad = function(){
[code]...
as you see in the swf you first have to switch with "aankomende optredens" en "gespeelde optredens" before you can read the aankomende optredens text... why? i just want it to load immediately, so you can read it... without having to read "undefined"...
What is the simplest way to make QWebView recognize and properly load Flash on the web page?
View 1 RepliesI'm using swfobject (2.2) to load blip.tv videos. Everything was working fine with their old player, but now that they have switched to the stratos player, it fails to load properly in IE. It shows a grey video window, with the play button half showing on the left side, and the button won't work.
Here is my js code:
function loadBlip(videoFile,width,height,cssID) {
var blipSWF = "http://blip.tv/scripts/flash/stratos.swf";
var expressSWF = "/lib/js/swfobject/expressInstall.swf";
var attributes = {
[Code]......
The file that I pass to the loadBlip function looks like: [URL]
Again, this works fine in FF/Chrome/Safari, but fails in IE.
Here's a sample link: [URL]
I have a big problem - I decided to make a website using flash as I am good with photoshop and thought it would be fairly easy to construct in flash using tutorials. All went well except now the website is published, weird things happen. The homepage works fine but when you click on "portfolio" some of the buttons don't appear and when you try the buttons, some images don't appear. Occasionally some of the buttons take you to the wrong place also. When I test the movie in flash, everything works fine so I can't work it out. I am a complete novice so advice will have to be spelt out in black and white.
View 2 Replies