ActionScript 3.0 :: Flash - Create A Reflection With Starling Framework And Starling Particles Effects?

Dec 14, 2011

Any know any hints how to create a reflection of an object via starling framework?

View 1 Replies


Similar Posts:


Flash - Making Starling FrameWork To Work With Classes That Uses Native DisplayObject?

Dec 6, 2011

I'm trying to use Greensock LoaderMax on a Starling Framework project, but since Starling have a lots of its own class, how I can make it work with other classes that is using the native class?

Exp:

package
{
import flash.display.Sprite;
import flash.events.Event;

[code]....

will return the error:

Error: Implicit coercion of a value of type com.greensock.loading.display:ContentDisplay to an unrelated type starling.display:DisplayObject.

View 2 Replies

Actionscript 3 :: Monster Debuger In Starling FrameWork

Nov 8, 2011

As flash professional does not have support of flash player 11 while testing project with ctrl+Enter, I can only test flash projects in browser so I cann't use trace to check things working, and I can't event integrate monster debugger in starling object, it does not trace anything. Does someone have solution for this, I mean how can I test flash project in browser?

View 3 Replies

Actionscript 3 :: Flash Starling Dispatching Events?

Nov 7, 2011

is it possible to send data to starling object after var mStarling:Starling = new Starling(StarlingClass, stage); or maybe dispatching event from main class and then listening event in starling class.

View 2 Replies

Professional :: Starling Or Stage3D For Android And IOS?

Jan 23, 2012

Does Stage3D work on mobile devices? If so - then HOW? I have worked through several tutorials, downloaded SDKs, added tweaky complier directives to profiles and wonked XML files till I am REMOVED blue in the face. I have had success making web based SWFs (from the afore mentioned tutorials) in Flash & Flash Builder - but no luck getting Stage3D to run in an Android Air App. Is there any way to use Stage3D (preferably also Starling) in a Mobile APP? It could be from Flash 5.5 or Flash Builder.

View 1 Replies

Flex :: Create Particles Structure From Text?

Apr 11, 2010

I want to take any Text sting and form from it text formed by particles in actionscript 3 (In flash flex) I see I need some lib for this. but all libs Ive seen do not have such functionalyty by default...

So I want to get something like this

So Is there any sych lib? or way of doing it with some lib?

It should be Free and Opensource (any license like GPL, LGPL etc will be ok).

View 2 Replies

ActionScript 2.0 :: Create A Scroller With Reflection?

Dec 27, 2006

i'm trying to create a "reflection" to scrolling text.i'm using a nice little scroller code that works very well on it's own. i thought just duplicating the movie clip and mirroring it would do the trick, but instead only the "reflection" bit is moving up and down, the rest of the items stay put.

i thought it might be a matter of changing instance names, but then the "reflection" is the same object, just mirrored vertically, so i'm not sure how one should go about doing this...i'm attaching both the FLA and SWF files...

View 3 Replies

ActionScript 3.0 :: Added A Reflection Class But Can't See Any Reflection

Mar 6, 2009

i've added this reflection class [URL] to this simple .fla file, but i can't see any reflection [URL]

View 2 Replies

ActionScript 3.0 :: Create An Interactive Music Video In After Effects And Flash?

Jul 10, 2010

I am trying to create an interactive music video in After Effects and Flash. The concept is that while the music video is taking place the user can  decorate the hair of the woman with any of the objects they select. There will be predetermined animations and destination spots but the  user can choose whatever objects they select to be delivered to the  predetermined spot.  I need to figure out how to let the user to select  an object that will become part of the animation.  I created a PDF  Roughly explaining what I am trying to do.  If anyone can help me I'd be  very grateful as I am more versed in After Effects, I don't know  ActionScript well enough to execute what I am trying to do.

Below is a rough example of what I am trying to do.  There will be a music video of an animated woman singing.  As she is singing the user will be able to click any of the objects , below the numbers 1-10.  Below it is illustrated that the user wants to press the blue number 2.  If the user presses the 2 the 2 will animate in the mouth of a bird to a predetermined pre-animated spot.  I assume I need to send a movieclip to a blank  holder on the timeline and use a gotoAndPlay() action ??? 

[Code]...

View 4 Replies

ActionScript 2.0 :: Create An Interactive Music Video In After Effects And Flash?

Jun 25, 2009

I am trying to create an interactive music video in After Effects and Flash.The concept is that while the music video is taking place the user can decorate the hair of the woman with any of the objects they select. There will be predetermined animations and destination spots but the user can choose whatever objects they select to be delivered to the predetermined spot. I need to figure out how to let the user to select an object that will become part of the animation.

View 1 Replies

ActionScript 2.0 :: Create Falling Snow For Flying Pollen But I Can't Make The Particles Move Horizontally?

May 29, 2010

I'm using the tutorial to create falling snow for flying pollen but I can't make the particles move horizontally. They go straight on from the bottom to the top of the stage.This is the code:

onClipEvent (load) {
//specifies the size of the movie stage
movieWidth = 900;[code]......

View 2 Replies

ActionScript 3.0 :: How To Create 3D Effects

Jan 17, 2009

I have been working on ActionScript 2.0 for last one year...i am also new for programming, actionscript is the first language that i have learnt....i used to write the codes on the object directly and sometimes on the frame but i never used class in as 2.0.basically i am a mathematician, only because of being mathematician my boss allowed me to do r&d on as. Now i am working on some projects in which i want to create 3D effects(3D grapher, rotate, zoom in, zoom out)..i want to start working on as3.0..

View 3 Replies

IDE :: Create The Intro With After Effects?

Apr 18, 2010

In this website there's an intro. Now, the website is about a lingerie company here in Italy...so it's like a based fashion website. I'm going to create the intro with after effects...what do you think about this? How do you create your intros? With after effects? do you have some fashion website link with an intro?

View 6 Replies

ActionScript 3.0 :: Flash Add Particles Per Second?

Nov 14, 2010

How can I rig up an if statement that will add particles to the stage based on the ENTER_FRAME update interval?

Code:
stage.frameRate = 60;
var currentParticles:uint = 0;
var maxParticles:uint = 1000;
var particlesPerSecond:uint = 100;

[Code]...

I run into the problem, where if I choose a bigger value for particlesPerSecond than the stage framerate, I don't add the correct number of particles.

View 7 Replies

ActionScript 2.0 :: Way To Create Text Effects Like Arc In / Arc Out / Blend / Bridge Over

Jan 9, 2009

Is there any way to create text effects like arc in, arc out, blend, bridge over etc as in th powerpoint, photoshop text effects in actionscript.I created arc and circle text.I need for blend and waving text effects.

View 7 Replies

ActionScript 2.0 :: Create Some Letter Effects Like Waves / Cascades / Ripple

Jun 5, 2007

I'm trying to create some letter effects like waves, cascades, ripple etc.I saw these effects years ago in the old Flash MX/AS1 but I need to create them in AS2.

View 1 Replies

Actionscript :: Redraw Hundreds Of Particles In Flash?

May 17, 2011

I am just starting to learn flash/actionscript 3 and decided to code up a simple particle simulator.The very initial design simply involves filling the screen with a buncha particles which scatter away from the cursor if you were to click.This works, but is a bit unresponsive. I am using graphics.drawCircle() to draw the particles, and each particle is inherited from Sprite.

Listener for mouseclick event:

private function mouseClick(e:MouseEvent):void
{
trace("click");
var now:Date = new Date();
trace("Before: "+now.getTime());

[code]....

How should I make this more efficient? I plan on doing collision detection and other physics interactions later, and this is already a bit slow even without the hefty number crunching code I intend to add later.

View 2 Replies

Flash :: Reflection Of A Point Over A Line?

Aug 4, 2011

I have been looking at how to reflect a point in a line, and found this question which seems to do the trick, giving this formula to calculate the reflected point:

Given (x,y) and a line y = ax + c we want the point (x', y') reflected on the line.

Set d:= (x + (y - c)*a)/(1 + a^2)
Then x' = 2*d - x
and y' = 2*d*a - y + 2c

However there are two problems with this implementation for my needs:

My line is not described in the form y = ax + c (so I'd have to translate it, which is easy to do, but it means the process is slower). What if a is infinity ie. a vertical line?

Is there a simple way to calculate (x', y'), the reflection of point (x, y) in a line, where the line is described by the two points (x1, y1) and (x2, y2)?

Edit:

I've found a formula which does this, but it seems as though it does not work with lines that look like they have equation y = x.

Here it is in actionscript:

public static function reflect(p:Point, l:Line):Point
{
// (l.sx, l.sy) = start of line

[Code]....

View 2 Replies

ActionScript 3.0 :: Flash Vector-letters As Particles To Spell A Phrase?

Sep 13, 2010

I want to create a particle system that spews into the air multiple copies of letters that eventually spell out a phrase.Since the final file will involve hitTestObject collisions, I think I'd need, as a first step, 10 non-dynamic MCs to create my phrase... loaded into, I'm guessing, an array? Something like: target_mc = ["H", "E", "L", "O", etc.]; Then, as a second step, I need a spewing mechanism, built around(?): addEventListener(Event.ENTER_FRAME,myFunction);

View 4 Replies

ActionScript 3 :: Flash - Reflection On Static Members?

Apr 3, 2011

Is there a way to "reflect on" static members of an ActionScript object (get all the static properties/methods of that type programmatically)?

Why is that flash.utils.describeType(*) can only show non-static members?

View 1 Replies

Flash :: Find Radians Reflection Angle?

Apr 29, 2011

What I've done so far is using your mouse you (click & release) you shoot a ball off in that direction using radians. Now what I'd like to happen is when the ball hits the wall it bounces off in it's reflection angle. Eg. if the ball hits the right-hand-side wall travelling at in a radians of -0.65 it should bounce back in the radians of about -2.5

View 3 Replies

Flash :: Reflection Bitmap Not Loading On Page?

Nov 20, 2011

I have a image loaded in a sprite, the image is from a remote location [URL]. Once the image is loaded in the Loader Object i then want to create a reflection of the sprite that contains the image. Now this works when i run the application in flash IDE but when i embed this flash application inside a HTML page the reflection images do not work. Why is this, the code is below.

////////////////////////////////////////////
// Project: Flash 10 Coverflow
// Date: 10/3/09
// Author: Stephen Weber
////////////////////////////////////////////

[Code]....

View 1 Replies

ActionScript 3.0 :: Flash Real Time Refraction And Reflection Of Light

Nov 3, 2010

I'm attempting to code a system to handle real-time refraction and reflection of light in 2 dimensions (on an x, y Cartesian plane, basically) and I'm hitting my head against the wall even figuring out where to start on this. My concept for how this should behave goes like this: There is an object that shoots a ray of light (a laser beam or something) toward a target object. When the ray intersects with the surface of the target, somehow I need to find the normal vector to the surface of the shape at the point of intersection and apply some equations from first year physics to alter the path of the ray appropriately. The same refraction effect takes place as the ray exits the object. At the moment, I'm grasping for straws. I'm not even sure what kinds of objects exist in Flash's libraries that will work for me with this. The existing libraries for shapes won't let me create lenses like I want to, and I'm not sure what I'll need to make for an adequate "light" projectile or line to take on this behaviour.

View 11 Replies

ActionScript 2.0 :: Particles Cause Lag?

Apr 22, 2011

I've made it so when you die in my game, you explode into 20 particles which usually lags the game, especially if it's being played in a browser. I'm pretty sure that it's just because of the graphics,why it's causing so much lag? I've included the AS2 just encase.

Code:
//variables
fall = -8;

onEnterFrame = function () {[code]...

View 2 Replies

Is The Framework AMFPHP A Bridge Between Flash And PHP

Nov 24, 2009

connectivity of data using AMFPHP between the flash frontend and the mysql database?

View 2 Replies

Flash :: Use Parsley Framework For Application?

Nov 22, 2011

I am trying to use Parsley Framework for my application. I am using Flex 3.

I have included the following two libraries as Referenced Libraries :

parsley-flex3-2.4.1.swc
spicelib-flex2-2.4.0.swc

But it is showing me the following error.

[Code]...

View 2 Replies

Pushing Particles Away From The Mouse?

Feb 9, 2010

I've been working on a little particle generator that produces intractable particles. When you click your mouse, they will move in a straight line away from where you clicked. Seems simple enough, but I can't quite get the formula right.

I want to pass two points and a magnitude scalar value into a function and have it move the particle along the line drawn through the two points, and only as far as the magnitude specifics.

For example:Let's say the particle is at the point P(10,10) and the mouse clicks at the point Q(15,15). I pass both those points and the magnitude 10, into my function.

The function then calculates the angle the particle should travel (45 degrees or PI/4 radians) and sends the particle to the point O(20,20), again, as specified by a magnitude of 10.

Edit: By the way, I'm using ActionScript 3.0, but if possible I would prefer a universal explanation in case I decide to program this in another language, or I am without a programming language when I need to figure it out.

View 3 Replies

Flash :: Recompile Flex 4 Framework RSLs?

Jul 11, 2010

Does anyone know how to recompile Adobe Flex 4 framework RSLs?

I'm using the compiler directive -dump-config to get the build config file that the FlashBuilder IDE is using for compiling my application. I then pass that config file into the mxmlc compiler so I can build from the command-line. The results of the command-line build are output to a folder other than bin-debug. bin-debug is a localtrust path, and it will an application will run from there without error. A Flash application in any other path requires configuring the Flash Player to trust that path OR that the compile be done with the -use-network=false directive. I prefer latter since I'll be distributing the results to lay users for evaluation, and I don't want to request that they modify Flash Player security settings.

The build config file doesn't specify that framework RSLs be rebuilt using the -use-network false directive. FlashBuilder itself doesn't even compile framework RSLs. It merely copies RSL swfs from the framework directory into the bin-debug. Those swfs apparently were compiled by Adobe with the default -use-network=true.

View 2 Replies

Flash :: Use The Code Found In The OSM Framework In Flex?

Aug 10, 2010

Are there any examples on how to use the code found in the OSM framework in Flex? I would also need the player to be skinnable .

View 1 Replies

Flash :: Generate A .swf File Using Cairngorm Framework?

Oct 18, 2010

[URL] Looks like MVC to me,but I'm not sure if that's the exact framework used. UPDATE Now I know it's using the Cairngorm framework,and I've downloaded all the source files,how can I generate a .swf file? UPDATE 2 How can I know the exact version of Cairngorm used?

View 3 Replies







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