I have six buttons, and I want each one to display a corresponding externally loaded swf, 01.swf, 02.swf.
It works fine, except that sometimes swfs load up, and sometimes they don't. For example, if I hit button 6, the 06.swf loads. but if I hit button 6 after hitting 3 other buttons, SOMETIMES 06.swf loads, other times it doens't and I get an error that relates to the removeChild
var loader2:Loader = new Loader();
function showVid (evt): void {
if (e1.data.childAdded2 == true) {this.removeChild(loader2);};
I seem to have a problem with loading data from an XML file via Actionscript. It appears to only display/load in IE and Firefox, but not in Safari.[code]
I'm trying to load some jpeg's into my movieclips. They are loading, but my height is displaying wrong. The image is 64x100px. I'm changing my movieclip to show the same size, but the display of the image is stretched.Doing a Debug of the movie, the movieclips show the correct dimensions, but the images are still stretched vertically somehow. My _xscale and _yscale are both at 100.
This is in actionscript 2.0. I've ran this file on both MX2004 and CS3, with the same result. The images aren't progressive,
I want to display MovieClip "Loading" while loading an XML File, but something went wrong and MovieClip is displayed on the screen after the XML is loaded.the main idea is:when the Test object is added to the stage I call loadQuestions function
ActionScript Code: private function onAddedToStage(event:Event):void { event.target.removeEventListener(Event.ADDED_TO_STAGE, onAddedToStage); loadQuestions(); }
it should display movie clip "loading" and load xml:
ActionScript Code: public function loadQuestions() {
[code]...
This code doesn't work as it should, because while xml is being loaded there is no MovieClip on the screen(it appears after to load is completed) [URL]
I am building a SWF and the goal is to load in an external SWF file and then display that within my container. They are totally unrelated items and I do not want to modify the functionality of the item I am loading in. My SWF will briefly display a watermark overlay, but then disappear. Can anyone guide me into this best way of doing this?Also, is there anyway to get the properties from the SWF I loaded in (namely height and width) so I might be able to easily adjust the size of my SWF to match?
I'm trying to create something that will load a bunch of images into an array and then be displayed whenever needed via using the attachMovie() function.
Code: for (var i=1; i<list.length; i++) { //list is an array full of urls to images _root.createEmptyMovieClip("img"+i,i); loadMovie(list[i], "_root.img"+i); }
I dont think this is what I want because I don't actually want the images to appear right here (this is the loading part). What I want is each image to be in a separate symbol with a unique identifier so that I can create them dynamically during runtime.
I'm loading content from a text file into a text field in Flash. In that text file I have some simple html tags like <b>, <i>, and <img>. I'm setting the textfield as html text: myTextField.htmlText = myContent The img tags work fine, but for some reason the bold and italics are not displaying...the tags are being correctly stripped from the text, but there is no bold or italic text. I'm embedding all the characters I need, but do I need to somehow embed the bold/italics versions of those characters?
I have several swf files embedded in my website, but they don't display immediately in the browser. The rest of the page (html) displays without delay, but there's always about a 1 or 2 second lag for the swf. Is there a way to optimize the swf files so they load immediately along with the rest of the page?
I have a flash movie atwww.cityofhillcrestvillage.org that will not display either locally or remotely in IE8. It is written in actionscript 2 and requires Flash Player 7 or greater. It displays fine in Chrome and Firefox. I tested it in all three browsers when I first developed it a couple of months ago and it worked fine.When the page first loads, it flashes on for a second, then disappears, and the alternate content does not display. If you reload the page, it flashes on again for a split second.
I made a number of Flash Movies during the week on my MACbook using CS4. Today when I open the files to continue building, I do a control movie and/or export movie and all my images display and move as designed but ALL TEXT is invisible. these same files worked fine yesterday. Aside from a shut down, with no issues, at the end of the workday nothing has changed that I can forsee.
When I publish an FLA, I get this message prompt:"Some characters could not be converted to outlines because an appropriate outline font is not available. These characters will disappear in the swf movie file. The characters that failed will look jagged if you choose Anti-Alias Text in the view menu."obviously I tried resetting the preferences and editting the anti alias preferences.. it is happening to all FLA files going back years and versions.
It is possible to create a flash picture that the usercan drag around ?In another words, this will be a big pictureon a small area or screen and the person withscrollbars or mouse can drag / pan the picture.
I'm displaying a .jpg image by xml in Flash. The problem is the output quality of the image looks terrible (pixelated and text unreadable). The image is 72dpi at 1150px X 750px. The display movie clip area is also 1150px X 750px. Is there any hints or settings I might be missing to display this image at a higher quality ?
I have a menu movieclip that has 800 x 22 px i need to embed this flash menu in a jsp page and make that the displayed menus got outside of this size and overlay the contents of jsp. kinda of what does the menus of the adobe page
i did a function the captures the stage and save it to bitmap datai want to display that bitmap data on a different frame what code should i do (the bitmap changes becuse the capture function triggerd alot);
I have a Flash page that goes out and reads an XML file, then displays the information in it. Most of the time, it works great. However, when it comes to nested lists, it doesn't work. I am using CDATA so that I can use HTML code to display the information as intended. But Flash absolutely refuses to display a nested list correctly. For example, if I put in there <ul><li>item 1 <ul><li>subbullet 1</li><li>subbullet 2</li></ul></li></ul>, it displays everything as if I had made each of them individual list items under one master <ul></ul>.
There's got to be a way to get Flash to understand and display a nested list. It's a simple thing to do, I know it.
I don't really use Flash, but was just trying to put up a little video demo online.
Just dragged the video onto the canvas, published it as an .swf, but when I upload it all and visit the web page, the video clip / swf isn't displaying.
I've got a page that has a flash banner on it with a small animation. In fact, I've got four versions of this banner, and I'd like to be able to load a different version each time someone visits the site. Can someone please help this rank amateur devise a script that will allow me to do this? It has four different .swf files, and I need to load them such that the same person doesn't see the same .swf file on consecutive visits. Normally, I'd do this with cookies, but I just don't see how to get it done with Flash CS5 and/or Actionscript 3.
in CS5 (ancd CS3-4) how do I stop the "Output" panel from showing up automatically each time I test the movie using the Command+Enter keys? I know I have an error but it's a network error which does not effect my clip.
I recently hired a programmer to design a flash health calculator for my website. It works great and text shows up correctly when viewing online and standalone. The problem starts when I try to edit the file. I wanted to change some text in an action layer. That seems to work out fine but when I try to publish I get garbled text.
I should also mention that when loading the file I get a Font Mapping dialog box stating "The document 'x' contains one or more fonts not available on your system. The text will display and publish with the font mapping below:". I have tried to select various fonts in this dialog box but still get garbled text.
When I publish I also get this on the Output box: "Fonts should be embedded for any text that may be edited at runtime, other than text with the "Use Device Fonts" setting. Use the Text > Font Embedding command to embed fonts."
I've created a series of calculations, and I've got that part down. Now, I just need it to show up in the movie.
I've created the dynamic text box in Flash (CS3), but when I hit test, it won't show up.
After all the calculations, I should have a figure that I call totalmoney. My dynamic text box is called total. The user doesn't need to hit anything for it to appear. It just appears as part of the movie.
Here's my code:
stop(); var startDate:Date = new Date(2010,0,12); // use your startyear, startmonth, startdate in the new Date() parameters.var currentDate:Date = new Date(); // assuming user's clock is correct and in your timezone. else use server
URL...I can't seem to figure out why the swf file is so small. I published it at 100% width & height (I want it to be full screen) but it only shows up as 216 pixels tall.
I have an swf on the page which has some textfields on it each of which are just using arial for their font and no embedded fonts.
Now when someone types an @ into one of the textfields the " character is displayed instead, I thought this would be because my browser is set to ISO-8859-1 character encoding, but changing it UTF-8 and refreshing makes no difference.
I am trying to write a class that will take a string (provided by a different class) and display it gradually, character by character, as if it were being written by a typewriter. To do this I am making use of the setInterval method in flash.utils, but I'm having difficulties... whenever I test the movie there is no text displayed, but flash isn't reporting any errors.
Here is the code: package { import flash.display.MovieClip; import flash.text.TextField; import flash.utils.*; public class TypeWriter extends MovieClip { [Code] .....
I have a WP 3.0.2 site. When I try to embed a swf file I have uploaded, all I get to show up, in either a post or a page, is a white area the size of the height & width paramaters. In order to play the flash video, I need to right click and select "play" from the menu so watch the movie.
I am trying to figure out what I am doing wrong or why there are not play, pause stop, controls showing up and why the video preview image does not show up either
I am pulling my hair out over this one.surprised
NOTE; The WP SWFObject Plug-ins do not help with this. I have tried many of them to no avail.
I have a button that when clicked it displays a few lines of text. Some of the text is large, bold and some of it is normal and smaller size. The first time I click the button the text displays properly but if I click on it a second time then the text is messed up. I am new to flash and have tried several different things.
I created a flash application that is dynamically displaying xml feeds from content partners. This flash application has a black background and will be called and displayed from the C# windows application. The issue is sometimes when our application loads the flash swf file, the background color turns white so the text being displayed are not readable anymore since they are white. This intermittent and I am using flash cs 5 actionscript 3. Before I was relying on the stage background but after I saw the issue, I already used a solid background container like (vector, png, gif, or jpeg).