how to flip a movieclip as if we are reading a printed book in as3 - actionscript-3

How can we flip some movie clips one by one as if you are reading a printed book?
I need to create a ebook in as3 where we are populating dynamic data.
Here, is a link which I got while searching, http://swf-flash.blogspot.in/2010/07/let-talk-about-how-to-create-pageflip.html#more But, its using a static movieclip, whereas i need a movieclip with dynamic content.

There's quite a lot of page flip solutions out there. I don't think dynamic content should make much difference. See a list here http://flashspeaksactionscript.com/flip-a-page-with-these-flash-page-flippers/

you can learn more from this site http://www.flashandmath.com/flashcs4/flip/index.html
good luck

Related

How to create scrolling list with picture in Adobe Animate CC/ActionScripts3

I'm a designer and animator, I newly start to coding with Adobe Animate CC, In all versions of adobe flash there is List item but i couldn't find a simple way to add image and text to it, if possible guide me how can i make a scrolling list like below sample image (scroll to receive content from server "like a news app") with simple way not complex coding. I prefer to use Adobe Animate not Adobe FlashBuilder/Flex.
Simple suggestions, Link to tutorial, ...
If you take a look here, you might find what you are looking for. However, if you are just starting to code in AS3, expect to go through some rough spots.
http://www.myflashlabs.com/product/flash-dynamic-as3-scroller/
This scroller is pretty good, as it works with touch devices, as well as mouse input (desktop). This still requires you to create a movieclip or sprite and attach whatever items to you want to them. Read the documentation and take your time. Best of luck

Non-scaling thumb skin Flash UIScrollBar AS3 alternatives

There's probably a million posts about scrolling in AS3, but the problem I'm having is quite different. I have no problem making scrollbars work (have done loads of times), but I'm having a problem with custom skins. I'm basically trying to make the bar in this concept:
concept http://img842.imageshack.us/img842/5081/screenshot20130507at140.png
The key part is the thumb. When customising the skins in Flash, it scales the thumb bar (which hasn't been a problem in my previous projects, but in this one I want to have a non-scaled graphic like the one in the concept.
I've done a few searches and apparently this isn't easily achieved (something about extending the component class that I didn't really understand), but I find the UIScrollBar very easy to use. So my questions are:
Is there anyway to get UIScrollBar to do what I want?
Failing that, is there a third party equivlent of UIScrollBar that'll do what I want?
Failing those, what is the most pain-free way of making a custom scrollbar in AS3? (I realise there's a lot of tutorials for this out there, but there's too many, so if someone could point me towards a tutorial that doesn't require cause pain I'd appreciate it)
Thanks! (:

ActionScript 3 movieclip with interchangeable images

I'm creating a game using Flash Develop and ActionScript 3.0 and I can't figure out how to make a "Character Creation" menu, in the sense that, I want to animate a movieclip full of images (head, torso, arms, etc.) and then change out any image with another.
So I'd like players to be able to choose what kind of sunglasses they want their character to have, for example, and the different sunglasses will keep the animation that I made with the original ones.
From what I know so far I can export a movie clip as a .swf and use it as such, but how do I change out images and keep the animation?
Any suggestions are greatly appreciated.
Thanks!
I don't know how much actionscript you know.. but if you just want an idea how to do it and not the whole thing in code...
I would personally make different movie clips for the different parts of the body that can be changed and then change frames in that move clip. For example one movie clip with different hairstyles, one with (sun)glasses and so on.. and then just go to then next frame in the "hairMC" to change the hairstyle.
The way I'd do it is to create MovieClips that all implement the same Interface and then have other MC's higher up that know how to use the particular Interface. For example, if you had an IArm, it might know how to swing and how to grasp (and it might grasp by using an IHand). A fat ITorso might attach the arms at a different spot than a thin one.
And your Character might have an IHead, ITorso, etc. When you created a Character, you could either pass in these components via the constructor (I'm not a big fan of constructor arguments for Views, but it's one way to do this), or you can expose setters on your Character that allow you to set these properties one at a time.
This gives you tremendous flexibility in how to put your character together--none of the pieces know precisely how the others are put together, but the methods they need to operate on are in place, so you can put in any implementation you can think of.

Working with Graphics in Actionscript

i haven't worked with graphics until now.. so I have not much ideas about using graphics objects in flash cs6.
I want to move this character depending if the person has pressed a button and stop his movement once the button is released. I looked up on how to go about this process.. so far one thing that kept coming up was to turn my spritesheet into graphics.. but after that i couldn't really find anything on how to integrate this into actionscript. Plus when I convert an object into graphics it doesn't give me options to assign it a class name. so can somebody give me a good breakdown on what is the purpose of these graphics objects? and how should I go about making a sprite move?
Disregard information concerning sprite sheets. These are used as a completely different method of graphics rendering that I'm not going to cover here; for more advanced, high performance applications and games.
When you say Graphics, I am assuming that you mean you've created some drawings that you've converted to a Graphic like this:
These types of objects are used purely for timeline animation. What you want to use here is the type MovieClip. When you use this type, you'll be able to give the object a class name like you mentioned:
After doing this, you'll be able to refer to that library symbol in ActionScript like this:
var gr:MyGraphic = new MyGraphic();
addChild(gr);

Create video movie from dynamic content

I have an application (actionscript) that displayes a slideshow from dynamic content written in xml. The slideshow runs in flashplayer. Now i have been asked to display the content as a video file format. Is it possible to do such a thing?
Thanks
To answer Your Question,
If I understand you correctly, and you want to create either timeline or scripted animation, and have as3 record what appears, then the answer is Yes.
Below is a great example:
http://www.zeropointnine.com/blog/updated-flv-encoder-alchem/
Really, all you have to do is to make all your actions and child animations happen inside a single Sprite or MovieClip, and then after every frame, copy the pixels from that object as it appears for that frame, and store those pixel in a ByteArray or even a Vector array of BitmapData.
That being said, once you have the data you will need to learn about encoding; yet, there are a ton of libraries out there that can help you avoid having learn a file spec and make an encoder from scratch.
Hope this helps.