I've ran into a weird problem with getCharBoundaries, I could not figure out what coordinate space the coordinates returned from the function was in. What ever I tried I could not get it to match up with what I expected. So I made a new project and and added simple code to highlight the last charater in a textfield, and all of a sudden it worked fine. I then tried to copy over the TextField that had been causing me problems, into the new project. And now the same weird offset appeared 50px on the x axis.Everything else was spot on. So after some headscracthing comparing the two TextFields, I simply can not see a difference in their properties or transformation.
So I was hoping that someone might now what property might affect the coordinates returned by getCharBoundaries.
I've got something very strange happening with the alpha of some loaded pictures. I load 27 images dynamically from within a class:
PHP Code: package{ import flash.display.*; import flash.net.URLRequest; import flash.events.*; public class Portrait extends Sprite{ [Code] .....
However the first 4 portraits won't change alpha to a float number, I can only set the alpha to 1. Code: test_portrait = new Portrait(i, 0.8, (film_width/2)-(240), white_bg_square.y); Results in a blank screen for the first 4 portraits... All the other portraits change transparency fine. There's nothing wrong with the loaded pictures because I swapped 1 for 10 and the problem remained while image 10 in an other position changes alpha just fine.
I'm working with a video in Flash where I am capturing each frame and testing the color of a single pixel. I'm using it to determine when a white/transparent background changes to be a color. The following AS2 code works flawlessly when I preview it in Flash and on my desktop in the browser (the direct SWF and placed inside HTML using SWFObject) but as soon as I upload it to my server it fails and produces "FFFFFF" continuously regardless.
this.onEnterFrame = function()[code]..........
There is no difference in the files; they are both pulling from the same video source (hosted on an Flash FLV server).The only difference is one set of files is hosted on my local computer and the other is hosted on my web server.
I am resizing my .swf file according to browser size using AS3. It is working fine. But problem occurs only when an object goes x=-300 (x, or y but in negative numbers) on stage. Means when the object goes up the stage or down the stage, everything on stage shrinks and looks very bad.
I maked another footer last week because i hadn't much time (school ).I still want to finish this one so i could use it later but my actionscript isn't that great.I don't know how to say it correctly (look at the image too) but I want it so you can drag my name ( like this > // name //) so a other piece is visible. Still don't understand eh,I thought so here is helpfull image. > [URL] what i mean //edit I forgot the image
I have made up a snakes and ladders drag and drop board to use with interactive whiteboard in my class. It is only 2 frames, one with the intro and the other with the board. The squares with snakes or ladders are movieclips (target1, target2 etc). The contestant images are movieclips. Which drag and drop, when they hit the target they move. It was working fine, but now every time I test it I get the following error message. I don't know how to solve it as I have looked everywhere.
Scene=Scene 1, Layer=Layer 1, Frame=2: Line 1: Statement must appear within on/onClipEvent handler stop();
I'll try to attach the fla but last time it didn't work, so I'll give some of the code below. On the 2nd Frame I have stop();
I have made up a snakes and ladders drag and drop board to use with interactive whiteboard in my class. It is only 2 frames, one with the intro and the other with the board.The squares with snakes or ladders are movieclips (target1, target2 etc). The contesant images are movieclips. Which drag and drop, when they hit the target they move.It was working fine, but now every time I test it I get the following error message. I don know how to solve it as I have looked everywhere.Scene=Scene 1, Layer=Layer 1, Frame=2: Line 1: Statement must al give some of the code below.On the 2nd Frame I have stop();
On each contestant movieclip I have on (press) { _root.player2.startDrag();
I have just finished a word puzzle using Flash8.It works ok , but I wanted to add a sequence at the end congratulating the user after succeeding to solve the puzzle , something like : " Congratulations , you've won" , but I didn't succeeed to do that . I need somebody to give me a hand on what script I should write.
I am a novice in Facebook developer by choosing ActionScript 3 as my developer platform. I use SWC library from official facebook-actionscript-api that promoted by Adobe.So I followed their tutorial.[code]
First, just to give a visual idea of what I'm after, here's the closest result (yet not exactly what I'm after) image that I've found:[URL] BUT, it doesn't exactly solve the problem I'm after. I would like to store an array of points of a very specific spiral algorithm. The points are evenly distributed The 360 degree cycles have an even gap If I'm not mistaken, I think it's obvious that the two first points would be:
I hope this problem would not waste your time. I use Adobe Coldfusion 9 to create CFC to to interact with database. Generally, CFC can be generate WSDL by itself. for example:[URL]..
The WSDL was generated well. But the problem has been found when I tried to use Adobe Flash Builder 4's Data service to generate service class to connect ColdFusion's WSDL.
If you tried to invoked the remote function that return primitive data type as int or String, it works correctly.
As I'm mostly do a lot of Actionscript editing in the flash IDE, this bug sometimes happens to me: Somehow, magically, the actionscript window opens so big that it won't ever fit on the screen and there's no chance to resize it back to a smaller size. In CS3 you could still change the size by dragging the top border of the window down a bit. CS4 doesn't allow this anymore. Which is no problem, wouldn't there be this bug (which also has been in CS3 but not such a big problem)
i am loading an external .txt file and am displaying. its working fine. but when am trying to split the specified values, the value was disappearing. i mean except that splitted value everything is displaying... how to get that.
var loadXML:XML = new XML(); var myarr:String; loadXML.ignoreWhite = true;[cocde].....
its an xml string based. now i want to store the picture thumb value in one array value, and description value in another..... like tat..
What I need is to build a page with a list of 5 links each stating a time. These links will be used to determine bands timeslots which is the fairest way I can possibly think of...kinda like drawing times out of a hat except over the web. I want to send this list of 5 different timeslots to a band, have them click a link and see their timeslot...(ex; 9:00pm - 9:45pm) and in the meantime...all the other links become inactive and disappear. This can be done 1 at a time so I can rebuild the list without the previously chosen time slot being an option...or it can be the first person who reads and choses gets the slot and the next person to view the page would see the page without the previous selection even shown. I would also like the selection to be emailed to my email address.
_____Here's how I would like it to look..._____
In order to be fair about timeslots, choose from one of the links below. The link you choose will contain your timeslot in which cannot be changed and you will not be able to choose another link after you have chosen. These links are random...no particular order and nobody knows what timeslot is in what link. Your selection will be emailed to me.
Choose your timeslot A Choose your timeslot B Choose your timeslot C Choose your timeslot D Choose your timeslot E
I created our website using Actionscript 2.0 and on several of our pages there is a drop-down text box that has a "close" button on it, which is just a movieclip located inside the text box movieclip. For some reason, if you stay on a page for a few minutes the close button disappears. The hand still shows up when you hover over where it was at and you can still click on it, but it just turns invisible. I'm not sure what's causing this.
All symbols have stopped rendering while in the IDE. They publish fine, but I can't see them on stage.
Details: Flash Pro CS4 10.0.2 Mac OS X 10.5.8 on MacBook Pro w/ 4GB RAM.Objects that are not symbols render fine (shapes, groups, text, components).Symbols are selectable and show the blue selection boundary.Symbol selection is constrained to the shape of the symbol, not the bounds.The 'empty clip' handle is shown for each symbol(and effects / filters are rendered on it).The layers are not hidden, and switching to outine doesn't change the appearance.All files opened on this Mac show this behavior(IDE pref setting for don't display symbols?) .Files openfine on other machines (PC & Mac).I trashed the 'Flash CS4 Preferences' file, but it didn't fix it.Here's the IDE view of the stage:
I'm having trouble loading a SWF that contains a FLV movie into another SWF.
Here on its own is the SWF that I want to load:
[URL]
You'll see that the movie and the controls appear and work properly.
Here is the SWF in to which I want to load it:
[URL]
If you click the white rectangle at the bottom, it will load comback.swf into Level 1 but the FLV and the controls are missing. (Somtimes the FLV appears w/o the controls.)
I found a script to make the animation follow the mouse movement and it needed to stay in fixed boundaries. I have 3 different mc 1 behind the other and moving at a different pace to give a illusion of perspective. But here are my issues;1-It works but when I open a new window in the browser the mc(s) are disappearing. 2-And I would really need to ease or smooth the animation a little. I would like the mc(s) to continue to move and stop slowly after I already stopped moving the mouse. how to script both or even 1 of these ? Here's the code I am using now;
function loopX(e:Event):void { var xDist:Number = mouseX - 24000
I usually work with after effects, and i made this animation using it.Now I'm trying to import this short clip into a website by Wix websites..I exported the movie in FLV from after effects.I Need to put the movie on the homepage of the website, make it play once and then disappear entirely so that you can see the website hiding behind it. Now it cant be anything but SWF. No HTML or anything .any way to do it?
I'm customising a tutorial from "Flash 3d" book. Basically its a horizontal/panorama scroller but I don't want to have a custom cursor like they suggest so I have deleted all the bits of actionscript relevant to the cursor.But for some reason when I test the movie the cursor keeps disappearing at randomly on and off when scrolling.Please, can anyone see anything in the code that could make the cursor disappear ? I've checked there isn't any more actionscript in the hidden elsewhere in the file.
// initialize variables var moveAmount:Number = 15; // how fast the pano will move var centerX:Number = Stage.width/2; // horiz. center of Stage
I made a 3d box using flash cs4 (ive made one using imported images as the sides and another one using vector siding made in flash) Both times, when ive finished the box and rotate it, sides will dissapear then reappear, depending on where the box was in its rotation. For instance, when you look at it dead on, the front side seems opaque, but when i start rotating it, the fron side, at certain angles, becomes transparent and you can actually see INSIDE the box thru the wall, then as it moves it becomes solid again. I am trying to make a presentation for work of a package, rotating 360 degrees on its y axis, but keep getting these odd disapearing sides.
I am having a problem with a swf completly disappearing when using wmode at all. When wmode parameter is removed, the swf appears fine. The bug only occurs in FF on a PC (and only some of the time at that ). When theres only a limited amount of html code in the surrounding page (even with wmode ), the swf is visible, however at a certain point, ANY extra line of code causes it to break.
I have just encountered a very strange problem regarding the bitmaps (.png files) used. When I view the swf movie - everything is fine until I make the browser much larger / fullscreen. Then a few of the bitmaps in the navigation menu move out of place.URL...
I have knowledge of HTML but this is my first flash project, and I think I'm way over my head. I followed a tutorial explaining how to make menu buttons and I realized that the actionscript for a drop down menu should work for what I'm trying to do. So I finally have everything the way I want it but I'm pretty sure I have a bit of wasted code in there. Now, my issue is when I play my flash and move my mouse really fast over the flash object sometimes two menu buttons appear. I'm sure it is because of the ._alpha > 0 code I'm using but I dont know another way around it. If you have any advice PLEASE share!! Here is a link to the swf file...http:[url]....
This is the code (for two buttons) I use to make something disappear when I RollOver another button:
I have child movie in a project that contains a FLV Playback instance with an associated Seek Bar component. The child movie fades in and fades out when a button is pressed. When a the child movie fades-out, the handle of the seek bar is retained. If I watch the movie multiple times, multiple seek bar handles remain behind.
[URL]
Click the "View Entry Footage" button and then click the "Return to Map" button.
I have a screen in a Flash window with four TextFields(just regular text, no html formatting).If I tab from one TextField to the next, select all the text (using keyboard command), and then start typing, the text formatting is removed.
This does not happen if I click into the TextField before tabbing into it.Even clicking into a TextField, placing the insertion point at the begging of the text, selecting via keyboard, and typing does not reproduce the effect.I'm pretty sure this has something to do with the TextField receiving focus, but am not sure how to work around it as there is no restricted order to type into TextFields.