Actionscript 3.0 :: Papervision 3D Renders Images Blurry?
Dec 11, 2008
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?
JPG images saved in Photoshop in highest quality gets blurry when loading them dynamically through uiloader in Flash. Why, how can I maintain highest quality?
how to import photoshop images to flash without the image looking pixelated or blurry?When the flash movie is exported as a swf and embedded to html, the images look blurry and pixelated and not sharp like they are in photoshop.It is not the size because I resized the images in flash before i imported the images into flash. The flash document size is 72 dpi would this be the problem?
I found a papervision class on the net. When I instantiate it and load xml into the contructor parameters of the class it works fine except that the flipping images doesn't display properly- its masks the middle and cuts off the sides. But when I load images from library into the contructor parameters it displays a different size, almost the size of the original, but not quite -weird.
I am trying to build a portfolio application similar to the used by Whitevoid. I am using Flex 4 and Papervision3D 2. I have everything working except for one issue. When I try to load an external SWF as a material on one of the planes, I can see any native Flex or Flash components in their correct positions, but the papervision objects are not being rendered properly. It looks like the viewport is not being set in the nested swf. I have posted my code for loading the swf below.
private function loadMovie(path:String=""):void { loader = new Loader(); request = new URLRequest(path);
[Code]....
Below I have posted two pictures. The first is a shot of the application running by itself. The second is the application as a MovieMaterial on a Plane. You can see how the button created as a spark object in the mxml stays in the correct position, but papervision sphere (which is rotating) is in the wrong location.
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
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?
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:
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.
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.
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.
I have been on countless Flash forums, reading hundreds of posts with varying degrees of suggestions all of which leave me without a solution. Posts have been floating around regarding this topic for almost a decade now, and nothing seems to get resolved. So I come directly to the source. First off, here's a description of the problem. I am not the designer. The designer is very purposeful about the font styles, sizes, colors, etc, that he select. So to even consider bastardizing his work my substituting in any of these godawful "Fonts For Flash" would be inconceivable and potentially jeopardize my job. (Not really, but he is very passionate about his work... and who am I to question the master. What is baffling to me is if you watch the animation closely, the text is actually clearer during the movement... but as soon as the animation ends, that's when the text turns fuzzy.
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.
I have a problem when dealing with label component on AS3. The text was blurry on one application but not on the other. I have used the same code when dealing with the label component except the one with clear text used scaling to scale the label component and not being used on the other.
I have a movieclip with dynamic text fields and images, when I add 3D animation to my movieclip it makes my dynamic text and dynamic images slightly blurry. Is there a way to fix this? I'm not using papervision or any 3rd party library I'm using the Flash API.
ok.. so i have a static text that says "QUIT TO MENU"..i set it to "no anti-alias" for a crisp look...i put it inside a movieclip so i can dynamically call it from the library..i exported the movieclip for actionscript and gave it a class name of "QuitToMenuButton".....so i call it from the library using:
ActionScript Code: var qmb:MovieClip = new QuitToMenuButton(); qmb.x = 400;
I have a dynamically generated swfs with text fields in a html page which have to be printed/have pdfs made from them. The text is virtually unreadable when printed. I have tried setting the sharpness settings on the text fields to highest, rendering the text fields as bitmaps, nothing seems to improve them. Is it possible to get text to print as clear from swf in html page as from plain html text? I have seen the PrintJob class in as3 but this seems to relate to only one swf at a time. Is there possibly a way to use this for highres printing?
Running into an issue where the if I add a Bitmap image into a movieclip the bitmap will appear slightly Blurry.When I add the Bitmap directly to the scene it appears normal. Is their a property for a movieclip that would explain this behavior? or is their some other solution to keep bitmaps from becoming blurred?