Flash files I embed have faulty plugin detection - it does not recognize FP10 as an upgrade from FP9. This is in the knowledgebase, but it does not suggest a solution. "Some websites will ask you to install or update Flash when you already have the Flash 10 plugin installed. This is not a problem with your Mozilla browser or your Flash plugin, but with certain websites that misidentify Flash 10 as Flash 1 due to a faulty detection scheme. Contact the website and ask them to correct the problem or, on Windows, you can try the site in Internet Explorer, since the Flash ActiveX detection may work even though the plugin detection does not."
I just installed Flash CS4 and brought ip a couple of fla's I get a box telling me I don't have some fonts on my system that I know I do have like Verdana and Ariel, etc. Is there something I should configure?
I'm new to flash and action scrip 3.0. I made a movie clip and in it two buttons. The first button is called designer_b The second button is called animator_b This is the code I made:
Do you have idea about the reason for that error and how to prevent it? N.B. The code that triggers this error is as a result for click handler. If before encountering this error change the selection on my yearsCb, everithing is fine. EDIT: I forget to specify that this error is thrown when it is a selected item in my ComboBox. It seem that after container that holds the ComboBox loses the focus, it doesn't recognize it's ComboBox child as having a selected item anyway (this problem arise only after the modal popup close.).
I'm using this AsyncHelper. I would like to create basic test case where I would like to dispatch event from the test method (by Parsley MessageDispatcher), catch this event in any other method and dispatch it back (by flex EventDispatcher).
This is my test case: package flexUnitTests { import flash.events.ErrorEvent;
how to make my package use stage.stageHeight so I can tell a ball to bounce when it reaches the bottom of the stage. I'm calling my ball to the stage from the library in a way I'm not used to and have never done so I'm assuming it has got to do with that. if you take a moment to look at it (pretty simple i've stripped out everything except for the physics that makes a ball drop and bounce) and let me know why I cant detect the stage.
I've got an app where I'm grabbing the currently highlighted text from the user in a RichEditableText block and I've noticed that when the user highlights a selection after a carriage return that selectionActivePosition and selectionAnchorPosition return values that don't count the carriage return, even though when I slice the corresponding text with the retrieved values, it does take the carriage return into account and therefore returns a value shifted one character to the left for each carriage return appearing earlier in the text.
I was asked to update some information on a certain project. The weird thing is that whenever I try to export the movie from Flash (I work with CS3 Professional), I get errors. Before even changing anything. All of them are reporting MovieClip not being recognized ("The class...... must subclass flash.display.MovieClip since it is linked to a library symbol of that type" (and a few SimpleButtons too). There is a total of 57 errors. All the classes import and extend MovieClip.
Now I'm pretty sure this doesn't have anything to do with the code itself, since this project was already published and tested working as it is. I tried adding Class paths in the preferences menu but this didn't seem to help.
I'm trying to create a five image gallery, and when I try to add the load request for the 3rd, 4th, and 5th images I get an error message that says it doesn't recognize that request: see code below:
stop();//turn on buttonMode for mc's so mouse changes to handone_mc.buttonMode=true;two_mc.buttonMode=true;three_mc.buttonMode=true;//four_mc.buttonMode=true;//five_mc.buttonMode=true;////--add button modes for 3-5 here////define
I have a button that was added to stage using addChild when the page load, the button is suppose to be removed using removeChild and redirect into its specific page using event.target.name...somehow i got this error: Error #2044: Unhandled IOErrorEvent:. text=Error #2035: URL Not Found.
I have try replace this line, var newswf:URLRequest= new URLRequest("./swfs/"+ event.target.name +".swf"); with this, var newswf:URLRequest= new URLRequest("./swfs/about.swf"); and everything works fine, but i dont want that since I want it to load dynamically and uses less code..
my code as below:
var about:About = new About(); about.x = 300; about.y = 200;
I'm having a problem with customized Actionscript objects not recognizing thier own constructor. This is the pertinant part of my script:
ActionScript Code: //File: Line.as class Line extends Object{ public function Line(args){
[Code].....
Clearly, the variable "testLine", is one of my custom "Line" objects. Clearly, it has been made with the "Line" constructor. So why won't flash acknowledge this?
i have a problem adressing or targetting a attached mc when i target de mc directly it works fine but when i try it trough a variable it doesnt recognise its path anymore??? hopefully a part of the code is gonna explain the situation a litle better... this piece works fine:
I've created this loop to fill some data from a XML file...I can access the data but it doesn't work on my look.I have several movie clip on the stage such as thumb01, thumb03...then I whant to set a dynamic field called thumb01.numero.text with the var imageNumero myImage[i]. attributes.numero; attribute from my XML file but the loop doesn't recognize it...here is my code...
Code: var xmlData=new XML(); xmlData.ignoreWhite=true;[code]....
i gave the tree an ArrayCollection as dataprovider that i pulled from the database, and it contains the children, but the discloser icon wont disappear on an object that doesn't have a child.i think the problem is that the renderer doesn't recognize the leaf child, wich contains a children array of length 0, or null......
as the AS causing it to drop down and return to its original position. Everything works great in Safari and Firefox. However, Internet Explorer doesn't recognize the "else" condition on the y-axis. It doesn't return the drop down to it's original position???
As stated in the title, I am now trying to create a chart using Google visualization: annotated time line. It's very easy to use and the documentation is fairly easy to understand as well. You can find the documentation here.I run into a problem about the wmode of the chart which is a flash object.The default value of the chart's wmode is "window" and it will always overlay all HTML objects in the same page. That is very annoying, because even the jquery block() method doesn't work on it.
When I change the chart's wmode into "opaque" or "transparent" the chart will not overlay HTML objects with higher z-index, but it doesn't recognize the mouse scroll event. It still catch the mouse click event though.I have tried it in the following browser:
Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.2.12) Gecko/20101026 Firefox/3.6.12 (.NET CLR 3.5.30729) Opera/9.80 (Windows NT 5.2; U; en) Presto/2.7.62 Version/11.00 Safari 4.0.5 (531.22.7) IE 7.0.5730.13
Only the IE can catch the mouse scroll even, the others couldn't recognize it.
I've got a couple of TextField initialized in code (as3). They use my embedded font (aharoni), and that just works. But the fonts that i've written directly into the movieclips in flash cs3, just don't work.
When i play the swf on another computer that doesn't have aharoni, the coded TextFields are aharoni, but the textFields in the movieclips that i've written directly are Times new Roman, because that computer doesn't have Aharoni. I've set the text font to my embedded font.
I tried a sample code I found online but the text doesn't show up. Is there something wrong with this code? [code]When I run this code, there is no text displayed. If I hover the mouse to the upper left corner, the cursor turns into an I beam, but there is no text. The whole page is just white.
I have Background layer, Bkg_Image layer & Video layer. I have embeded the flv movie on Video layer. Though on stage it shows all the layers, but when I test the movie it shows only Background layer & Video layer. I can't see the Bkg_Image layer.
The Actions layer has external swf loading AS3 which is working fine. Only the problem with Bkg_Image layer which is imprortant for me.
When I test movie, I see as in the following snapshot (Just the Background_Image & Video):
Anybody notice any issues when resizing windows that are embedded using the new "gpu" wmode? Like a noticeable lag and some scaling issues for about a second before it fixes itself? Its not a big problem but it is a lot less smooth than previously...Edit: I threw together a quick demo so you can have a look. I'm working on a site and it really has to use the new gpu wmode since it improves the performance quite significantly.
So I am learning AS3 slowly.First project in it.I am having some troubles. (I know I need to learn to code class based, working on it, familiarizing myself with some of the basics before I change my style completely).I have set up my stage to have four instances of a movieclip named silverScreen0 - silverScreen3.Each of those has a content layer in it which I am dynamically loading an identical swf.I then have a mask I put over each clip so that it only show a specific area.
-First issue comes up that hte fourth mask seems to move/distort on load, as you'll see in the swf.
-Second issue comes up when the loaded swf comes in ... the mask seems to shift if the swf has a motion animation, click the second white circle above chapter1 to see this.
-Third issue comes up when I move the content layer inside of the silverScreen# clip ... the mask seems to move as well. No example of this but if you download the source files you can see it.[code]
I'm messing around a bit with the new fp10 drawing api and drawtriangles. i've created a little something i think is kinda of cool, though i can't seem to get the uv-mapping working as i want. since i'm just moving points in z/y direction i don't really have and z-value to calculate the uv with. though the bitmap texture gets distorted. i've tried to calculate a "fake" z-value with x and y, but since my maths skills are terrible i can't really get it to work.
i've thrown together a little sample here below (code obviously needs cleaning up, but i'm gonna worry about that when i've got it working as i want to). in this example z-val will always be 1 and no perspective fixing will be done. so i really need your to figure out how i can take my calculated x and y point and turn them into a "fake" z-point and use that to avoid distortion in the map/texture.
i'm messing around a bit with the new fp10 drawing api and drawtriangles. i've created a little something i think is kinda of cool, though i can't seem to get the uv-mapping working as i want. since i'm just moving points in z/y direction i don't really have and z-value to calculate the uv with. though the bitmap texture gets distorted. i've tried to calculate a "fake" z-value with x and y, but since my maths skills are terrible i can't really get it to work.
i've thrown together a little sample here below (code obviously needs cleaning up, but i'm gonna worry about that when i've got it working as i want to). in this example z-val will always be 1 and no perspective fixing will be done. how i can take my calculated x and y point and turn them into a "fake" z-point and use that to avoid distortion in the map/texture.
I'm trying to embed a font in my project by using url("font.ttf") rather than local("Font Name"), but it doesn't seem to pick it up. The font in question is called "Gotham Bold". When i view the details of the font, the font weight is regular, however when i use local("Gotham Bold") in the css i have to specify fontWeight: bold or else it wont pick it up. But when I use url("folderGotham-Bold.ttf"), and specify fontWeight: bold, it says that font weight is not found for that TTF. If i remove the fontweight, there's no errors, but the font is not applied to the text.
I have been using the flashvars from swfobject for a long time to pass info into my swf for specific outcomes. I am just starting to publish everything using flash player 10 and wasnt able to get my variable to be seen by the swf. maybe i was doing something incorrectly with this new file? but i then took code from my older files and they didnt work either... then i published down to flashplayer 9 and it worked perfectly... ???
i am using swfobject 2.2 and my code for passing the flashvar is
I can just create a new project, target Flash Player 10.2 and paste this into frame code:
[Code]...
The event never fires off. I look in the reference for StageVideo and I see it's available in Flash Player 10.2. What's up with this? edit: If I target AIR for iOS, this event does fire (I have AIR3.0 overlayed).
I'm trying to debug an old AS2 project that uses an old version of MDM Zinc and its driving me mad not having a decent debugger. Especially as I need to debug on several platforms,e.g by Zinc exe works fine in XP but not in Vista.I tried downloading the latest XRay stuff from GoogleCode but it doesn't seem to work as my player is the lastest FP10 I suspect that this could be the result of FP10 sandbox security changes to local connection.
PS. I did look at DeMonster debugger but I can only find an AS3 version
I have run into a small graphics glitch in Flash.It seems to be both in FP9 - Exported via Flash CS3, and FP10 Exported via the Flex 4 beta SDK.The glitch /problem manifests itself as embedded text at a small point size "blooming" under certian conditions.It basically looks like the antialiasing becomes fatter at some level of text brightness. I have made a small test case below. (Obviously) You will need to embed the Arial font in your compiled SWF for the below code to work.[code]You can see an example of the problem by rolling over the graphical element here: url..It's not really an option to change to AntiAliasType.NORMAL as it makes the text way less readable at this point size.