ActionScript 3.0 :: Works Fine In Debug But Not When Published

Jun 7, 2010

I have simple navigation code setup to step through frames (I'm using Flash instead PowerPoint--too many pictures that are PSDs and illustrations that are AIs to do the conversions over to something PowerPoint understands).[code]When I test it using the debug (Ctrl+Shift+Enter) it works fine.When I publish it, the up and down arrows work but the Home and End keys do not work.They do nothing, no error messages, nothing.Using Flash CS4 Pro 10.0.2 ActionScript 3. Windows 7 64-bit.

View 1 Replies


Similar Posts:


Actionscript 3 :: Published Movie Works Fine But Loops First Movie Clip When Viewed In Browser

Sep 3, 2010

I've been creating this banner: [url removed] which accesses an xml document, replaces some texts etc, but as soon as you open it up in a browser (like with the dropbox link I pasted) the banner only loops on the first movie clip. Put in another way: The banner you see is looping through only the first movie clip. But the swf file (and the html file) work fine from the local path of my computer.

View 1 Replies

ActionScript 2.0 :: Swf Works Fine On Machine - But Not On The Web?

Aug 25, 2010

Finally got this project all wrapped up and working perfect, and was feeling pretty proud of myself, and then I went and posted the exact same .swf on the web and it doesn't work anymore. Specifically, there are a bunch of icons which I hand placed into the FloorMC - which then attachMovie a copy of themselves into a LegendMC and UtilityRefMC, but they dont seem to be attaching anything when I run it through a browser.

[Code]...

View 9 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

Flash Not Loading - Works Fine On Localhost

Feb 11, 2010

Building a website and the navigation menu is flash (.swf file). The mnuLoader.swf file retrieves information from settings.xml file. Everything worked perfectly when I tested in localhost/website/page.html. When I upload to hosting server www.website/index.html the mnuLoader.swf displays but does not load (its like it can't find the settings or picture files and displays the same as when you are waiting for something to load etc).

I have tried changing the xml file path from relative to absolute and no change. All three files index.html - mnuLoader.swf - settings.xml are in the same directory and the mnu_imgs folder contains the img icons for the menu. I don't understand why it would work on localhost but not on the actual server? Also directly underneath on the website I have another flash banner (just looping text pretty much) that works fine both on localhost and actual server so am pretty sure is not an access issue etc.

The mnuLoader.swf is Flash 8

View 2 Replies

ActionScript 3.0 :: Swf Works Fine When Its Not In A Google Gadget?

Oct 7, 2010

This swf works fine when its not in a google gadget.It will read and write xml as the user interacts wtih it. Why once its embeded inside a gadget will it only read xml? It will not send xml to my file on my server and write a new xml file.

Actionscript Code:
var reg3 = new XML(myendxml);  //Chat.text +=  "in the function";  var variables:URLVariables = new URLVariables();  variables.xmlData = reg3; 

[code].....

View 4 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

Professional :: UIScrollBar Works Fine On Pc But Not On Server?

Nov 22, 2010

I created a textfield on stage, set it as dynamic, put a UIScrollBar next to it , with component inspector I set scrollTargetName to the instance name of the textfield then I wrote these actions:
 
var externalReq:URLRequest = new URLRequest("loremIpsum.txt");var externalLoad:URLLoader = new URLLoader();externalLoad.load(externalReq);externalLoad.addEventListener(Event.COMPLETE, textReady);function textReady(event:Event):void {    theText.text = event.target.data;}
 
Ot works on pc just fine.  When I upload the swf and the text file to my godaddy linux hosting account the scroller doesn't work.example on server: [URL]the text you see displayed is only about a quarter of the file, I should be able to scroll through it.

View 1 Replies

ActionScript 3.0 :: Works Fine As A Standalone SWF But When Preloaded?

Mar 13, 2009

I have a SWF file, and it accesses an XML file. It works just fine when debugged or published into a standalone SWF. HOWEVER, when I add a preloader to it, I get the following error, every single time:

TypeError: Error #1009: Cannot access a property or method of a null object reference.

It works just fine when running on it's own, but when it runs through a preloader, it will not work.

View 1 Replies

IDE :: Swf Works Fine - Won't Play When Placed On HTML Page

May 5, 2009

I've got my swf which plays fine when opened in a browser - it's a container called 'country' that's coded to load the different clips (clip1.swf, clip2.swf, etc.) - but when placing it into an HTML page it won't load the clips and I'm thinking it's because of some actionscript error.

[URL]

Scripts are all loaded on the server in the /Scripts/ folder Below is the ActionScript from the country.swf container that loads the clips. what I'm doing wrong to get it to load on the HTML page?

function _playClip(fileName)
{
var clipName = fileName.substring(fileName.lastIndexOf("/") + 1, fileName.indexOf(".")) + "_mc";
if (_root[clipName] == undefined)

[code]....

View 2 Replies

ActionScript 3.0 :: Test Movie Works BUT When Published

Mar 7, 2011

I'm using a different domain to host the swf file. The different domain is a media server to take the load off our own server and ISP. Actually, we have 2 different media server URLs. One each for development and production. I'm pretty sure the problem is a security issue in the flash. When I take the media server URL out of the file paths everything works. Although I have a crossdomain.xml with the media server urls included, I don't think it's permitting the request.

[Code]...

View 4 Replies

ActionScript 3.0 :: Debug Stops Works?

Nov 24, 2008

I use Flash debug local and remote without any problem.Today I update Flex and I deselected the options "update flash 9".Then I go to debug a project in Flash CS4.But now debug doesn't works.I reinstall flashplayer_10_ax_debug.exe and nothing change.When I run in browser the menu option "Debugger"(right-click) doesn't appears.

View 1 Replies

ActionScript 3.0 :: Flash App Works In Debug, But Not Swf?

Jul 27, 2009

When the loader finishes, it send the data to a plotter function. the plotter function clears the graphics in a shape called graphLine.It then draws a line from one plot point to another using the lineTo function.Basically ever 3 second it makes this request and redraws the screen and updates the value of a textfield to the current y value. In flex builder 3, it works great in debug mode. The screen updates just fine. However, when I make the release build and test it out in a browser, it loads the data fine, but will not draw it until I stop the graphing process.Here's the code for the graphing function

Code:
public function graphData(data:Array):void
{

[code].....

View 0 Replies

.exe Projector File For PC Works Fine But Extracted .hqx For Mac Won't Open When On CD

Sep 9, 2009

I'm using Flash MX, AS 2, Projector 6, working on a PC. I saved two versions of my project -- one .exe for Windows and one .hqx for Mac. The .exe works fine when burned onto a CD. When opening the .hqx from a CD on a Mac, I got a message that the file is on a locked volume. I discovered that the reason for this is that an .hqx is essentially a zipped file which has to be extracted, and when a file is extracted, the unzipped files are written onto the same location as the original. When the original files are on a CD, Stuffit (Mac's zip extractor program) can't write onto that location. [So if anyone at Adobe looks at these forum posts, let me say that I think its absolutely ridiculous that the Mac version of Flash's projector files have to be extracted in order to be viewed!]

To get around this problem, I saved the .hqx on my PC, put it on a portable hard drive and brought it over to a Mac (because Stuffit for PC converts it into an .exe for PC), and unzipped it. When I'd test it on the portable hard drive or on a USB drive, the extracted file would work. When I'd bring it back over to the PC and burn a CD with both versions on it, and then test that CD on the Mac, it wouldn't work.

View 1 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

Professional :: Flash Activity Works Fine On PC And Laptop But Not On Net?

Aug 29, 2010

I've put together a little flash activity for my educational website, and although it works perfectly on my PC (I also zipped it up and passed it onto my laptop, where it also works perfectly), when I try to open it after uploading it to the website, all it shows is the background.
 
[URL]
 
To download the ZIP file I passed onto my laptop: [URL]

View 5 Replies

Professional :: Alpha Tween Works Fine In Preview But Not In Swf ?

Jan 5, 2011

I have a few words written in static text mode which I have made a graphic symbol. On the timeline I have used both  motion tween and classic tween to create a aplha change from 0% to 100%.I made sure I have enoough space on my timeline (10 frames).The aplha tween works fine in preview mode however when I export the swf the aplha tween is no longer working? I have tried breaking the text,restarting flash,restarting my computer and similar suggestions from other blogs such as:

I was able to solve this by checking the box "Use runtime bitmap caching" under Blend in the properties panel for the MovieClip in question.I am currently using Flash CS5 on a imac.

View 7 Replies

ActionScript 1/2 :: Button To File Url Works In Preview But Not When Published

Feb 8, 2012

I have a strange issue with flash.
 
I have created a dynamic user interface which pulls urls from an xml file.
 
Heres the structure
 
Main movie
care_btn movie   
 
action script for main movie is as follows
links_xml = new XML();
links_xml.ignoreWhite = true;

[Code]....

View 7 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 :: TileList Works In Flash Preview But Not Once Published To The Web

Oct 7, 2010

I have a TileList of image thumbnails that pulls its image location and caption info from a remote XML file. when you click on a thumb it displays a larger image and changes when you click another image. it works perfectly inside Flash, but when i publish the images, xml, and swf, everything works except the thumbs do not display, and clicking an empty cell doesn't bring up the larger image. i first thought that maybe my xml file was in the wrong place, but since i am still getting 12 empty cells (12 images listed in the xml), i'm questioning whether its my xml code or my as3 code. getting no errors from flash because the entire swf functions as intended locally.

my xml file and images folder reside in the same folder as the swf on my website.

my xml code and as3 code are below:

BEGIN XML

<?xml version="1.0" encoding="utf-8"?>
<photos>
<image caption="Steve" url="images/web/DSC01921.jpg" thumburl="images/thumb/DSC01921.jpg"/>

[Code].....

View 1 Replies

ActionScript 2.0 :: CS3 Reverse Frames - Functions Works Fine In The First Part But In The End Does Not

Oct 24, 2009

I have attached a .fla file where i have some problems. The revers functions works fine in the first part but in the end i does not. What should i do?

View 1 Replies

Flash :: Movie Works In Preview (Ctrl+enter) But Not In Published?

Nov 17, 2009

I have a flash project that I have been working on for a while, today its stopped functioning properly. To be clear. It still runs JUST FINE when I preview it (CTRL+ENTER), but when I publish the file and run  the SWF file, or  the HTML file the movie no longer functions properly. Specifically any ActionScript from the main timeline seems to no longer be functioning. ActionScript contained within movie clips continues to function properly, but nothing else.There is about 400 lines of code right now (variables, functions etc.)

View 8 Replies

Media Server :: Stream Works Fine On Local Subnet But Not Over Web?

Dec 30, 2009

I followed Tom Green's tutorials and at this point I can publish a live stream which I can view and interact with just fine on my local LAN.The FMS is NAT'ed to the outside world and I have ports 80 & 1935 open to the server.When I use a browser from the outside world and put in the servers public address I can see & interact with the FMS start page just fine. I can use the "interactive" tab and supply my live stream name and view the stream just fineHowever when I try to launch the Flashplayer that I built all I see is the controls with moving stipes, No video feed above. I can browse to the flashplayer HTML file on my local LAN and it works fine. Interestingly enough I cannot open the flashplayer HTML file directly on the server either (but I can open the start page application and interact with it).

View 1 Replies

Link For Visualsit Works Fine But When Upload It And Try To View Nothings There?

Jan 4, 2010

this is my first website and i have a members page were each member should appear!but it does not!heres the link for visualsit works fine but when i upload it n try to view nothings there

View 3 Replies

ActionScript 1/2 :: PayPal Button Action Works In Preview But Not When Published?

Jul 21, 2010

Any thoughts as to why this works correctly in CS5 publish preview but when I publish it I either get no action or (XP comupter) or a blank page (vista) Any thoughts or insight would be appreciated. Also, I'm new to flash and here's the button action:

on (release) {
//create the LoadVars that will hold our paypal information
var paypal = new LoadVars();

[code].......

View 1 Replies

Flash Video Object Works Fine In Mozilla Browsers But Not In IE

Jan 19, 2010

A simple flash video doesn't appear in IE. I've looked at answers to the same problem by NineBerry, however, I've tried those suggestions without luck.[code]I didn't include the file mulholland_intro_slideshow.fla as I doesn't seem necessary.I'm also aware that when encoding with Flash the object can only be made to played locally or via the network. I encoded locally for testing but it also plays across the network. Is that even relevant? I don't know.

View 1 Replies

ActionScript 3.0 :: Swf Works Fine When Tested From Flash, But Not When Doubleclicked On Harddrive?

Nov 19, 2009

I have a swf that loads in other swf files and interacts with the loaded swfs, everything works great when I hit ctrl-enter to test movie from from flash, but if I go out and doubleclick the generated swf on the harddrive at first it appears to work correctly, but some of my class methods do not function properly, or throw errors claiming there are null object references. If I compile to an exe file instead of swf it works fine as well.I am nearly 100% positive this is not a code related issue, as I said the only time I run into the problem is when I doubleclick the generated swf to run it.

View 4 Replies

ActionScript 2.0 :: Scroll Bar Works Fine When All Of The Image Are Of Equal Width

Mar 12, 2010

I have a scroll bar that scrolls horizontally through images that are loaded dynamically from an xml file. Then I have Next and Previous buttons that advance the scroller to the next and previous image. It works fine when all of the image are of equal width. BUT I want to be able to load images that have different widths. Right now, the basic idea is to find the next _x position that the scroller would jump to when you hit the next button by taking the total scrollable area, divide it by the total number of images, and multiplying it by current image number. Something like this:

[Code]...

View 0 Replies

Actionscript 2.0 :: Lee Brimelow's Flash Contact Form Works Just Fine But On Asp

Dec 29, 2009

I am having some issue with the Flash actionscript 2 php contact form Actually the form is uploaded on an asp server The code worked just fine before on a php server but when uploaded to an asp server it is not working Need to find something that tells the php code that server is asp and port is so and so..Below is the code and php...

[Code]...

View 9 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







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