ActionScript 3.0 :: Image Manipulation - To Tuck Pants Into Boots ?

Jun 9, 2011

this one seems to be too tough for me. Usually i at least know in which  direction i have to search for but this one is beyond my imagination.I  need to make kind of dress up shop where you can add clothes to a model  to see how the clothes look like. The hard part is, it should be  possible to tuck pants into boots or put one apparel over another. And  since the bottom apparel can be bigger than the top one i have to cut out the pixels around the top apparel.If  you rollover the pants on the left you see that the image is actually  bigger than the boots but is cut and curved "into the boots"And if you rollover over the "Mango top" you see that it is also much bigger than the top jacket.

tstanding but also still keep the parts that are going out of the sleeves and on the bottom.All data and images are loaded  on demand of course and there are no specified masks or tricks for that,  so looks like everything is calculated and processed ynamically.Defining  special masks for each item is not an option either because there might be hundreds of apparels and thousands of combinations.So do anyone have some ideas how to approach this ? How the heck do they do this ? How to detect the areas where one apparel goes into another and cut out the rest ?

View 7 Replies


Similar Posts:


Actionscript 3 :: Tools For Flash-based Image Manipulation?

Jan 4, 2010

I'm building a Flash app (as3) that allows users to embed photos of themselves in a scene--think carnival-style cutouts (or faceInHole). I like the interface design for image manipulation at FaceInHole, which puts anchor points and a skeleton around the boundaries of the uploaded image and lets users drag the image to change its position, resize it by dragging corners, rotate it, etc, similar to the free transform tool in photoshop.

Originally, I was planning on building the application with an interface that just used buttons in a control console to manipulate things like position, rotation, etc, but I find the FaceInHole approach more intuitive.I have two questions:

a) Will most users find the in-place skeletal manipulation tool more convenient than the button-based tool, or do I just find it easier because I'm used to things like Flash and Photoshop that use a similar interface?

b) Are you aware of any good open source classes / libraries that contain a solid implementation of the photoshop-style free-transform image manipulation interface?

View 1 Replies

Flex :: Undo, Redo Functionality With Image Manipulation?

Jan 21, 2010

Loads an image to an Image component Transform the image (rotate, flip) with the Matrix Apply filter(s)

Now I am thinking about to create some undo redo functionality. Each time I do a transformation / add an filter I want to be able to go back to the previous image (before the action).

My thought is to have an Array and add the previous bitmap to the stack. But I see that there are some differences between transformations and filters I have also seen the ImageSnapshot and whot i can do and it looks like what I am after.

View 1 Replies

Flex :: Image Manipulation - Which Prefer For Function's Input?

Jul 22, 2011

I am in this situation where i need to select a Flex's type(image placeholder/image type/image container) for passing parameters in/out of different functions in an image editor. And, those different functions are either another image-manipulation/processing function or a function that display/render the image in a display component.

For example, I will ask other teammates to create a function that processes an image (possibly piped from other image processing functions, too), (let it be fancy or basic image processing from changing colors, to scaling, to segmentation etc.Which of the two would you pick for passing in/out different functions? Display Object or bitmapData,and why(reusability, performance, standard practice etc)?

View 2 Replies

Flash :: Boots But Shuts Down Immediately?

Mar 18, 2010

Everytime I start Flash on Acer Laptop Windows XP SP3 it shuts down. It used to run smoothly before. It only happens since I updatet Flash Player.Do you have any idea what's wrong?

View 7 Replies

Professional :: Turned These Pants Into A Symbol Called Pants_mc?

Jul 19, 2011

I'm having difficulties with a game that I am making. Essentially it is a drag and drop game where you dress a doll. i have my doll on the stage and I have a pair of pants that I am trying to drag and drop onto her. I have turned these pants into a symbol called pants_mc, I have also gien them an instance name of pants_mc.

[Code]...

View 1 Replies

ActionScript 3.0 :: Physics Like Sonic The Hedgehog Or Fancy Pants?

Mar 24, 2010

I'm working on a 2D game that has an uneven terrain similar to sonic the hedgehog or fancy pants. I've been looking at different ways to implement the collision detection and collision reaction of the character on these uneven terrains. Basically, these terrains use curves, which makes collision reaction much more difficult to work with. My first thought was to make a grid around the terrain and then use the slope of that grid to rotate my character and give the illusion that the character is moving along with the curve. However, this isn't giving me the results that I'm looking for.

If you look at sonic the hedgehog, they were able to make sonic run on curved terrain without any issues. My question is, how can I mimic the physics in a game such as sonic the hedgehog or fancy pants.

View 2 Replies

ActionScript 2.0 :: File Manipulation With PNG's And JPG's?

Oct 3, 2006

Using AS2 or 3, is there a way to create my own file format? I would like to create a game.And when users play the game, they can create a GAME-SAVE-FILE.So, let's say that player 1 is playing... He get's to level 22 and has to sign off.He clicks save my GAME-SAVE-FILE to my computer.He names the file MyGame and saves it to his desktop.So now on his desktop he has MyGame.gsf. Next time he visits, he can click on UpLoad My Saved Game.He selects his previously saved MyGame.gsf And bammo... all the information was stored in his file and now he can play on.

I need to know how I would put together the format for my own file-type / extension.I need to know how I would access, write, and edit my own file-type / extension.Since Flash can do this type of File Manipulation with PNG's and JPG's.So surely it can be done with any desired custom format.

View 2 Replies

ActionScript 3.0 :: How To Handle Database Manipulation

Mar 11, 2010

I have a request to create a "flash-like" app that is connected to a MS Access Database (DB). The customer has built up a product configurator in Access and wants to know if I can do anything with it. Is this what Flex is good for? I still really do not understand what Flex is all about.
 
Anyway, I thought of exporting the DB out to an XML file and importing that to a flash app and then using the data there. The problem with that is that I would have to recreate all of the logic (e.g. if you choose "model A" you can only choose "colors 1, 2, or 3") that manipulates the elements in the DB and also the client would not be able to easily manipulate/edit/update the DB without having to export it to XML, etc...What would be a smart way for me to access/manipulate a MS Access Database through a flash front end?

View 1 Replies

Actionscript :: Website Manipulation With Javascript?

Dec 7, 2011

Using javascript or flash, is it possible to log into websites and than pull content from that page?

I am trying to make a phone app that displays content from a site that requires log in.

View 2 Replies

ActionScript 3.0 :: Object Manipulation W/ Buttons?

Jan 17, 2010

I am curious if anyone knows how to code a button so that when you click it an object resizes, but shows the animation of it resizing. For example I know that

ActionScript Code:
btn1.addEventListener(MouseEvent.onRelease, resize);
function resize(): void {

[code]......

View 4 Replies

ActionScript 2.0 :: How Sophisticated Is The Text Manipulation

Jul 20, 2006

I want to search and replace specific text in a HTML file (about 10k - so quite a lot of text). I was thinking of trying to get Flash to do this for me. I wasn't sure how good Actionscripts text manipulation was! The only reason why I was think of doing this in Flash was because I don't know VB. I would otherwise do it in Perl if Actionscript is no good.

View 1 Replies

ActionScript 2.0 :: String Manipulation In Function

Aug 22, 2006

I'm using a function to call multiple button actions, so I don't have to rewrite code for each button... here's the script:

[Code]...

This is all part of a clip which loads pictures externally... each of the buttons (which are mc's) are named btn0, btn1, etc.

View 14 Replies

IDE :: Local Date Manipulation In Flash?

Oct 14, 2009

I'm currently trying to create an advent calendar I would like the flash movie to somehow recognise the date on the users computer and then gotoAndStop at that particular Frame Label (eg. If it's the 20th December then it jumps to Frame Label 20 in the main timeline.

View 4 Replies

ActionScript 3.0 :: Interactive Video Manipulation?

Apr 24, 2012

I have a project which is about creating interactive videos for users..The main idea is that user will open the app and a predefined video will show-up.Video will show couple of billboards, signs etc. while moving through a highway.. Like from a perspective of a driver..I need to insert users photos to these billboards and some text to signs..

The problem is, these objects which I'll be filling are changing their shapes constantly because of the car movement. I can get all the x,y coordinates and timings of the video from my partners. But I don't know how to use them in this situation.I think about continious tweens with these x,y values but I'm not sure..

View 5 Replies

ActionScript 1/2 :: MovieClip Pixel Manipulation With BitmapData

Jan 30, 2010

I have a MovieClip in the library exported for actionscript. How do i convert or attachMovie it to a BitmapData class so that i can manipulate its pixel data? I will need that so that i can distort the MovieClip.

View 3 Replies

Media Server :: Recorded FLVs Manipulation?

Sep 4, 2010

I'm creating a Flex application that enables users to communicate in a kind of video chat room. I only allow to live streams at any given moment. I'm using FMS to record the videos in FLVs. What I need to do is post process those videos and create a single video with all that happened in the video room. That means that I need to combine 2 videos, reduce the size of one of them so it appears over the other one. In other words one video will use the whole space an the other will appear at the upper left corner (over the other video,).
 
I need a server side solution for this. I created another post here and someone suggest a screen capture solution. That would work perfectly, but since this appliction will be used for several people and any time, I want the process to be automaticaly not manual. So, I'm thinking I can do it with FFMPEG, but I need a way to identify in which order I need to compose the videos. Something like adding a time stamp to each FLV in FMS (when they are recorded). How can I add custom metadata to the FLV?

View 1 Replies

C# :: Collection Of Various Color Matrices For Bitmap Manipulation?

Feb 6, 2011

I've been messing around a bit with some low-level bitmap manipulation and having been creating some various color matrices to apply to bitmap data to add "filters" (for lack of a better term).I have seen a number of tutorials online in C# and AS3 about applying various color matrices to bitmaps, but was curious if anyone simply had a collection of these color matrices that map to specific filter styles (black and white, sepia, etc.).

View 1 Replies

ActionScript 2.0 :: Text Manipulation String To Variable

Jul 20, 2009

I'm not familiar with XML text handling yet, but have to create one quiz quickly.I've decided to put feedback into different variables. e.g. fb1_1 for right anwer of question 1, fb1_2 for wrong answer of question 1.I thought to change a string to variable and put the text into a dynamic text "fb" would be something like this:[code]Also is it possible to put all text in one text field and extract a different line of text and put it to a dynamic text field? I tried to put the text into a variable, but it only shows level (level0) and instance name not the text itself. Anyway to get this way to work?

View 0 Replies

ActionScript 3.0 :: File Manipulation In Flex4 Webapp?

Jul 26, 2011

I need to do file manipulation such as create,write and delete in flex4 webapplication.

View 0 Replies

ActionScript 2.0 :: Multiple Sound Objects Manipulation

Aug 24, 2004

i have a problem manipulating multiple sound objects in MX. i have a main background loop object and a button rollover object (which plays on specific buttons). i then have a volume slider which will set the volume of only the main bg loop object. but when i tested it, it seems that the volume of the button rollover object is also the same with the main bg loop object's volume. meaning, if my main bg loop's volume is down to 50, the button rollover sound volume is also 50.

here're my codes:

//code on 1st frame
mainLoop = new Sound();
mainLoop.attachSound("mainLoop");
mainLoop.start();
mainLoop.onSoundComplete = function(){
mainLoop.start();
}

hoverSound = new Sound();
hoverSound.attachSound("hoverSound");


//code on slider MC
onClipEvent(enterFrame){
if(drag){
_root.mainLoop.setVolume(this._x); //this._x is between 0-100
}
}


//code on sample button
on(rollOver){
hoverSound.start();
}


thanks!

View 3 Replies

ActionScript 2.0 :: Multiple Streaming Sound Manipulation?

Sep 3, 2004

I have a site where as you click links, you move forwards through a city. I want to fade sound files in and out, overlapping, depending on where you are in the city.As yet, I can't have two sounds playing at once.I have found a site with the effect I want, it's atI have two sound loops at the moment, one of cicadas, one of a city at night, both saved as separate .swf files, which I have loaded onto the main timeline on layers 14 and 15.
The code for the two loops is:cicadas.swf, FRAME 1

var volPercent = 20;
cicadas = new Sound(cicadas);
cicadas.setVolume(volPercent*2);

[code]......

View 4 Replies

ActionScript 3.0 :: Library For Advanced String Manipulation?

May 29, 2009

I really like the string.Format() method and the StringBuilder class in C# quite a bit.

I sucks AS3 isn't as robust (yet, hopefully) with regard to string manipulation.[code]...

So, are there any open source libraries for AS3 that include this kind of functionality (and more, hopefully)?

Currently, in order to have the same result in AS3 would take a lot more code.

I hate relying on C# and other languages to do more formatting and such than they really should when generating XML files and stuff like that.

View 5 Replies

ActionScript 2.0 :: Multiple Sound Objects Manipulation?

Aug 24, 2004

i have a problem manipulating multiple sound objects in MX. i have a main background loop object and a button rollover object (which plays on specific buttons). i then have a volume slider which will set the volume of only the main bg loop object. but when i tested it, it seems that the volume of the button rollover object is also the same with the main bg loop object's volume. meaning, if my main bg loop's volume is down to 50, the button rollover sound volume is also 50.

here're my codes:
//code on 1st frame
mainLoop = new Sound();
mainLoop.attachSound("mainLoop");

[code]...

View 3 Replies

ActionScript 3.0 :: Color Manipulation Class Of A Series Of Objects

May 1, 2009

I am trying to make a class that will allow me to manipulate the color of a series of objects and I�ve gotten this far with ColorMod.as which does this manually. I would like to be able to somehow generate a series of ColorTransform objects such that I can manipulate their parameters (particularly redOffset, greenOffset and blueOffset) while I am generating them, and then push them into an array that can be accessed by another class. I can do this manually as per the code below, but I would like to be able to do it using a for loop as per the pseudocode I put in the constructor below.

[Code]...

View 2 Replies

ActionScript 3.0 :: Audio Manipulation Reading Values In The Sound

Feb 14, 2010

As I've searched a lot and couldn't find it I thought of asking it here. Is there any good package or tutorial on Audio Manipulation? With this I'm not talking about play/stop/volume etc, but more on bitrate/speed manipulation etc. Or reading values in the sound (like an EQ does basically).

View 2 Replies

ActionScript 3.0 :: Simple To Translation Display List Manipulation?

Nov 4, 2011

translate this piece of code to AS2? Don't ask why

var pictureIndex:int = 0;
var pictures:Array = [];
mc_animation.gotoAndStop(1);
mc_animation.visible = false;
mc_animation.addEventListener(Event.COMPLETE, animationCompleteHandler);

[Code]...

View 3 Replies

ActionScript 3.0 :: Display List Manipulation Ready After AddChild()?

Feb 1, 2011

I consistently seem to run into an issue. When I addChild(mc), features and assets that need to be rendered on the display list, are not available immediately for actionscript access. For example, the use of MovieClip(root) and alpha manipulation (right? or not?) of the movieclip being added (or of it's children) does not seem to be available immediately. So, I have tried the following, which didn't seem to work either, but maybe it's correct and I had a complicating issue?

Let me know the "proper" way to know that a movieclip has been rendered so that I can access features requiring the asset to be on the display list? What I've tried is below:

var mc:MyMovieClipClass = new MyMovieClipClass():
this.addChild(mc);
this.addEventListener(Event.ADDED,mcReady);

[Code].....

View 0 Replies

ActionScript 2.0 :: Picture Manipulation - Change Levels Of A Jpg Using Flash?

Oct 25, 2003

is there a way to change levels of a jpg using actionscript in flash ?

View 3 Replies

ActionScript 2.0 :: Advanced Colour Manipulation - Add Two Colours Together Like Paint

Jun 6, 2006

I know how to manipulate hex colours by splitting the num bers up and perfoming calcutaions on them using bit-operators. Thats fine... but i now need to manipulate colour not using the normal RGB. I need to be able to add two colours together like paint. E.g. red and blue equals purple, yellow and blue equals green. Has anyon e had any experience with this and even more importantly can it be done? (i assume it can... nothings impossible)

View 14 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved