3d Carousel SWF Loads Fine But Wont Show Online...
Hi,
I have made a 3d carousel based on the tutorial at gotoandlearn.com and it looks awesome...however when I try to put the swf in html it does not show up...any ideas???
code: import mx.utils.Delegate;
var numOfItems:Number; var radiusX:Number = 500; var radiusY:Number = 125; var centerX:Number = Stage.width/2; var centerY:Number = Stage.height/2; var speed:Number = 0.05; var perspective:Number = 0; var home:MovieClip = this;
var tooltip:MovieClip = this.attachMovie("tooltip", "tooltip", 10000); tooltip._alpha = 0;
var xml:XML = new XML(); xml.ignoreWhite = true;
xml.onLoad = function() { var nodes = this.firstChild.childNodes; numOfItems = nodes.length; for(var i=0; i<numOfItems; i++) { var t = home.attachMovie("item", "item"+i, i+1); t.angle = i * ((Math.PI*2)/numOfItems); t.onEnterFrame = mover; t.toolText = nodes[i].attributes.tooltip; t.show.inner.loadMovie(nodes[i].attributes.image); t.ref.inner.loadMovie(nodes[i].attributes.image); t.show.onRollOver = over; t.show.onRollOut = out; t.show.onRelease = released; } }
function over() { home.tooltip.tipText.text = this._parent.toolText; home.tooltip._x = this._parent._x; home.tooltip._y = this._parent._y - this._parent._height/2; home.tooltip.onEnterFrame = Delegate.create(this, moveTip); home.tooltip._alpha = 100; }
function out() { delete home.tooltip.onEnterFrame; home.tooltip._alpha = 0; }
function released() { trace(this._parent.toolText); }
function moveTip() { home.tooltip._x = this._parent._x; home.tooltip._y = this._parent._y - this._parent._height/2; }
xml.load("shows.xml");
function mover() { this._x = Math.cos(this.angle) * radiusX + centerX; this._y = Math.sin(this.angle) * radiusY + centerY; var s:Number = (this._y) / (centerY + radiusY); this._xscale = this._yscale = s * 100; this.angle += this._parent.speed; this.swapDepths(Math.round(this._xscale) + 100); }
this.onMouseMove = function() { speed = (this._xmouse - centerX)/10000; }
[HTML] <HTML> <HEAD> <meta http-equiv=Content-Type content="text/html; charset=ISO-8859-1"> <TITLE>Expo BLING</TITLE> </HEAD> <BODY bgcolor="#000000"> <OBJECT classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" WIDTH="100%" HEIGHT="100%" id="Expo BLING" ALIGN=""> <PARAM NAME=movie VALUE="shows.swf"> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#FFFFFF> <EMBED src="shows.swf" quality=high bgcolor=#000000 WIDTH="100%" HEIGHT="100%" NAME="Expo BLING" ALIGN="center" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED> </OBJECT> </BODY> </HTML> [/HTML]
I tried to publish the fla as html and the same stuff happens when I post the html file on the server...(and my xml file is online...)
try it... www.expocadvr.com/temp/shows.html
FlashKit > Flash Help > Flash ActionScript
Posted on: 12-18-2007, 10:53 AM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
- 3d Carousel SWF Loads Fine But Wont Show Online...
- 3d Carousel SWF Loads Fine But Wont Show Online...
- Intro Loads Fine, The Site Does NOT
- [CS3] Conflicting SWF's - First Swf Loads Fine Then Second Swf Turns Into The Second
- Help Movie Loads Fine Locally, Not At All On Webserver
- Flash Loads Twice In IE Fine In Firefox/ Safari
- Preloader Issues - Loads Scene 1 Fine But...
- Unable To Play Flv From Xml Though The Xml Loads Perfectly Fine
- LoadMovie Help Anyone? Works Fine On PC, But Not Online
- Mp3 Flash Player Loads Fine In Firefox, Takes 15 Sec In IE - Help
- Swf Plays Fine Locally, Slow Online
- Fade Slow Online, Fine At Home
- Flash AS3 Refuses To Load Https, Loads Http Fine
- Carousel Loads An Flv
- [CS3] FLV's That Are External Work Fine Locally But Not Uploaded Online ?
- Help: Swfs Stalling Out Online But Work Fine Locally?
- SWF Plays Fine On Hard Disk But Slow Online
- FLV's That Are External Work Fine Locally But Not Uploaded Online ?
- Buttons Disappear After Loading From Xml Online But Work Fine On Machine
- Buttons Disappear After Loading From Xml Online But Work Fine On Machine
- Carousel Acting Up Online
- Movie Fine In .swf But No Show In .html
- [mx]mc Loads Offline But Not Online?
- Textfield Loads Locally But Not Online?
- XML Gallery Loads Locally But Not Online
- .txt File Loads Locally, But Not Online
- Load Movie Loads Locally..not Online
- Load Movie Loads Locally..not Online
- Loadmovie Jpeg Loads Locally, But Not Online
- Loadmovie Jpeg Loads Locally, But Not Online
- Why The Carousel ToolTips Cannot Show Number?
- Drat.. This Works Fine From My Machine, Online It Says "NaN%" For Load Status
- To Only Show The Animation When It Loads The Page
- Show Alert When Movie Loads
- ID3 Tag Doesnt Show Up Until .mp3 Loads Completely
- To Only Show The Animation When It Loads The Page
- To Only Show The Animation When It Loads The Page
- Tv Show Online
- Hide Buttons When Movie Loads And Then Show
- Swf Doesnt Show Online
- Scrollbar Won't Show Up Once .swf Is Online
- Don't Know Why Text Will Not Show Online
- Why It Didn't Show Online?
- Why It Didn't Show Online?
- Flash Does Not Show Online
- Scrollbar Won't Show Up Once .swf File Is Online
- External Text File Won't Show Online
- Fine Local,Not Fine Server...NetConnection
- External Movie Loads, But The Dynamic Text That Loads With It Won't Render HTML?
3d Carousel SWF Loads Fine But Wont Show Online...
Hi,
I have made a 3d carousel based on the tutorial at gotoandlearn.com and it looks awesome...however when I try to put the swf in html it does not show up...any ideas???
ActionScript Code:
import mx.utils.Delegate;var numOfItems:Number;var radiusX:Number = 500;var radiusY:Number = 125;var centerX:Number = Stage.width/2;var centerY:Number = Stage.height/2;var speed:Number = 0.05;var perspective:Number = 0;var home:MovieClip = this;var tooltip:MovieClip = this.attachMovie("tooltip", "tooltip", 10000);tooltip._alpha = 0;var xml:XML = new XML();xml.ignoreWhite = true;xml.onLoad = function(){ var nodes = this.firstChild.childNodes; numOfItems = nodes.length; for(var i=0; i<numOfItems; i++) { var t = home.attachMovie("item", "item"+i, i+1); t.angle = i * ((Math.PI*2)/numOfItems); t.onEnterFrame = mover; t.toolText = nodes[i].attributes.tooltip; t.show.inner.loadMovie(nodes[i].attributes.image); t.ref.inner.loadMovie(nodes[i].attributes.image); t.show.onRollOver = over; t.show.onRollOut = out; t.show.onRelease = released; }}function over(){ home.tooltip.tipText.text = this._parent.toolText; home.tooltip._x = this._parent._x; home.tooltip._y = this._parent._y - this._parent._height/2; home.tooltip.onEnterFrame = Delegate.create(this, moveTip); home.tooltip._alpha = 100;}function out(){ delete home.tooltip.onEnterFrame; home.tooltip._alpha = 0;}function released(){ trace(this._parent.toolText);}function moveTip(){ home.tooltip._x = this._parent._x; home.tooltip._y = this._parent._y - this._parent._height/2; } xml.load("shows.xml");function mover(){ this._x = Math.cos(this.angle) * radiusX + centerX; this._y = Math.sin(this.angle) * radiusY + centerY; var s:Number = (this._y) / (centerY + radiusY); this._xscale = this._yscale = s * 100; this.angle += this._parent.speed; this.swapDepths(Math.round(this._xscale) + 100);}this.onMouseMove = function(){ speed = (this._xmouse - centerX)/10000;}
HTML Code:
<HTML>
<HEAD>
<meta http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
<TITLE>Expo BLING</TITLE>
</HEAD>
<BODY bgcolor="#000000">
<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" WIDTH="100%" HEIGHT="100%" id="Expo BLING" ALIGN="">
<PARAM NAME=movie VALUE="shows.swf">
<PARAM NAME=quality VALUE=high>
<PARAM NAME=bgcolor VALUE=#FFFFFF>
<EMBED src="shows.swf" quality=high bgcolor=#000000 WIDTH="100%" HEIGHT="100%" NAME="Expo BLING" ALIGN="center" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>
</OBJECT>
</BODY>
</HTML>
I tried to publish the fla as html and the same stuff happens when I post the html file on the server...(and my xml file is online...)
try it... www.expocadvr.com/temp/shows.html
3d Carousel SWF Loads Fine But Wont Show Online...
Hi,
I have made a 3d carousel based on the tutorial at gotoandlearn.com and it looks awesome...however when I try to put the swf in html it does not show up...any ideas???
[AS]
import mx.utils.Delegate;
var numOfItems:Number;
var radiusX:Number = 500;
var radiusY:Number = 125;
var centerX:Number = Stage.width/2;
var centerY:Number = Stage.height/2;
var speed:Number = 0.05;
var perspective:Number = 0;
var home:MovieClip = this;
var tooltip:MovieClip = this.attachMovie("tooltip", "tooltip", 10000);
tooltip._alpha = 0;
var xml:XML = new XML();
xml.ignoreWhite = true;
xml.onLoad = function()
{
var nodes = this.firstChild.childNodes;
numOfItems = nodes.length;
for(var i=0; i<numOfItems; i++)
{
var t = home.attachMovie("item", "item"+i, i+1);
t.angle = i * ((Math.PI*2)/numOfItems);
t.onEnterFrame = mover;
t.toolText = nodes[i].attributes.tooltip;
t.show.inner.loadMovie(nodes[i].attributes.image);
t.ref.inner.loadMovie(nodes[i].attributes.image);
t.show.onRollOver = over;
t.show.onRollOut = out;
t.show.onRelease = released;
}
}
function over()
{
home.tooltip.tipText.text = this._parent.toolText;
home.tooltip._x = this._parent._x;
home.tooltip._y = this._parent._y - this._parent._height/2;
home.tooltip.onEnterFrame = Delegate.create(this, moveTip);
home.tooltip._alpha = 100;
}
function out()
{
delete home.tooltip.onEnterFrame;
home.tooltip._alpha = 0;
}
function released()
{
trace(this._parent.toolText);
}
function moveTip()
{
home.tooltip._x = this._parent._x;
home.tooltip._y = this._parent._y - this._parent._height/2;
}
xml.load("shows.xml");
function mover()
{
this._x = Math.cos(this.angle) * radiusX + centerX;
this._y = Math.sin(this.angle) * radiusY + centerY;
var s:Number = (this._y) / (centerY + radiusY);
this._xscale = this._yscale = s * 100;
this.angle += this._parent.speed;
this.swapDepths(Math.round(this._xscale) + 100);
}
this.onMouseMove = function()
{
speed = (this._xmouse - centerX)/10000;
}
[/AS]
HTML Code:
<HTML>
<HEAD>
<meta http-equiv=Content-Type content="text/html; charset=ISO-8859-1">
<TITLE>Expo BLING</TITLE>
</HEAD>
<BODY bgcolor="#000000">
<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" WIDTH="100%" HEIGHT="100%" id="Expo BLING" ALIGN="">
<PARAM NAME=movie VALUE="shows.swf">
<PARAM NAME=quality VALUE=high>
<PARAM NAME=bgcolor VALUE=#FFFFFF>
<EMBED src="shows.swf" quality=high bgcolor=#000000 WIDTH="100%" HEIGHT="100%" NAME="Expo BLING" ALIGN="center" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>
</OBJECT>
</BODY>
</HTML>
I tried to publish the fla as html and the same stuff happens when I post the html file on the server...(and my xml file is online...)
try it... www.expocadvr.com/temp/shows.html
Intro Loads Fine, The Site Does NOT
http://www.offsite-it.com
^^ Intro
http://www.offsite-it.com/site_main.html
^^ Sightro
The site doesn't load after the intro loads. Take a look if you would like.
Any ideas? The site is size 22kb, while the intro is 127kb. The intro takes a moment to load up, but the site never loads. Ever.
[CS3] Conflicting SWF's - First Swf Loads Fine Then Second Swf Turns Into The Second
Its kind of hard to exaplain but I have these swf's that grab pictures from flickr and display them in a nice grid. The problem is I can not load more then one of these swf's into my fla without getting very strange results
I can load the first one fine, but when loading the second one, it just shows the first on but double, one is where it should be and the other is 0,0 on the stage.
I have tried different levels, different scenes and no matter one it does not show both of them. The source is pretty time consuming as there are about 30 linking actionscript files to make this thing work.
Here are the two swf's for those that are brave.
Many thanks in advance.
Help Movie Loads Fine Locally, Not At All On Webserver
I've created a (fairly simple) Flash animation. When I publish to D: and open file://D:index.html in the browser, it shows up perfectly.
When I upload the files to the server and go to http://<server_address>/index.html all I get is a box of whatever color I've set for the <PARAM NAME="bgcolor"> tag. Right-clicking the box brings up a (very abbreviated) Flash menu (two entries -- a greyed-out "Move not loaded..." and an "About Macromedia Flash Player" or something along those lines.)
It appears to be a server problem (I change the <PARAM NAME="movie"> tag to point to a random flash file on someone else's server and it works just fine. I download said Flash file to my server and it doesn't work).
MIME Types are set correctly. (According to Macromedia they shouldn't matter when we're using IE and ActiveX anyway, as it's the classid that tells IE what ActiveX control to use.) I can't think of anything else it might be.
The server is Apache 1.3.23 on RedHat 7.3.
Any ideas?
Flash Loads Twice In IE Fine In Firefox/ Safari
I have a flash movie set up to call a selection of Jpgs from an xml file. Everything works fine locally but when deployed to the server the flash loads the movie and then quickly reloads the movie and starts again. This is most noticable in IE6 but it has happened in FF as well. Is anyone aware of an issue that would cause this. Hopefully there is a fix I can set up.
I am attacing a selection of html code as well since I believe the issue may lay in that.
Thanks for any help!
Attach Code
<param value="submittedfiles/c-series/C80Flash/scrolling_gallery_image loading_v5.swf" name="movie"><param value="xmlPath=submittedfiles/c-series/C80Flash/images.xml&imagePath=submittedfiles/c-series/C80Flash/images/" name="FlashVars"><param value="high" name="quality"><param value="#ffffff" name="bgcolor"><embed name="submittedfiles/c-series/C80Flash/scrolling_gallery_image loading_v5" pluginspage="http://www.macromedia.com/go/getflashplayer" src="submittedfiles/c-series/C80Flash/scrolling_gallery_image%20loading_v5.swf" type="application/x-shockwave-flash" flashvars="xmlPath=submittedfiles/c-series/C80Flash/images.xml&imagePath=submittedfiles/c-series/C80Flash/images/" quality="high" bgcolor="#ffffff" allowscriptaccess="sameDomain" align="middle" height="284" width="752">
Preloader Issues - Loads Scene 1 Fine But...
NOOB here again... I did finally (with help) get my first flash movie/menu working, oh happy day. Now I have built a simple preloader in a seperate Scene above Scene 1, and it works up to the point the main SWF is supposed to play. The preloader loads the movie correctly and goes to the 1st frame in Scene1 and then it just sits there..mocking me. I have this code in the first frame of the preloader Scene:
ifFrameLoaded ("Scene 1", _totalframes) {
gotoAndPlay ("Scene 1", 1);
}
And this code in the last frame of the preloader to keep it looping until Scene 1 loads and the preloader Scene breaks:
gotoAndPlay ("Preload", 1);
Once Scene 1 is fully loaded, the preloader Scene goes by-by as it should, but the main Scene just sits there. None of my nested movie clips are playing but the background is there and the buttons are working. I have (2) nested movie clips on their own timeline doing nada, however everything plays fine without the preloader. I am missing something simple aren't I. ???
Unable To Play Flv From Xml Though The Xml Loads Perfectly Fine
I am unable to play flv from xml though the xml loads perfectly fine. When flv path is hardcoded the video plays fine but when from a node it seems to make the video disappear and it dosent play...
Please can anyone help me with this...
here is the code.
I am having the same issue i got the xml loaded and even the url into the video source but it dosen't seems to play the video when reading from xml...
please let me know what i can do to correct this...
thanks in advance..
here is the code.
var urlname:String;
function loadXml() {
urlname = content.firstChild.childNodes[0].firstChild;
//trace(urlname);
videoload();
}
content = new XML();
content.ignoreWhite = true;
content.load("one.xml");
content.onLoad = loadXml;
function videoload() {
var connection_nc:NetConnection = new NetConnection();
connection_nc.connect(null);
var stream_ns:NetStream = new NetStream(connection_nc);
stream_ns.setBufferTime(4);
my_video.attachVideo(stream_ns);
//playing the video.
//stream_ns.play("video/intel.flv");/*displays a black bg but video not played*/
stream_ns.play(urlname);
//trace(stream_ns);
trace(urlname);
}
//
stop();
this is the xml
<content>
<cvname>video/vid.flv</cvname>
<content>
Thanks In advance.
LoadMovie Help Anyone? Works Fine On PC, But Not Online
Hey everyone,
Trying to use LoadMovie on a button to load a SWF (just a picture) into a MC called Preview. My code looks like this right now:
on (rollOver) {
loadMovie("files/Movie4.swf", Preview);
}
on (rollOut) {
loadMovie("files/Blank.swf", Preview);
}
on (release) {
getURL("documents/resume.pdf", "_blank");
}
This works great on my PC. Once I put in the webspace, the SWF (Movie4.swf) does not load into the MC (Preview). I can still click on the button and go to the PDF, but the loadmovie doesn't work.
Any help would be appreciated.
Mp3 Flash Player Loads Fine In Firefox, Takes 15 Sec In IE - Help
Hi,
We have 57 different mp3 flash players on our page that use the below code, they all work fine and all load in 2-3 seconds in Firefox.
Can be seen here on a test page: www.lacantinaproductions.com/catalogue_new.htm
In IE, 57 different instances of the code had to be created in order for the flash players to even appear. So the code was adapted in the following way (see "1") for each instance:
<!-- Begin Code -->
<script type="text/javascript" src="swfobject.js"></script>
<div id="flashPlayer1">
This text will be replaced by the flash music player.
</div>
<script type="text/javascript">
var so1= new SWFObject("playerMini.swf", "mymovie", "75", "30", "7", "#FFFFFF");
so1.addVariable("autoPlay", "no");
so1.addVariable("soundPath", "song.mp3");
so1.write("flashPlayer1");
</script>
<!-- End Code -->
Problem is that it takes the page at least 15 seconds to load in IE, when it loads in 3 in Firefox
Is there anyway to fix this issue? Why does it happen? Agree that the page in question is not coded in the neatest of ways (working on that), but it still loads fine in Firefox and therefore should work in IE as well?
Thank you for your help
Swf Plays Fine Locally, Slow Online
I have a 30 fps swf, when I play it from my computer, everything works fine, but once I upload it online, the playback becomes really slow, slow as in the animation being slow, like it was reduced to 12fps or something. I've checked the cpu usage and it doesn't seem that my cpu was maxing out during any of the playbacks.
oh, I tested it with flashplayer6 locally, and my IE has FP7(7.19.0) plug-in. Can that be the problem???
Al
Fade Slow Online, Fine At Home
I am using the below functions to fade in and out 14 images that are embedded in an swf (for a total size of about 1.5 megabytes for the swf). At home everything works fine. However when I go online the fades run as if the swf was playing at around 3 frames per second. Each of the fade in stages appears but they happen about every third of a second. Any suggestions? Thank you.
ActionScript Code:
var speed = 10;
unloadMovieNum(1);
fadeOut = function(obj){
//trace ("called")
//this.obj = obj;
obj.onEnterFrame = function(){
obj._alpha -=speed
//trace (obj._alpha)
if(obj._alpha <= 0){
delete obj.onEnterFrame;
//trace (obj._alpha)
}
}
}
fadeIn = function(obj){
//trace ("called")
//this.obj = obj;
obj.onEnterFrame = function(){
obj._alpha +=speed
if(obj._alpha >= 100){
delete obj.onEnterFrame;
}
}
}
burmButton.onRollOver = function(){
fadeIn(berm);
}
burmButton.onRollOut = function(){
fadeOut(berm);
}
Flash AS3 Refuses To Load Https, Loads Http Fine
I'm trying to authenticate myself to google using this code snippet:
ActionScript Code:
var loader:URLLoader = new URLLoader();
function authenticate( username:String, password:String, service:String, source:String, accountType:String = "" ):void
{
var vars:URLVariables = new URLVariables();
vars.accountType = "HOSTED_OR_GOOGLE";
vars.Email = username;
vars.Passwd = password;
vars.service = service;
vars.source = source;
var request:URLRequest = new URLRequest();
request.method = URLRequestMethod.POST;
request.url = "https://www.google.com/accounts/ClientLogin";
request.data = vars;
loader.addEventListener( ProgressEvent.PROGRESS, trace);
loader.addEventListener( HTTPStatusEvent.HTTP_STATUS, trace );
loader.addEventListener( SecurityErrorEvent.SECURITY_ERROR, trace);
loader.addEventListener( IOErrorEvent.IO_ERROR, trace);
loader.addEventListener( Event.COMPLETE,hoge);
loader.load( request );
}
function hoge(event:Event){
trace(loader.data);
}
That doesn't quite work though.
I removed the error event listeners to get the full error message instead and this is what I get thrown at me:
Quote:
Error #2044: Unhandled ioError:. text=Error #2032: Stream Error. URL: https://www.google.com/accounts/ClientLogin
The same error persists even after I've stripped every non-essential line of code as well - including variables, post method et cetera.
It's important to note I'm using the flash IDE for development. As such I can test the movie and don't have any issues with the sandbox - flash allows me to connect to outside resources when running the test swf from the flash IDE. For some odd reason however it fails on the https request.
I'm quite short on time really so any help would be greatly appreciated.
Carousel Loads An Flv
Hi there - I'm not very experienced with AS. I've done a lot of tutorials but I'm just beginning to get the hang of it. I'm trying to use the carousel tutorial for a video portfolio where the thumbnail becomes an flv and player so viewers can watch around 30 seconds of video.
I'm not really sure how to tackle this. Don't really know where I'm putting the button/movie clip, since there doesn't seem to be anything there, as it's all loaded through xml. If anyone can help me, I'd appreciate it.
thanks
Peter
[CS3] FLV's That Are External Work Fine Locally But Not Uploaded Online ?
HI I have a site which im using the FLVPlayback component to play my flv videos. Everything works great locally but not when uploaded?
Ive definitally uploaded all the correct files in the correct folders
basically any flvs which are in my main.swf work great locally and uploaded!
..But any flvs which are in seperate external swfs then these are loaded into my main.swf work fine locally but do not play at all when uploaded?
So i know flvs work on my server as the ones in my main.swf are fine, does anyone know of this problem? ive been working on this site for ages and it has to be online asap.
I have a crossdomain.xml file uploaded if that is anything to do with it?
Any ideas would be great, THANKS
im working in AS2
Help: Swfs Stalling Out Online But Work Fine Locally?
http://www.bnatax.com/tm/cs_catalog.htm
some of the little product demo/tutorials pieces i did at the above url go bad after they've been on the server for a few days.
i didn't do the html or embed the movies. i just sent the client the swfs and if you click on the 'Using Go To' at that link you'll see the screenshots with bubbles stalls out after like the second frame.
these are really straight-forward flash movies. they just wanted some ppt stuff done up so ppl could see it online so i redid all the copy in flash.
the files are large - like a meg or so- but the client wanted hi res jpgs of the screenshots and assured me that they're audience would all be corporate folks with big fast connections so i didn't do anything fancy with the jpgs.
any advice on this?
could there be some sort of server thing going on? the windows just pop up with the flash piece using javascript from the html links in the page above. i totally don't get why it would work for a while and then fail. browser cache problem? i'm clueless...
thanks.
FLV's That Are External Work Fine Locally But Not Uploaded Online ?
HI I have a site which im using the FLVPlayback component to play my flv videos. Everything works great locally but not when uploaded?
Ive definitally uploaded all the correct files in the correct folders
basically any flvs which are in my main.swf work great locally and uploaded!
..But any flvs which are in seperate external swfs then these are loaded into my main.swf work fine locally but do not play at all when uploaded?
So i know flvs work on my server as the ones in my main.swf are fine, does anyone know of this problem? ive been working on this site for ages and it has to be online asap.
I have a crossdomain.xml file uploaded if that is anything to do with it?
Any ideas would be great, THANKS
im working in AS2
Buttons Disappear After Loading From Xml Online But Work Fine On Machine
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.
has anyone had this problem? know how to fix it?
can anyone help me?? here is a link to the uploaded swf so you can see it improperly behaving:
http://pankhury.com/aaank/aaanktest.html
here is a zip with the files:
http://pankhury.com/aaank/priyankasHell.zip
would really appreciate if anyone can help! thanks!
Buttons Disappear After Loading From Xml Online But Work Fine On Machine
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.
has anyone had this problem? know how to fix it?
can anyone help me?? here is a link to the uploaded swf so you can see it improperly behaving:
http://pankhury.com/aaank/aaanktest.html
here is a zip with the files:
http://pankhury.com/aaank/priyankasHell.zip
would really appreciate if anyone can help! thanks!
Carousel Acting Up Online
I love this carousel. Thanks to this forum I was able to load .swf in place of the content.
My dilema is, that my carousel works great when testing from my .fla. It works okay embedded .swf object in an html doc. But when I load it as a .swf from my navigation of my site online, the carousel moves down and to the right outside the intended area and floats randomly.
Is there any solution to controlling this? I really need help.
Movie Fine In .swf But No Show In .html
I think I must be too blonde for Flash!!!!! If you look at this banner ad via the .swf URL all is fine and dandy:
http://www.radimage.com/bannerad.swf
However if I look at it via the .html Flash generated, I get a blank page:
http://www.radimage.com/bannerad.html
I also tried using Dreamweaver to embed the movie manually with no flash detection ... and then a mind numbing mulititude of publish settings to no avail. I even resorted to downloading Netscape to see if it would show up there!
Your help greatly appreciated...
Gina
[mx]mc Loads Offline But Not Online?
I've made a website wich loads an xml-based photosystem. The photosystem is made asside of the original site and i exported the sytem as e movie "slide.swf" so that i could load it into my website.
Everything works correctly when i publish my whole website and the xml-based photosystem load like a normal movie, but when i upload my site the photosystem isn't shown?Do you guys know what im doing wrong? I've uploaded my html file, my swf file , my xml-file and my folder with the xml-images called 'images'...
Any ideas?
Textfield Loads Locally But Not Online?
I'm loading a textfile into a textfield, this works fine locally but when I upload to the site the textfield remains empty? Heres my code: -
code:
loadVarsText = new loadVars();
loadVarsText.load("mytextfile.txt");
loadVarsText.onLoad = function (success){
if (success){
textfield.text = this.mytext;
}else{
textfield.text = "not loaded";
}
}
it doesn't even display the text "not loaded".
Any help appreciated, cheers
XML Gallery Loads Locally But Not Online
I'm brand, brand new to flash and have built this site primarily copying and pasting different sections of code. To a certain extent I understand what I'm doing with the Actionscript I'm using, but in this case the code is beyond me. I copied the general idea from the gallery_tween.swf in the samples folder of Flash 8 help.
The swf loads jpgs from a folder using an xml file. I have a few galleries that all use similar code. All load 100% locally on my computer. Now that I've uploaded them to the server some load 100%, some load 90%, some load 50% etc.
So what is a full gallery locally shows up online as random pics with gaps. I can't figure out what is causing particular conflicts with the pics that are missing.
I've seen this post come up a few times, but the solution is usually to check spelling, capitalization, relative folder location, etc. which I've double and triple checked for accuracy.
The issue can be seen at www.richandroyal.com in the Gallery section. The Magnum section loads as it does on my computer locally and the other sections, Beckman, Amanda, and Promotional have the gaps I'm referring to.
Is the movie stopping for finishing the load? Has anyone come across and fixed this problem before?
.txt File Loads Locally, But Not Online
Very simple load Vars script loading .txt file. Locally on my hard drive it works, but when I upload to server, does not load in any browsers.
????????????????????
Load Movie Loads Locally..not Online
i have a long movie with intro. the intro stops at frame 680 or so.
my home page has this flash movie on it.
all other pages in the website have another 1kb movie..that has this script
in the first frame i have
loadMovieNum("full_binarian.swf", 0);
gotoAndPlay(679);
this is supposed to load the large movie and skip past the intro!
um...it works locally perfect...goes right to that frame..
but not on the web. oddly ..i if i use the full path to this file the go to fraame doesnt work and then the entire movies frame rate runs very slowly. i am confused...how do i do this? i dont want a seapare file for all concsecutive pages because updates in the 2 flas wont by synced and users will have to then download ANOTHER flash movie on all subpages....
thanks!
Load Movie Loads Locally..not Online
i have a long movie with intro. the intro stops at frame 680 or so.
my home page has this flash movie on it.
all other pages in the website have another 1kb movie..
in the first frame i have
loadMovieNum("full_binarian.swf", 0);
gotoAndPlay(679);
so on all pages it skips the intro.
um...it works locally perfect...goes right to that frame..
but not on the web. oddly ..i if i use the full path to this file the go to fraame doesnt work and then the entire movies frame rate runs very slowly. i am confused...how do i do this? i dont want a seapare file for all concsecutive pages because updates in the 2 flas wont by synced and users will have to then download ANOTHER flash movie on all subpages....
thanks!
Loadmovie Jpeg Loads Locally, But Not Online
so i have an empty movie clip on the stage that loads an external jpeg. on my computer, i have the jpegs in the same folder as the swf/fla file. i had it load:
on(release){
_root.emptypic.loadMovie("attention_MED.jpg");
_root.emptytext_mc.gotoAndPlay("attention");
}
i uploaded it with the swf in the same directory as the rest of the jpegs, but they didn't load. then i changed the "attention_MED.jpg" to http://site.com/attention_MED.jpg and it still wouldn't load.
and yes, i made sure the jpegs aren't progressive. the weird thing is, they load fine when i'm testing the swf on my computer. they just don't work after i've uploaded them? i don't know what to do!
it seems like i should have an easy answer to this but i can't figure out anything. if anyone could help, i would be the happiest amateur flash person ever!
Loadmovie Jpeg Loads Locally, But Not Online
so i have an empty movie clip on the stage that loads an external jpeg. on my computer, i have the jpegs in the same folder as the swf/fla file. i had it load:
on(release){
_root.emptypic.loadMovie("attention_MED.jpg");
_root.emptytext_mc.gotoAndPlay("attention");
}
i uploaded it with the swf in the same directory as the rest of the jpegs, but they didn't load. then i changed the "attention_MED.jpg" to http://site.com/attention_MED.jpg and it still wouldn't load.
and yes, i made sure the jpegs aren't progressive. the weird thing is, they load fine when i'm testing the swf on my computer. they just don't work after i've uploaded them? i don't know what to do!
it seems like i should have an easy answer to this but i can't figure out anything. if anyone could help, i would be the happiest amateur flash person ever!
Why The Carousel ToolTips Cannot Show Number?
Hi there,
I am trying the Carousel 2, and everything seems working fine; only I tried to type in some text mixed with number in the tooltips, those number can't be shown; eg. I typed RM1287A, and it only comes out RMA in the tooltips.
Please have anyone help me with this.
Thank you.
Role
Drat.. This Works Fine From My Machine, Online It Says "NaN%" For Load Status
I'm making a photo portfolio for a friend. She wants
A) to be able to upload/overwrite the images when she feels like it
B) each of the 7 galleries (galleries have 8-23 photos each) to load in all images before user is allowed to interact with them
So I've been building the site this way: there are multiple loader bars that begin each gallery. One for each image being loaded externally. Once they're all at %100 the gallery interaction is to begin.
I have this working fine on my computer when I test it. No root references. All relative. I've uploaded this and all dependent files to my site. But online it says "NaN" instead of the percentage (integer w/ %) for each loader bar. UUGh. Why?? Help, I thought I would've had this figured out days and days ago! I posted another question about this site development last week (no reply, it was kind of complicated), sorry I'm posting again but I haven't find my solution yet. don't even know how to find a solution to making a flash site this way, which was totally my (unoriginal?) idea to begin with.
If you'd like to help, you rock. Here's the URL of the zip of the project and dependent files for you to dig into, if you like:
www.briotron.com/multipleloaders_problem.zip
Thanks in advance
To Only Show The Animation When It Loads The Page
I have a problem, I need to only load my animation when I load the principal page, e in link in the way or end it link it goes to have "&1ST=1", the other pages do not go to have this, then the animation would be stop in a frame, example 35.
a person of the work it made something in Javascript here, to show popup one time, only in the page that will have this "&1ST=1".
Code:
sPag=document.location.href.toUpperCase();
if(sPag.indexOf('1ST')>=0)
It would have to make this in AS? but without using the SharedObject.
if the flash to read in link "&1ST=1", it shows the animation of frame 1 to the 35, but if in link it will not have the "&1ST=1", it is stoped in frame 35????
Sorry about my English.
Show Alert When Movie Loads
Hi,
I wanted to show an Alert as soon as my movie loads on the browser. I tried
onClipEvent(load), but it's returning an error.
Does any body have any suggestion please?
thanks.
ID3 Tag Doesnt Show Up Until .mp3 Loads Completely
I searched around but couldnt find this specific problem.
I have an .mp3 player where I display the Artist and Song tag from the id3.
The problem is that is displays Undefined until the song completely loads, then shows the correct information.
The mp3s have both v1 and v2 tag info in them.
From what I've read, only v2 tags are available at the start of the load but I can't seem to figure out how.
any ideas?
To Only Show The Animation When It Loads The Page
I have a problem, I need to only load my animation when I load the principal page, e in link in the way or end it link it goes to have "&1ST=1", the other pages do not go to have this, then the animation would be stop in a frame, example 35.
a person of the work it made something in Javascript here, to show popup one time, only in the page that will have this "&1ST=1".
Code:
sPag=document.location.href.toUpperCase();
if(sPag.indexOf('1ST')>=0)
It would have to make this in AS? but without using the SharedObject.
if the flash to read in link "&1ST=1", it shows the animation of frame 1 to the 35, but if in link it will not have the "&1ST=1", it is stoped in frame 35????
Sorry about my English.
To Only Show The Animation When It Loads The Page
I have a problem, I need to only load my animation when I load the principal page, e in link in the way or end it link it goes to have "&1ST=1", the other pages do not go to have this, then the animation would be stop in a frame, example 35.
a person of the work it made something in Javascript here, to show popup one time, only in the page that will have this "&1ST=1".
Code:
sPag=document.location.href.toUpperCase();
if(sPag.indexOf('1ST')>=0)
It would have to make this in AS? but without using the SharedObject.
if the flash to read in link "&1ST=1", it shows the animation of frame 1 to the 35, but if in link it will not have the "&1ST=1", it is stoped in frame 35????
Sorry about my English.
Tv Show Online
can someone help me to understand what do i need to make a live broadcast.
my client want to broadcast his tv show.
how can i do it ??
Hide Buttons When Movie Loads And Then Show
I have a movie that loads another video. When it goes to video by hitting button
I can hide buttons underneath.
When I unload the movie, I need the buttons to show up again and clickable.
I added the onEnterFrame, but makes no difference.
Can someone help as to how I can bring the buttons back when movie that was loaded is unloaded?
Thank you in advance.
Attach Code
onEnterFrame(_root.VideoBtn.enabled._visible = true);
VideoBtn.onRelease = function(){
loadMovieNum("video.swf", 10);
VideoBtn._visible = false;
};
Swf Doesnt Show Online
Hi
greetings,
simple issue here..checked for the solution online & this forum too.
anyways i have a swf file embedded in a web page which shows locally but once i upload through ftp ..it doesnt show online.
i checked the publish settings,the path etc,all is fine.
is there something else i need to know.cant understand where i m goin wrong.
any help will be largely appreciated.
thanks n cheers. m/
Scrollbar Won't Show Up Once .swf Is Online
i have a UIScrollBar set to a dynamic text field that loads an external .htm file.
in test movie mode, everything works fine. even when i publish it and open the .swf file offline, the scrollbar appears and works as it should.
but i just uploaded it to my site, and everything is there, except for the scrollbar. i still see the silver streak that looks like the scollbar background, but the arrows and track and well, the scrollbar ingredients don't show up. it didn't show up at all yesterday, then today the scrollbar appears, but only sometimes. when it doesn't, if i refresh the page a few times, then it'll usually appear.
here's a link directly to the page in question:
http://www.calrockx.com/etc/temp/pismo4rj3/
it's the "trip info" page that's the shows the problem.
also, i uploaded it here just to see how it'd work on another site, and for some reason the scrollbar has better luck here -
http://www.8-18colonialway.com/other/temp/pismo4rj3/
but it still won't show up everytime.
i'm using flash mx 2004.
help please!
Don't Know Why Text Will Not Show Online
I have got a perfectly working (offline) movie and I wondered why the dynamic content will not show online.
I have a dragable menu and I have frames that have my content on. My menu is a movie clip. I tried to have the dynamic text box on the frame that I want it to view the content but now it only works offline.
my code is :
--------
on (press) {
_root.MS.scroll = _root.MS.scroll-total;
loadVariablesNum("Me.txt", 0);
}
-------
Is there anything that I need to change?
Help would be very much accepted and appreciated.
If this message is better off somewhere else I am sorry if i have put it in the wrong place!
Why It Didn't Show Online?
i have a dynamic text field loading an external txt file and its render in html. everything is fine in my pc.
However, when i upload it to lycos.co.uk free web hosting. the external txt seems did not loaded.
Why this happen?
Why It Didn't Show Online?
i have a dynamic text field loading an external txt file and its render in html. everything is fine in my pc.
However, when i upload it to lycos.co.uk free web hosting. the external txt seems did not loaded.
Why this happen?
Flash Does Not Show Online
my flash does now show when i upload it. Not even the preloader. I have only a day to get it to work or I lose the project
Scrollbar Won't Show Up Once .swf File Is Online
i have a UIscrollbar set to a dynamic text field that loads an external .htm file.
in text movie mode, everything works fine. even when i publish it and open the .swf file offline, the scrollbar appears and works as it should.
but i just uploaded it to my site, and everything is there, except for the scrollbar. i still see the silver streak that looks like the scollbar background, but the arrows and track and well, the scrollbar ingredients don't show up. it didn't show up at all yesterday, then today the scrollbar appears, but only sometimes. when it doesn't, if i refresh the page, then it'll show.
here's a link directly to the page in question: http://www.8-18colonialway.com/other/temp/pismo4rj3/
it's the "trip info" page that's the shows the problem.
help please!
External Text File Won't Show Online
If anyone could help me I am a beginner and have a flash site where some text needed to pulled up from an external file. It shows up locally but when I put it online. It wont show up.. WHY????
URL: http://www.ixhouston.com/warriors/warriors.htm
Thanks ahead of time
Fine Local,Not Fine Server...NetConnection
Been trying for a day now to get some progressively downloading FLV files to work off the server. They run fine on my local machine and off a network drive, but do not run off 2 different servers here...
Using this code
PHP Code:
var myNetConnection:NetConnection = new NetConnection();
myNetConnection.connect(null);
var myNetStream:NetStream = new NetStream(myNetConnection);
this.myVideo.attachVideo(myNetStream);
myNetStream.play("images/sketchbook/video/"+_global.vidClip+".flv");
Anyone run into this? Had the network guy make sure there's no weird security for connecting or streaming. Site has no issues with "swf's", only with "flv" files... Is there some setting I'm missing or something I need to tweak on the server? Thanks...
External Movie Loads, But The Dynamic Text That Loads With It Won't Render HTML?
I have a set of SWFs that load when a button is pressed on the parent SWF file...they all load into an empty placeholder, and each contains it own dynamic text field. the problem i'm having is, the text loads, but the HTML won't render, so i get plain text and html tags
the script in my external SWF files is as follow.
var lv = new LoadVars;
lv._parent = this;
lv.onLoad=function(success){
if(success)this._parent.home.text = this.guide;
}
lv.load("guide.txt");
everything is filled out correctly in the Property menu, someone PLEASE help
|