Page 1 of 1

About flash 9

Posted: Wed Jan 16, 2008 02:34
by hierro
Hey guys, does anyboy could use flash 9 inside resolume ? i mean actirocripting 3 ?
I've read a thread about addressing the vars, in flash 8 the rparameter where on root, in actionscript 3 variables must be declared to uese into classes and cannot be retrieved from exetrnaleinterface, how are rparameter passed to swf player ?

thank u in advance :)

Posted: Fri Jan 18, 2008 12:22
by sikanda
what i know flash is inported over quicktime and so support is only till flash 6.
sorry no actionscript3 - i would love it too.
if i am wrong i am curious about news.

mmmhh

Posted: Fri Jan 18, 2008 13:37
by hierro
Well, i don't know exactly how resolume uses flash player, anycase i imported and used flash8 using actionscript 2...therefore i think that resolume uses activX or sas player, so if u got player 9 so u can run flash 9....two reflections about it :

1) resolume is not stable using scripting, igot several crashes doing just simple, btu continuous, operations

2) in actionScript 3 is not possible to reference a root.variable like resolume instantiate in flash

But more then this, could please a resolume developer just make it clear ? i think who rote the code knows hoe to do or not do to :)

Bye all and thanks for interest.

P.S.: i VJ since a long time and i think what resolume just miss, custom visualizers, like freeframe support opened a new world, the chance to have custom visualizers will be a next step, and i can write it using actionscript3, let us know :)

Re: About flash 9

Posted: Wed Apr 23, 2008 19:25
by fuglypencil
Hi there,

First: R3 looks amazing and im looking foward to it.

The main reason that ive chosen resolume was the Flash AudioVar feature. The thought of creating my own nonlinear programmed visuals, controlled with midi, just blew my mind.
At the moment im learning AS3 as much as i can because of the great new features, and the huge performence boost. Im trying to catch the AudioVars from the "root", which doesnt exist anymore but im working on a script to do this anyway. which looks like this:
package {
import flash.display.Sprite;
import flash.events.Event;

public class getVars extends Sprite {
private var ball:Sprite;
public var RAudioRight8:Number;
public function getVars() {
init();
}
private function init():void {
ball = new Sprite();
addChild(ball);
ball.graphics.beginFill(0xff0000);
ball.graphics.drawCircle(0, 0, 40);
ball.x = 20;
ball.y = stage.stageHeight / 2;
ball.addEventListener(Event.ENTER_FRAME, onEnterFrame);
}
private function onEnterFrame(event:Event):void {
RAudioRight8 = root.loaderInfo.parameters.RAudioRight8;
ball.x = RAudioRight8;
}
}
}
RAudioRight8 = root.loaderInfo.parameters.RAudioRight8;
<-this is the part of interest.

Found this line of code in a Forum were people tried to reach _root Variables through php, i dont have a clue if this works with php, but it def doesnt work with Resolume. :°(

So now im here, hoping that someone has already found a solution for AS3 in Resolume and of course to ask if Resolume 3 will be able to send the audioVars to Flash AS3 Files.

I cant go back to AS2, going back and foward is to confusing.
So if someone could atleast confirm that the Flash features of Resolume 2 will work in Resolume 3 with AS3,then i could start programming on some stuff.
This wont make the waiting easier, lots of visuals created, no way to test them. But the release day will be a lot of fun ;D

Re: About flash 9

Posted: Tue May 13, 2008 13:49
by DB
Hope this helps somewhat

In Flash 8 the variables are case sensitive

RAudioRight8 is actually raudioright8 etc.

Might help in Flash9 but I had no luck

on this thread http://www.resolume.com/forum/viewtopic ... tionscript

Bart says
I,m sorry to hear that AS3 is not able to receive variables from Resolume, we will have a look at it and make sure it's fixed in our next major release (version 3). Note that this is not going to be next week or next month so until then you,ll have to use AS2.
If you get any further with Flash9 please post back here.

Good luck