Actionscript 3 :: Flex Shader Effects: Render One Object Into Another?

Nov 12, 2010

I want to make such effect: draggable semi-transparent object (let's call it 'plastic strip') over window with arbitrary objects. Plastic strip should be turbid, i.e. it blurs content under it (not blurred itself). What's the best way to do that with PixelBender shader on Flex?

View 1 Replies


Similar Posts:


Flash :: In An AGAL Vertex Shader, What Is The 'w' Component Used For In The Output Shader

Dec 29, 2011

I understand the 'xyz' components of a vertex's position, but what does 'w' do? Could it be left as the same constant value all the time?

Example:

mov op.xyz, va0.xyz
mov op.w vc0.w

View 1 Replies

ActionScript 3.0 :: Render The RSS Feeds On A Page Using 3D Effects?

Sep 4, 2009

I want to render the RSS feeds on a page using 3D effects. How can I use Flash Player 10 for that? I want to render feeds exactly following way :

This is very far feed
This feeds is a bit far.
This is the nearest feed.
This is not too far.
This is too far

View 1 Replies

Actionscript 3 :: Free Particle Engines That Can Render Effects Such As Smoke, Fire, Water Ripples, Waterfalls And More?

Jul 11, 2011

I'm looking for a free AS3 particle engine that can render effects such as smoke, fire, water ripples, waterfalls and more. I need something robust like Partigen 2.5, only available without licensing.So far I've found:

Flint Particle System

Stardust Particle Engine

View 2 Replies

ActionScript 3.0 :: 3D Display Object Will Not Render?

Jul 13, 2011

I keep this warning Warning: 3D DisplayObject will not render. Its dimensions (8192, 3172) are too large to be drawn. However the object is drawn perfectly. So should I worry about this or should I be trying to use scrollrect or masking to remove the warning?

View 1 Replies

Effects - Parent One Object To Another?

Oct 21, 2010

I'm coming to Flash from a mixed graphic design / 3D animation / motion graphics background. In any of the animation programs I've used before, including After Effects, parenting is a simple operation. ...But it seems that in flash, it's more complex. So far, I am beginning to understand that it has to do with nested scenes, or nested time lines (which may be the same thing?)... So my question is... What is the easiest way to parent one object to another?

View 5 Replies

Html :: If An <object> Plugin Fails (ie Flash) Have It Render Some Other Content?

Jul 26, 2010

I have a flash header that I show on one of my customers sites, but instead of creating an entire new website for non-flash, is there a way I can have it render a static image version of the header instead of either redirecting or just not rendering the flash content at all (ie with a FAIL message)?

View 2 Replies

Flash :: AS3 Markup Languages - Load A Template From A String, And Then Render It As A Display Object?

Feb 11, 2011

What options exist for rendering markup in Actionscript? I am looking for something I can use to write templates for menus, tooltips, and other display/frontend stuff in a Flash application. I want to be able to load a template from a string, and then render it as a display object. The kinds of things that would go inside would include text, with possible font styles, text positioning, and images.

View 3 Replies

Actionscript 3 :: Detect When The Shader Is Done Mixing The Audio?

Jun 10, 2011

so this the code with it i am able to mix several trackswith a Shader done in pixel bender.the problem here i don't know when the mixing is finish or all the sound reache their endto be able to save the bytearray into a file any Event or something like that

package
{
import flash.display.*;

[code].....

View 1 Replies

Flash :: Morphing In MoleHill Using A Vertex Shader?

Feb 5, 2012

Using the Molehill with Flash I wish to create a vertiex shader, to have one mesh transform into another, I have seen that it is possible with Flare, However I am unsure if that was using Stage3D, Can anyone give me any pointers in the use of shaders in AGAL as to how this might be done.

View 2 Replies

ActionScript 3.0 :: Applying Color Or Alpha Effects Object Order On Display?

Mar 6, 2012

I have a button I am creating from 2 movieclips in the library. One is the button body (shape converted to MC). The 2nd is a series of button logo PNG's for an additional visual button state change.I add the logo MC with addChild to the button body. Then I add the button body to display/stage container. ll is layered correctly.If I add alpha or transform the color to the button body, it goes to the top - covering the button logo.Not applying the color or alpha to the button body and applying a color or alpha to the button logo has not effect (displays correctly).

View 4 Replies

ActionScript 3.0 :: Write A Phong Shader For Molehill Project?

May 2, 2011

I've been struggling to write a Phong shader for my Molehill project. The problem is that the light seems to shift or move when the camera rotates. So I've been investigating what could possibly be wrong, by basically comparing my shader with the Phong shader written in GLSL. There's one thing I found that is kind of weird. In GLSL the output position in the vertex shader is ModelViewProjectionMatrix * Vertex, ok that is just fine.

HOWEVER, in Molehill the ModelViewProjectionMatrix has to be transposed so that it will render the vertex correctly to the screen. In GLSL that is not necessary.

How did I find that out? I created the Matrix3D modelViewProjection, I applied the ModelView to that matrix and then the Projection matrix. I tried to give the vertex shader that matrix and it displayed nothing until I transposed the modelViewProjection.

In GLSL this is not necessary, I could just say output.position = projection * modelview * vertex and it would be displayed correctly, I don't need to do transpose(projection * modelview * vertex).

So.. I'm wondering if there's something that I am not seeing here or is this a special part of Molehill that we just have to follow? Or could it be a bug in Molehill? I will create a new post tonight with my Phong shader and hope that someone sees what I may be doing wrong. But this is confusing me a lot at the moment and would like to know why the matrix has to be transposed.

View 1 Replies

ActionScript 3.0 :: 2D Lighting Shader - Making Stuff Near Player Visible

Oct 25, 2011

How would I go about making a 2d lighting shader, that only made the things near the player visible?

View 3 Replies

Flex :: Render TIFF Image In Flex?

Sep 15, 2009

I have TIFF images in the database, and I need to render them in Flex.

View 1 Replies

Actionscript 3 :: When To Render Legend In Flex

Nov 11, 2009

My Flex chart has code that creates a legend from each data series. Currently, I have the drawLegend function execute when a button is clicked.

I am trying to get the legend to draw automatically but I am having trouble determining when to call the drawLegend function. Users click on an 'Update' button which retrieves data. I want the legend to get created after this, without the users having to click on another button.

I have put my drawLegend function in several places (ResultHandler, afterEffectEnd(for chart animation, etc.) and nothing works.

Sometime after the series has been added to the chart and after the series animation ends, the legend can be added.

How can I trap this point in time and call my function?

Below is the code I used to create the legend. Note that even though the code processes each series, I noticed that the Fill color is null if it is called too early.

private function drawLegend(event:Event):void {
clearLegend();
// Use a counter for the series.

[Code]....

View 1 Replies

Flex :: Re-render ItemRenderer For A DropDownList?

Mar 2, 2011

I have created a custom ComboCheck which extends the spark DropDownList that is a DropDownList of checkboxes. Inside of my itemRenderer I have the code:

[Bindable]override public function set data (value:Object):void {
if (value!=null) {
_data = value;

[Code].....

This will also not cause the dropdownlist to reset to scrollPosition 0

View 3 Replies

Flex :: Render Html In 4 (web) Without An Iframe

Apr 12, 2011

I know this question was asked before, but none of the solutions work properly. How do I render a basic html in flex 4 without an iframe? I saw textarea renders some weird format that would suffice if it would work. For example I wan't to add an image like this

[Code]...

then 1. I press enter 2. I add the image again like above, I get the img tag inserted 10 times or so; which is weird (but not funny at all). All things being equal, html is a much normal approach, is there a basic renderer for flex 4 that works ok?

View 1 Replies

Flex :: Render Html In 4 (web) Without An Iframe?

Mar 16, 2007

How do I render a basic html in flex 4 without an iframe? I saw textarea renders some weird format that would suffice if it would work.For example I wan't to add an image like this

text_area.htmlText += "<img src='...' />";

then 1. I press enter 2. I add the image again like above, I get the img tag inserted 10 times or so; which is weird (but not funny at all). All things being equal, html is a much normal approach, is there a basic renderer for flex 4 that works ok?

View 3 Replies

Actionscript 3 :: Get Pixel Bender Shader 'inputSize' Parameter Working In Flash?

Jun 20, 2011

Here's a snippet of a pixel bender shader that I'm using in Flash:

parameter float2 srcSize
<
parameterType: "inputSize";
inputSizeName: "src";
>;
input image4 src;

The width and height of the source image are filled in correctly in the Pixel Bender Toolkit, but when I run this shader as a filter in Flash Player 10, the srcSize value is not automatically filled in.

View 2 Replies

ActionScript 3.0 :: How Does A Flex App Render Images In Order

Jul 14, 2009

Coming from a pure programming background where I have a render() and which image is drawn over which, is based on in the order of the drawn function of the image being called.

But after trying out Flex, I notice that Flex allows images to be created & drawn in the MXML file using the <image> tag and that I can also create and draw images in a AS class file link to that MXML file.

But it seems like any images created in the MXML file are drawn over the images created and drawn in my AS class file.

Is there a way to specify the draw order of the images?

View 3 Replies

Flex :: How To Render Component With Dynamic Visibility

Jul 29, 2009

I have a custom ActionScript component that I'm using in a Flex application (Flex 3.3, ActionScript 3). This component contains an Image control whose visibility is set dynamically based on a property of the data element provided to the component. The problem is that even when I set the image to be visible, it will not render onscreen. Is there something specific I need to do in order for the image to render? Snippets of relevant code below:

override public function set data( value:Object ):void {
_data = value;
if( _data ) {
if( _myImg ) {
_myImg.source = someImageClass;
[Code] .....

View 2 Replies

Flex :: Force All Controls To Render At Start?

Oct 4, 2009

When I try to access the hidden TABs of my tab navigator control in action script, it returns a null error. But it works OK if I just activate the control in the user interface once. Obviously the control is not created until I use it. How do I make all the tabs automatically created by default ?

View 2 Replies

Flex :: Flash Site Often Does Not Render Until Refresh

Apr 16, 2010

[URL]. Our client communicates with a Rails backend to get login details and then logs into an Adobe LCCS server. We have been cruising right along but around noon yesterday we developed a bug that causes the swf to not render until you refresh the page. On subsequent refreshes it pops up right away. The problem happened even when I disabled the code that checks in with the Rails server. How could refreshing make a difference?

View 1 Replies

Flex :: Event Triggered On Component Re-render?

Feb 10, 2011

What's the call analogous to creationComplete that happens every time a component is rendered? I want to rerun a function every time the component gets rendered (it has to make an HTTP request, but the url it calls changes each time) and I can't figure out how to do it.

For context:

<s:Group xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx" width="100%" height="100%"

[Code].....

View 3 Replies

Flex :: 4.5 - Assign A Item Render Dynamically?

Jan 13, 2012

I want to change a list's item render with code like this: booklist.itemRenderer = BookItemRender; BookItemRender is a subclass of s:ItemRenderer. It report error: 1067: Implicit coercion of a value of type Class to an unrelated type How to correctly specify a itemRender in code?

View 1 Replies

Actionscript 3 :: Flex: Render An Unrealized UIComponent To BitmapData?

Aug 21, 2009

What is the best way to render to a UIComponent which hasn't been added to the stage? (I'm using UIComponents as renderers for objects, and want to render new copies for image export, filtering, etc.) Two strategies I've seen/used so far include realizing the component to ensure it calls all the lifecycle methods: Add the component to Application.application, render with BitmapData.draw(), remove component. This is similar to what I've seen done for printing unrealized components as well. Add the component to a pop up window, render with BitmapData.draw(), dismiss popup after rendering complete. I believe both of these just rely on the UI not refreshing while the current thread/event is executing, though (1) could also rely on the component being realized out of view.

View 3 Replies

Flex :: Create A Simple Web Browser That Can Render Websites?

Apr 9, 2010

1) With these technologies is it possible to create a simple web browser that can render websites?

2) Is it possible to run these technologies on the server side? I am guessing no as Flash requires a browser to run within?

View 2 Replies

Flex :: Using An Image Item Render In A Data Grid

Jul 7, 2010

I'm attempting to add an image to a datagrid item render dynamically in flex. Here is my DataGrid code The value of "str" in the getImagePath function is correct.

[Code]....

View 1 Replies

Flex :: Display ArrayCollection In Group With An Item Render?

Jul 27, 2011

i got an Arraycollection which holds other arrays in it.i want to display the data inside with an item render but cant manage to do this
here is example code to explain my question

<s:DataGroup dataProvider="{news}"
itemRenderer="components.displaynews">

and this is the item render

<s:Label text="{data.??/}"/>

now what i dont understand is what comes after data? in the array collection the data goes like this : myArrayCollection->[0]->firstname

so when im binding data to item render,how do i represent the [x] to get to the specific name that i want? this obviusly wont work

<s:Label text="{data.[0].name/}"/>

and one more thing is what is the lightest way to display data in a listgroup with simple item render (image and text)

private function convertFBEventData2TreeData(eventData:Object):Object
{
var children:ArrayCollection = new ArrayCollection();[code].....

i dont know what to add after data, i tried many things but nothing work :

View 1 Replies

Flex :: Layout - Scroller Component Does Not Render Horizontal Scrollbar

Aug 30, 2010

I'm pretty sure my dynamic mxml layout must give me two scrollbars (horizontal and vertical) but it only shows vertical one.

<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="[URL]"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx" width="100%" height="100%" xmlns:local="*">
<fx:Script>
[Code] .....

View 2 Replies







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