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
Similar Posts:
Aug 30, 2009
i have a movie that has worked fine in past during Html test but ive been doing some dubugging using the flash test latly and it runs fine here but when i go back and try to test in Html mode no errors come just the movie never fully starts (starts up about as much as if there was an error).
View 5 Replies
Mar 19, 2009
I have two scenes in my flash file and in scene 1, first button takes you to frame 2 where movie clip is -works
on (release) {
gotoAndStop("scene1",2);
}
second button takes you to frame 3
but on scene 2 that performs same function as scene 1, the first button
on(press){
gotoAndStop("scene2",2);
}
instead of going to frame 2 goes to frame 3. and the second button goes correctly to frame 3.that happens when i test scene! when i test movie all buttons work properly.
View 1 Replies
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
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
Apr 2, 2008
The movie works when I test it in the flash IDE, but when I try it from the server it just sits there doing nothing, all the neccessary files are uploaded but I get nothing when I view it.[url]...
View 1 Replies
Sep 11, 2009
I have just switched to CS4. When I updated some text in a movie on the site (originally built in an older version of Flash from back in the Macromedia days) things went fine until I published the document. The movie file looks fine but random characters have disappeared and some portions that were Italics have become regular. Everything stays good in the movie file, but the published one loses characters. I tried publishing for flash 5 but that made no difference. What should I be trying?
View 3 Replies
Sep 12, 2011
is there a simulator or a way for Adobe Device Central to read CS5 created iOS published SWF's or ipa's for testing purposes?At the moment, I make a change in Flash CS5, publish the SWF and IPA, delete the old version from my phone, drop the new IPA in, re sync and test. This is not good for the workflow. What are the options for testing and developing?
EDIT:I am on a Windows machine (Windows 7).
View 2 Replies
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
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
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
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
Jun 3, 2009
Sorry, I'm a newbie with what I'm sure is a deafeningly stupid problem. I'm self-taught, as well, so... there you go. I'm working with buttons that trigger images into a loader. When I test it on my computer it works fine. When I upload the SWF to my site with the code, the buttons appear but they don't load the images. I assumed this was because the images have to load from somewhere, so I uploaded the images to the same folder, but I it still won't work. Now I'm assuming it's an action script issue, but I don't know how to resolve it. My current action script is: on (rollover) {loader.contentPath = "image.jpg";}
View 8 Replies
May 25, 2011
I'm self-taught, as well, so... there you go. I'm working with buttons that trigger images into a loader. When I test it on my computer it works fine. When I upload the SWF to my site with the code, the buttons appear but they don't load the images. I assumed this was because the images have to load from somewhere, so I uploaded the images to the same folder, but I it still won't work. Now I'm assuming it's an action script issue, but I don't know how to resolve it. My current action script is:
View 6 Replies
Aug 17, 2004
I have a music player and because of my fast connection I cannot test if the pre-loader and or bar works.Also no matter what I do I can't get the second track to play. It has the same set of actions pretty much as the first.
View 2 Replies
Aug 4, 2011
My buttons only work when I click on them on the stage while having the "enable simple buttons" option on. They do not work if I try to "test movie," "test scene" and publish it to a SWF. Nothing responds whenever I am in these modes. I am using Adobe Flash Professional CS5 Actionscript 2.0.
This is the code that I put in for the buttons:
[Code].....
View 5 Replies
Oct 16, 2010
I've made a file in photoshop with layer. I brought it into flash. I created the movie and it plays but when I want to use the "test movie" feat. it does nothing. The graphics come up but no movement. I exported it as an .swf file but still no luck.
View 8 Replies
Aug 17, 2004
I have a music player and because of my fast connection I cannot test if the pre-loader and or bar works. Also no matter what I do I can't get the second track to play.
View 2 Replies
Nov 11, 2009
I made a flash mp3 player and it works fine in any other test pages. but when i embed it onto my site it just shows blank. what do i do? my site is [URL] and the flash player i tested here [URL] and it plays. What im i doing wrong? i tryed everything. right now i just got it in a iframe but i dont want that iframe.
View 1 Replies
Jul 28, 2009
I have a project where I have a main project which loads external .swfs, and those external .swfs in turn load more external .swfs. In my main project, everything works perfectly when I preview using simulate download, but once the .swf is published it doesn't work properly. I'm assuming is has something to do with my main site Preloader, that's why I posted here. I'm pasting the code here and attaching the latest size report.
[Code]...
View 12 Replies
Aug 22, 2009
I have loaded various external swf in my flash site,thew problem is that when i test my site with ctrl+alt+enter they all display properly, when i test the movie form its folder or online some of their functions or aspects bug.
View 1 Replies
May 24, 2010
So I made a button and added the following code (url changed for example purposes)
button_1.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler);function mouseDownHandler(event:MouseEvent):void{ navigateToURL(new URLRequest("http://mysite.org.uk/qb.dll"));}
[code]......
View 2 Replies
Jul 17, 2010
Here is my code in its entirety. It won't trace when I Test Movie, but when I debug, it works fine.
import flash.events.*;
function scrollWheelHandler(e:MouseEvent){
trace(e.delta);
}
stage.addEventListener(MouseEvent.MOUSE_WHEEL, scrollWheelHandler);
I hate flash. This is in a new project btw. wtf is going on?
View 2 Replies
Jul 25, 2006
Im using netConnection and netStream in flash 8 to play an external flv. this is my code:
Code:
var nc:NetConnection = new NetConnection();
nc.connect(null);
var ns:NetStream = new NetStream(nc);
vid.attachVideo(ns);
[code]....
The code, buttons and video object are all in the main timeline (scene 1) of a test fla and it works just fine. But, once I take this code and put it in my main fla which loads external audio, text, and supposedly this video, nothing happens. It doesnt play the flv at all.
View 1 Replies
Feb 2, 2009
I purchased an elastic menu flash component that uses AS3. Unfortunately, I've only just waded into AS2.I'm trying to replace the generic colored background with an image that is masked. Unfortunately, turning the layer into a mask breaks the functionality. The weird thing is that it works fine in Test Mode (Ctrl+Enter) and if published as an EXE. It just doesn't work as an swf.Has anyone run into this weird inconsistency before? Also, what is the best way to get into that component and possibly modify it?
View 1 Replies
Apr 11, 2011
I have a movie clip (with instance name rectangle_mc) on the stage. Within this movie clip there are two separation animations on the timeline. The ROLL_OVER animation starts on frame "over" and the MOUSE_OUT animation starts on frame "off." If I roll over the movie clip, the initial animation plays, and when I mouse out the other animation plays to restore it to it's initial state. However, once the rollover animation has played once, it will not play again when I roll over it again, but for some reason the MOUSE_OUT plays every time.
[Code]...
View 1 Replies
May 12, 2009
I just published a short movie from Flash CS4 and placed the entire set of files at this URL[URL] and when my web designer or me for that matter double clicks on the HTML file the movie doesn't play. We get a black screen and at the bottom of the frame in the progress bar there's a little green & white zebra like moving line. I'm pretty sure this is how I've delivered movies from CS3. I'm obviously missing something obvious here, but I haven't a clue. If I double click on the HTML file on my machine that has Flash installed it works great. The .FLV file plays correctly in media player also.
View 7 Replies
Jun 10, 2009
I am testing Flash CS4 at the moment, but something is wrong with it. What I did hundreds of times in CS3, here it just doesn't work.I used Adobe Media Encoder to make F4V from AVI. Then I imported that file to flash (load external video with playback component). Then I previewed it (ctrl+enter) and everything was fine, but once I saved (or published) it, the movie didn't play anymore. There was just background and no movie nor playback component.I tried encoding that file to FLV, even for older flash versions (I have the newest one installed), but that didn't help.
View 5 Replies
Apr 21, 2010
I have this flash file for a website that needs editing. However, I know next to nothing about Flash (I still have Flash 8, so that tells you alot). Anyway..I have made the edits, and as far as I can tell, the bits I have edited haven't changed where the problem occurs.
Basically, theres 2 'slides', you click 'next' and the 1 slide fades away, and the next fades in. However, if you drag the timeline thingy, this fade happens all ok, however, ctrl+enter to test the movie, or publish it and play it the swf player..one part of the first slide doesnt fade out, it stays there in the background. Its seperate from the rest of the slide in terms of not been all one image or whatever, its text, but i cant edit it (if that makes sense?).
I can delete it, by clicking and double clicking around randomly till its highlighted, but then it disappears completely from the movie.
View 3 Replies
May 9, 2010
I have not worked with Flash for quite awhile and just finished a personal project in Flash CS4, originally created in Flash MX, but when I uploaded the complete swf and html to the Web, the swf file is not visible at all I see a blank page. The previous version, saved in MX, works just fine online but I no longer have the MX version.
what ActionScript version should I output for the SC4 version, 1 or 2 (I tried version 3 and got an error message)?
View 2 Replies