ActionScript 3.0 :: Cannot Acces Loader.content On Online Swf, Works Fine Locally?

Jul 1, 2010

I have an image gallery with a thumbnail class which needs information about the content being loaded to be able to resize it appropiatly. Using.content.height and .content.width I can acces this information, however the swf (online) stops working when this code is encountered. No errors are thrown.piece of code from where it stops working

Code:
if (targetThumb.content.width > targetThumb.content.height) {
//scale the width

[code]......

View 1 Replies


Similar Posts:


Professional :: SWF File Plays Fine Locally, But Not Online?

May 3, 2010

I have a very rudimentary Flash movie that I have created. Link here to a copy of the SWF file on my company's website:The movie appears to work all right in IE, but not in Firefox or Google Chrome.Here are the details:It's a leaderboard ad, and like I said, it's pretty basic. I have a simple motion tween, and then an incredibly looooooong series of nested movie clips that create the effect of a counter (like a rapidly rising jackpot).I'm not really hip with the intricacies of ActionScript, so I couldn't code something more elegant. The "counter" is supposed to represent an increasing amount of money that not using our services might cost a company.

Ones, tens, hundreds, thousands, and ten thousands use a simple repeating movie clip. hundred thousands use one that is 10x as long, and so on. I had to stop at 1 millions, as the # of frames in between numbers was prohibitively long.i.e. there are 10 frames in between numbers for the hundred thousands place in the movie, 100 frames for millions, and 1,000 frames for millions.but, like I said, I'm a beginner at ActionScript.Thinking the problem might be due to the incredibly long movie clips, I removed the animations from some of the higher numbers from my movie, and this did not appear to affect whether it plays in Firefox or Chrome.

View 10 Replies

Professional :: The 'works Locally Fine, Not On Server' Deal?

Feb 5, 2010

There was always a flash movie on the homepage and it worked fine. A couple days ago I replaced the movie with a new one and added a .swf to the portfolio page as well. On the portfolio page, the movie is layered behind a series of transparent .pngs that link to their corresponding lightbox designations. The movie just plays, there isn't any interaction this way, atleast not in flash.

The problem: Everything works perfectly fine locally on all browsers and not at all on the server across all browsers. I have seen this problem before and read alot of posts about it.I know I have the proper scripts files. I've re-saved flash movies, changed their location within the site, published them with the appropriate settings, nothing seems to do the trick. Whats worse is that the lightbox doesn't even work online and it runs fine locally. Infact you cant even click on the .pngs and they aren't positioned the same with the css as they are viewed locally. I've overwritten the css with the up-to-date stylesheet many times as well

View 5 Replies

ActionScript 2.0 :: XML Data Displayer - Works Fine Locally... But Not On Site?

Jun 2, 2007

I have my XML Data Displayer referring to an XML feed on the web, it works fine when I run it locally, however it doesn't work when I run it off my site.There's no missing files- since I'm referencing to an XML feed on the web.How can I solve this problem and display XML data from the web, on the web?

View 2 Replies

ActionScript 3.0 :: Video Site Works Fine Locally, But Not After Upload

Jan 15, 2012

getting this here Flash website to work. It is an .swf that has four different buttons in it. Each different button uploads a different video thumbnail with a play-button over it. When you click on that thumbnail with the play-button over it, it goes to the thumbnailed video which automatically plays. Here is the link:

[URL]

There are no bells and whistles with the html, it's just tagged and uploaded with the Fullscreen-true so that you can make the video go full-screen.

But see, when I upload the thing, the buttons no longer navigate to the different videos unless the play-button over the thumbnail is already pressed and its video is already playing. I need them to work anyways.

View 2 Replies

ActionScript 2.0 :: Loading Variables Not Working On Server But Works FINE Locally?

May 17, 2010

I have one .swf that loads a second one on level 2.level 2 then in turn loads variables from a text file .The problem is that it works locally, but refuses to work on the server. The urls are all local. This is such a simple procedure, I can't figure out what is wrong..... are there limitations doing this via server vs. locally? I never get any "file open" errors locally. I've spent 2 hours on this.... I'm just using a simple LoadVars similar to this example:

Code:
loadText = new LoadVars();
loadText.load("text3.txt");

[code].....

View 5 Replies

ActionScript 3.0 :: Loaderinfo Event - Works Fine Locally And In IE But In Firefox It Fails?

May 4, 2010

I've createa simple flash banner (FL10, CS4) that is used stored in multiple locations on a server, which is sent a relative path to an XML file via FlashVars. relative path images are then loaded from this xml file.the base class for the banner is.Thins all works fine locally and in IE but in Firefox it fails about half the time to trigger the loaderinfo Event.COMPLETE  call.(essence of the Base class below:)

public class Banner extends MovieClip {
public function Banner() [code]....

View 3 Replies

SWF Works Fine On PC, But Doesn't Execute Online

Sep 3, 2009

I created a custom google voice callback swf so someone could put in their phone number, and google voice will call them and connect them to me (essentially calling me). Everything works fine when i run it from my computer, but when I put it online it doesn't work.

The way it works is you put in your own phone number and name, then click call, and it rings the phone of the phone number you put in. This doesn't happen when accessing it from online though.

I've provided a link to the fla for your view, and I'll also post the embed code I have on my site.

Embed code:

Code:
<div id="gvoice">
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="616" height="162" id="gvwidget"

[Code].....

View 1 Replies

SWF Works Fine But Breaks When Embedded Online

Mar 19, 2010

As you can see on [url]...the last part of the Flash movie seems to be broken. Oddly enough, when I take the embedded SWF and view it separately[url]...

I'm not a flash expert, I don't know what can go wrong with embedding etc. but the actual FLA file seems to be ok, the map layer that is coming through randomly at the end shouldn't even be there! The frames at this point of the timeline on this layer are actually empty.

View 11 Replies

ActionScript 3.0 :: Works Locally But Not Online?

Jan 25, 2010

Swf generated by class (shown below) brings in the noponies as3 accordion which all works ok locally. But when I put it online nothing is shown. I think it's something to do with the xml files but not too sure

Code:
package courseClasses{
import flash.display.MovieClip;

[code].....

View 2 Replies

Php :: MiniGame Works Fine In FlashCS5 But Fails Online?

Mar 31, 2011

I was wondering what is everyone's experience are on why a network request would work in FlashCS5 and in a browser locally but when i post it online it fails.The survivorId is sent from the string query. Both tests were done calling a network database.I've tried the following:Outputing the survivorId in a text field and seeing if the parameter variables were being sent correctly.Set the "Networking Only" option in the publish settings.Also is there a way to output trace actions from browsers for more in depth debugging?*EDIT: I have recreated the bug locally in a browser. Without trace actions i don't know if i can figure it out.*EDIT2: That bug only showed up because its from localhost (Apolligies, this is just wierd)Heres My Code, There is the "Stage" then it goes "localSurvivor"(movieClip) then in side that localSurvivor movieclip the "lPlayer" class is addChild() to localSurvivor MovieClipStage-> localSurivor-> lPlayer(survivorId);On the stage is this code:

//Set localP Id
var survId:Number = root.loaderInfo.parameters.sId;
//Object(root).informationTxt.text = survId;

[code].....

View 2 Replies

ActionScript 3.0 :: File Works Locally But Not Online?

Jan 25, 2010

Swf generated by class (shown below) brings in the noponies as3 accordion which all works ok locally. But when I put it online nothing is shown. I think it's something to do with the xml files but not too sure.[code]

View 2 Replies

ActionScript 3.0 :: XML Flash Works Locally But Not Online?

Aug 11, 2010

I made (or copied) this XML 3d Carousel: [URL]

I changed some settings, just what I needed like stage size, thumbnail size and so it doesn't spin too fast when mouse rolls over.

I replaced the images with my own, so I have like four now spinning around. It works fine when I hit Ctrl + Enter to test my movie and aswell the carousel.html works in the browser.

I uploaded all files (four images named c_img(number).png, carousel.xml, carousel.swf and the AC_RunActiveContent.js) all in the same folder to my website through FileZilla but the god damn movie doesn't work on the web. It just shows the background so it must be the images are not loading in correctly, but I can't find what's wrong. I've checked the file paths and they are correct, I don't use any cross-domains. Honestly I can't find the problem, it works on the tutorial site so why not on mine? I basically just copied all, nothing more.

I did notice a strange thing though. If I write the direct address in the browser address field [URL] so it loads in full screen, the image carousel shows but very far outside to the right of the screen. I used Firebug and changed the size of the flash movie so I could see far beyond, it's very f'ed up..

Direct link to it: [URL]

If you have Firebug, use it and change the size of the flash and you'll see the carousel to the right of the screen, outside the main flash content area. :/

View 5 Replies

Swf File Won't Show Up Online But Works Locally?

Oct 16, 2009

i have a flash (swf) file
 
i embedded it in an html page
 
the location is right
 
it works locally when i preview it in a browser

as soon as i upload it - it doesn't show up

here's the page: [URL]
 
here's the location of the swf file: [URL]

i've even tried relative vs. absolute links and nothing. i've tried firefox and safari. nothing.
 
i'm guessing this is some dumb simple thing, and hopefully it took you longer to read this than it will to type the answer.

i am embarrassed that i am not getting this but hey, it needs to be fixed and i'm sick of looking at it and trying to figure it out.

View 2 Replies

ActionScript 3.0 :: Swf With External Xml Works Locally But Not Online?

Nov 16, 2009

swf used to show currently playing song from an xml file. fla checks any change in xml and updates immediately. this works fine locally but not online.

actionscript:
import flash.events.Event;
// imports flash events for the ENTER_FRAME event //

[code]...

View 1 Replies

ActionScript 2.0 :: Load Xml Works Locally But Not Online?

Dec 6, 2009

I'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 Replies

ActionScript 2.0 :: Form / Php Works Locally Not Online

Aug 22, 2007

form/php works locally not online posted this before but no luck. it just doesnt make any sense.. same swf and php. php is sitting on my server. when swf is tested locally it sends an email. when swf is uploaded next to php it doesnt. it is driving me CRAZY.

should also say, i have field validation within flash.. so once all fields are accurately filled the submit button loads the variables from the mc that contains the text fields and sends them to the php.. once that is done, it clears all text fields and the submit and reset buttons and loads an acknowledgement text. this happens locally. when online the submit button does nothing of the sort.

View 3 Replies

Actionscript 2.0 :: XML Data Not Loading Online, Works Fine When Testing?

Mar 27, 2010

I spent probably 12 hours today trying to make this mp3 player work with my limited AS2 knowledge and finally got something that looks and works the way I want it to! Hooray! Except when I uploaded it, it didn't work anymore. Where the XML data is supposed to be, it just says "undefined." I've searched everywhere for an answer and am not finding anything that fixes it. I've tried moving the files around so they're in the same folder, renaming them, making the path absolute, using gskinner's XML2 classI don't know what else to do[URL]As I was writing this, the site on my desktop where I've been working decided it would load the xml after all...but my laptop is still not cooperating, so there's still something wrong. Maybe it's not loading the xml until the songs are all downloaded?

View 1 Replies

Professional :: Function To Search Xml Works Locally But Not Online

Apr 11, 2010

I have a function triggered by a button click that searches through an XML file for an e-mail address (entered in a text field) and returns a match or no match. When I run the swf locally it works fine, but once the site is posted it no longer works. Locally it is connecting to the same xml & php files that it uses online.

View 4 Replies

Actionscript 3.0 :: Flash Works Perfect Locally But Not Online?

Jun 29, 2010

Im loading external swf into my main flash, the first two movies loads good but the last movie doesnt? here is my code:

Code: Select all
var swfLoader:Loader = new Loader();
fireworks.addChild(swfLoader);

[code].....

View 4 Replies

ActionScript 1/2 :: Flash FLV Player (XML Driven) Works Locally Not Online?

Jan 18, 2010

I have an actions layer and a layer with a video object, called "theVideo". Below is the actionscript:
 
stop();
// global objects....
buffer._visible = false;
// playlist object for the playlist from raw xml data

[code]....
 
This script works locally. I have checked and double-checked the file locations when uploaded. It will parse the XML file when uploaded, but will not play the videos.

View 1 Replies

Cannot Load Flash On Server But Locally Fine

Jul 11, 2009

I'm converting a several-years-old all-Flash site for a friend. I can activate the site in any browser if all the files are stored on my local drive but when I FTP the files to a server and try to launch, I get an error indicating either that the server has timed out or that the process is taking too long. I suspect the problem is in the index.html file which refers to some very old locations where the Flash Player is probably no longer obtainable, but I'm not sure.
[Code] .....

View 1 Replies

CS3 FLASH Loads Fine But Not Online?

Jul 12, 2009

I am using CS3. I am having trouble viewing my FLASH content online. It loads fine in DW locally, but once on the server I have the following errors: Webpage error details

[Code]...

View 1 Replies

IDE :: Xml Loads Locally But Not Online?

Dec 5, 2009

Im trying to load xml files on another domain on mine. This code works locally but not when i post it to my server. The url im trying to load http:[url]....

Code:

function parse() {
xmlData2 = new XML();
xmlData2.ignoreWhite = true;[code].....

View 2 Replies

ActionScript 3.0 :: Looks Fine In Tool, Garbled Online

Sep 2, 2010

I have written a small application that plays flv files based on information I fetch from a database. Works fine when I run it inside the tool (Adobe flash CS3) but as I put it on my server the graphics becomes garbled, i.e. the play button suddenly takes up half the stage and so on. I heard there are bugs in CS3 but this?

View 3 Replies

ActionScript 2.0 :: Xml Load Locally But Not Online

Dec 5, 2009

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 Replies

Html :: Swf Plays Locally But Not Online?

Dec 22, 2011

i have a swf: Adjusting__Age.swf. and what happens is that if i run it locale it works:

file:///C:/xampp/htdocs/test/Adjusting__Age.html

but if i sun it online or even in my localhost it doesnt appear:

http://localhost/test/Adjusting_Age.html

here is my code:

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="512" height="384" id="training-video"

[Code].....

View 2 Replies

ActionScript 2.0 :: Swf Plays Locally But Not Online

Sep 20, 2010

I have a main swf that loads several child swfs on different frames. The swfs load into an empty moviclip on the stage. When the timelines on a frame, I have code on that frame that says [code]...

View 4 Replies

ActionScript 2.0 :: 3d Carousel SWF Loads Fine But Won't Show Online?

Dec 18, 2007

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.

[AS]
import mx.utils.Delegate;
var numOfItems:Number;
var radiusX:Number = 500;
var radiusY:Number = 125;

[Code]....

View 1 Replies

ActionScript 2.0 :: CS3 WebService Returns Value Locally But Not Online

Jun 2, 2010

I am targeting Flash Player 7.I have created a call to a webService that retrieves the result Hello World, however, the value is only retrieved and displayed when viewed locally, when viewed online I get nothing.The embed and object script both have 'allowscriptaccess always' and the webservice is in the same domain.So I created a cross domain policy document just in case the web service resides on a different domain.URL...[code]Still works locally but a value is still not retrieved when viewed online.

View 3 Replies







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