Been checking out this site: [URL].. and I'm trying to figure out how they have done the image turning effect. (click on a photo, then click More Info).
It looks like it could be converting the image to BitmapData and then working with that, or it may also be using shadows/masking effects.
I was looking for a code that does a turning page effect and have found one, but am experiencing a problem. The code is giving me a problem when i add more pages to the existing file. I am really hoping that someone can help me out with this as it is really urgent.
I have attached the original file. I need to add a total of 16 pages. Can someone pls see the file and explain to me how this is done. The pages are all generated with the help of action script. I get an error something to do with the 'with statement'. If someone can solve this problem could you please explain where I have to make the changes and what the resulting code would do.
I'm a bit rusty with actionscript and I know this is probably really easy but I can't get it to work.
Ok, in a certain scene I am loading a clip with this code.
"myMCL.loadClip("historytext.swf", 5);"
When I click the "Home" button to go back to the home page with this code
"on (release) {gotoAndPlay("home", 110);
}" the historytext.swf remains and I need it to go away. code I need to put on the button to make historytext.swf go away when I release the button and go to the home page?
I've a system where multiple movieclips are being displayed in a row, but they have different registration points. This means that even if I set their height and scale them, they are actually still not aligned properly. What I'd love is an actionscript way to align them like you can do with multiple movieclips within Flash, but I can't figure out a way to do that within AS.
I've read plenty of threads about people trying to set registration points and tested out the Dynamic MovieClip helper class that someone made, but they don't really suit my purpose. Is there no way to access what the registration point is on a MovieClip, in relation to say it's top-left point, or centre-point, or just access to display it in any way?
I'm building a survey in flash and I have multiple movie clips that cover the entire work area and are layered on top of each other, cycling through them (page to page) by tweening alpha on/off. I'm pretty happy with the way it looks except for the fact the buttons. While I can not see them, my cursor still turns into a hand if I happen to scroll over them.I've tried using, useHandCursor = false; and buttonMode = false; without any luck. Can anyone tell me how these commands work or can you tell me how you cycle multiple pages in the same flash file?
This code is on the opening frame of one of my Flash files:
Code: var myConnection:NetConnection = new NetConnection(); myConnection.connect("rtmp://fvss.playstream.com/fvssod/myclient"); var myStream:NetStream = new NetStream(myConnection); myVideo.attachVideo(myStream); myStream.play("iLoveLALong");
It starts this song "iLoveLALong" as background music. Works great. But now I need to turn the music off when I jump to another frame in the Flash doc. Can anyone suggest code that will do that, either with frame code or button code?
i am loading an swf and i want to turn its sound off. Unfortunately i do not have access to the swf's .fla file. so i am looking for a way that i can turn off the sound from the file that i am loading it into.
How would you go about turning off the hand cursor of a button when a movieclip is set at alpha 0 and then turning the same hand cursor on when alpha is set at 100?
way to turn a movieclip with a complex shape into a bitmap so I can do a BitmapData.hitTestseeing what are the non transparent pixels colliding between two bitmaps?his is about a complex hitTest. (Yes I didnt finished yet )Im trying to make two movieips turn into two bitmaps so I can realize if theres a way tosee if one of the first bitmap´s non transparent pixel is colliding with the second bitmap´s non transparent pixel
I'm making a flash game (pac-man) and i have designed a level (the walls). Now when i convert it to a symbol flash makes it a rectangle (he counts the gaps between te wall as part of the symbol). This is a huge problem because when i want to test collision between pac-man and the walls in actionscript he always "hits the wall" because he is inside the object. Is there a way to convert only the walls into a symbol.
I am using flex 3 with arcgis server 10 with the help of flex api. i am getting Error 1009 : cannot access a property or method of a null object reference at mx.controls::Datagrid/mouseDownHandler() while using datagrid with checkboxes to turn on/off layers in the map.
Is there a simple way to make a page turning animation in Flash? I have a book, and I need the page to look like it is turning. It happens automatically, so I don't need a button, or the page to be grabbable. I just need it to look like a page is being turned.
I found this tutorial on how to do it using aftereffects, but when I export the composition to SWF I get a black background, so that won't work. It would have to be transparent.
I have a fairly complicated question about converting the data on an image into an array. At the moment the map of a game i am developing is stored like this:
how to turn the autoplay off. I searched around the forums for about 15 minutes, but any mention of autoplay didn't seem to answer the question. For example I found someone who had a subject relating to autoplay and they started the bit by saying "So I turned autoplay off" but never explained how.
i have music that im gonna put in the timeline...music& sfx...and i want is so that when someone clicks a button to another section, that the music on that particular section doesnt just cut off, that it goes from volume 100 to 0 smoothly, like if one were to turn the volume down on a radio.
I'm trying to create a series of scripts that will create some custom event listeners. I have three movie clips on my stage. One is a movieclip who's sole function is to hold array's and the event listeners. A second which moves around the screen. And a third that is motionless.
The problem is that the argument I want to test (which activates the custom event) is held within a string.
What I want to know is, how do you test to see if the string argument is true?
Is it something similar to this:
[Code]...
I think I'm going about this in the wrong manner, however this is the only way I can think of this working (since I need to be able to dynamically create these events)
I'm trying to do a PrintJob and before I send the sprite away, I want to organize the info so I thought putting multiple Sprites in a single "printable" sprite would be the way to go. The weird thing is, when I addChild one of the Sprites, it turns back.
Here's my code:
Code: public function impressionImage(toPrint:Sprite, textToPrint:String):void { //Cr�ation de la PrintJob
[code]...
I removed all the lines that were in comments, and here's the code that's left. The problem comes with the "contTextEtImage" sprite. If I keep it like this and I print it, everything is fine, but if I put it inside "printable", it turn all black, as if it was a huge black bitmap.
can you turn off flash debug player without uninstaling it?I want to see how something would look with no debug player, specifically if the debug player throws an error normal player wouldnt throw, does the code stops if there was no debug player or continues normally?
I'm making a website and I've just finished the intro. Basically, I have a movie clip in the intro of a leaf floating down, stopping in the center and then has text fade in over it. I'm trying to turn this clip into a button that will take you to the main page
I'm retrieving an unformatted String from a twitter feed. I want to be able to turn a text URL (http://blah.com/qwerty/) into a link but don't know how...is there a handy regular expression for this?
public var loaders:Array = new Array(); public var loaderClip:Array = new Array(); function loadPersonmenu() {
[Code].....
The wierd thing is, my function fileCompleteListener() doesn't even referance any of these Loader instances or swfs, which is why I didn't include it in my code. This isn't a problem in the first conde