ActionScript 3.0 :: Firefox Sometimes Renders The Flash Wrong?
Oct 11, 2009
sometimes when i load a webside in firefox, it fails to draw some of the elements that gets drawn early on in the flash file (4 squares and a background square, all movieclips), but other times it works perfectly. And it ONLY happens in firefox, as far as i know. I have tested it in Opera, Safari and Firefox on my mac. The other browsers loads the file perfectly.I use SWFObject, SWFFit and SWFAddress, if that can have any effect.i draw and do everything in AS3, i only have 2 Movieclips in my fla file, which i export to actionscript.
I have a full-windowed SWF running in Firefox3.6.Reading stage.stageWidth should follow the size of the browser's window, but that's not the case with Firefox! The minimum stage.stageWidth I get is 925, even if I make the Firefox window much smaller than that.stage. stageHeight seems to work fine though.This is because the (my?) Menu Bar won't go below 925 pixels wide. The problem is solved if I hide the Menu Bar!
This problem only appears on Firefox. Anyone knows if there is a work around? I can't ask users visiting my site to turn their menu bar off in order to see it correctly.
I have a banner in actionscript 2, that posts to a URL, and gets a response back. The http header from that is then used to figure out if the posting was successful. This works like a charm i IE, but in Firefox and Safari, the Flash player shomehow interprets the HTTP header as a 0, no matter what the browser actually gets. My guess is that it's what's described here [URL]...
We are working on this website for a danish jewelry designer, and i wanted the headlines to be a special font, so i made this flash file with a dynamic text field, displaying a variable.Everything worked fine, untill we had to use danish chars like It is very strange, it seems like it works just fine in IE but Firefox is just displaying stupid things like ?? and stuff..check out this link ( make sure to see it in both IE and Firefox ) and notice the top text saying lvringe
So this ActionScript 3 program I've been working on can'tseem to make up its mind regarding how to render block-levelelements. The first time it encounters a paragraph with a classI've defined as a block-level element, it renders correctly - witha line break before and after the paragraph. The second time thatit encounters the very same class, though, it leaves it as aninline element. I can't find any problems with my code, and I don'tknow what's going on here
when i use ff, chrome, or safari my flash "movie" rennders fine; but in ie9 i get the same movie twice stacked one on the other.' html that is generated by flash pro is:
Just wondering if anyone knows of a good italic serif font (like Georgia) that renders well in Flash at 10pt?I'm struggling to get anything looking sharp and crisp even with style set to Readability.
Is anyone else seeing this is there any real information about how / when and what kinds of rendering rules there? I don't even know if the preview is live or cached. Googling for google preview is not all that helpful, I don't see any guides or help files coming up.
works perfect on my macbook pro (safari, firefox, and opera) but when I view the site on Vmare Fusion Windows XP and use IE and FireFox the pages don't load... I don't know what to make of this. Has anyone hear or seen anything like this happen before? BTW the website was created in Adobe Flash CS4/ AS 3.0 and published using Flash Player 10.
I need some help? Anyone experience this problem before with IE8 FLASH bug? Can not get this to work on all subsequent refresh to the flash. I have a flash piece which simply renders only on the first initial load. After that, if i refresh or visit the page, it does not load correctly. It seems I am having this problem with the swf only on subsequent loading of the page or whenever a refresh happens.
I have a Dynamic TextField defined in the Flash Authoring Tool set to be multiline (cause the app can receive data from outside and it can be either 1 line or 1000 lines) but unfortunately the flash player just renders 1 line in the TextField, of a total that would have upwards of 100 lines. I tried the following property: textField.multiline = true; but without success. I use Flash CS4
I have a Dynamic TextField defined in the Flash Authoring Tool set to be multiline (cause the app can receive data from outside and it can be either 1 line or 1000 lines) but unfortunately the flash player just renders 1 line in the TextField, of a total that would have upwards of 100 lines.I tried the following property:textField.multiline = true;but without success.Does anyone know how can I solve this problem?
I've gone through the tutorial on the site, and ive been able to modify the cube code, so it allows me to "flip" a box from one side to the other. It all functions correctly, except that the text that is on one of the faces renders really blurry.Is there something about the camera focus i'm not understanding?
if you feed the textarea text attribute with an tag that has a valid src url, then for some reason flex will try to render everything as html.Eg, try this:<mx:TextArea id="textArea" width="100%" height="90%" text="<img src='http://url-to-a-valid-img"/> and instead of it rendering it as raw text it will render it as an html.
I have an AdvancedDataGrid. One of the columns in the grid displayed with help of custom render. During the application run, I set another custom render to the same column.When I scroll data in the grid (change values for the custom renders) they display new view correctly.I want that they dispaly new view automatically (when I set them): so I think I have to call them and tell tham to refresh rgeir views.
I have 3 graphic objects (obj0, obj1, obj2) on the screen which the user may move with the mouse. I need the final locations of the object to be stored and next time the SWF is started, the objects to be placed where the user left them. For this purpose I use Shared Object into which I push all my objects:[code]function saveParameters is called by mouseclick on a button and check point 2 shows all the three _x coordinate correctly which means that the parameters has been wtitten to the disk.However when I restart the SWF, the first check point traces objects_parameters.data.parameters=undefined,undef ined,undefined.I.e. it cirrectly traces number of objects stored (three), but for some reason all these three objects are undefined and their _x and _y are not available.there a way to format AS code code here so that it will look like in my Dreamweaver to be more readable?
I'm scaling text from small to large using tweens, but when the text is scaled, it turns into these unreable blobs. The text is still editable, just not useful. (The output looks fine, however.)Is there a setting, or a different method, I should be using to scale text in a tween to prevent this?
I'm using a List control. In the renderer of the List control I've got a Repeater. Each Repeater can have a different number of items. Adding to the complexity, one of the components being repeated in the repeater is a Text control that has long text that will wrap, increasing it's height. I need to expand the height of the List completely so that there's no vertical scrollbar. How can I do this?
I tried an extremely dirty attempt at calculating the Lists height based on the data source. From the data source I can figure out the number of repeater items and the number of items in each repeater in the List's renderer. But there's no way to compensate for the wrapping of the text in the Text control.
Then when I add something else as a child in this class, the mask is still applied to the gallery and it crops it accordingly, however the background in it turns white and hides whatever was behind it. For instance, there is space between the rectangles in the gallery movieclip and then a backdrop from the main class's movieclip shows behind it. When I called "addChild", the space between the rectangles becomes white. The background of gallery renders totally white.
Flash receives the XML, but the values are wrong. How do I fix this? Problem I can see the XML loaded with no errors, but my output is way off. It's as though it's not receiving any values. Numbers in the output window and animation move rapidly. The Flash file runs as if it's variables where set to zero. I changed the order of my code, but that didn't help with this. how I can correct this.
[Code]...
your problem is that you're calling myLoader.load() and adding an event listener to wait for the xml to finish loading, but you're then immediately setting var delay:uint = 0; and var repeat:uint = 0; and starting the timer. you can see this in your results by the 1, XML, 2, 3, 4 output. the load call is asynchronous so it returns immediately. you need to wait until your processXML function is called before proceeding to the next step.
I'm using CS5 flash professional to build a swf. I have it publishing to flash 8, actionscript 2. but it will only work with browsers that have 10.1+ plugins, no matter what I try. is there something really obvious that I'm missing? Edit: I'm using swfobject.embed. it looks like this: swfobject.embedSWF("/foo.swf", "myContent", "400", "300", "9.0.0", "/foo.swf", flashvars);
I have a flash file that a customer has sent me that needs changing. (It is a flash website header with links to the site pages and a logo above. I have deleted the logo above) One of the problems is the size. I would like to half the size of the document as there is a lot of white space in the top half where I am going to add a static logo to a webpage (with these flash site links below). When I open Flash CS4 and click Modify > Document..., I can change the height dimensions but the white background changes but the whole of the flash movie is now under the document.
How can I change the possition of either the rest of the document or the background of the document to fit under my movie so that the whole document displays as a flash movie at the correct size? Another problem that I am having is changing the links in the template to the page names that I am using on the site. I don't seem to be able to even find the buttons to make the changes. What ever I do to view them I can't 'see' them when scrolling the time line but when I export or preview the movie all the elements are there.
As I didn't find another place for Flash Player 10.1 standalone-subjects (only 10.2. or the browser-players),When I open my .swf with double-click from the finder, it opens in FP 10.1. - but an _older_ project (which is located in a completely different place) will load! And it opens twice No matter, what new .swf I am creating, it's always this old file that will start.When opening the same .swf in FPlayer 9, it works fine.
Seems like sometimes when Selenium should call a certain method, it instead calls another, as pointed out by the following log
[Code]...
I've tried both Selenium server 1.0.3 and the 2.0 alpha 7 versions, they both display this behaviour. FlashSelenium is involved so I'm not sure where along the way lies the bug. Furthermore it's hard to reproduce as it doesn't happen only for some methods, and doesn't always happen.
I've tried searching for issues similar to these but couldn't find any remotely similar... Anyone experienced the same behavior? And if so, is there a fix for it? Edit: I doubt FlashSelenium is at fault for this, as the log tells that the command arrives correctly at the server... But I can't seem to be able to follow the path of execution from the moment the Selenium server gets the command and passes over to the browser, to the moment where it gets the response.
I've got a TitleWindow with 2 buttons in it. One button is in the contentgroup and the other in the controlbargroup. Titlewindow and buttons are styled with chromecolor.
Why has the button in den controlbar not a red color? How can I get a red button?
I have a datagrid with an itemrenderer component.In the itemrenderer is a button which should be displayed in every second row of the datagrid.It appears that way after compiling.As soon as I scroll the datagrid the buttons are displayed incorrectly, why??
Login Form: I send Login and Password from Flash to PHP. PHP accepts those values, checks them against the database, and then... returns something weird to flash. Instead of just returning "true" (if the password is correct) or "false" (if the password in not correct), PHP returns one of those values AND whatever comes after that value, including even the closing PHP tag ?> .... I know it because I trace the returned value in Flash. I need your help with my scripts. This is my Flash button, sending the values to PHP.
Im currently trying to code the Login and Register buttons on the main screen of an app prototype to lead to certain frames.The code im using is below, i know this will be an easy fix for most of you,a compile error stating that it expects 2 arguments is coming up.[code]