The Enchanted Cave 2
Delve into a strange cave with a seemingly endless supply of treasure, strategically choos
4.38 / 5.00 36,385 ViewsGhostbusters B.I.P.
COMPLETE edition of the interactive "choose next panel" comic
4.07 / 5.00 13,902 ViewsAlright, so I've tried a lot and my stupid vcam won't work...it is the same problem as everyone else, except I copied it right, and I also tried it in other movies and it still works. So what I have in right now is :
function camControl():Void {
parentColor.setTransform(camColor.getTransfor m());
var scaleX:Number = sX/this._width;
var scaleY:Number = sY/this._height;
_parent._x = cX-(this._x*scaleX);
_parent._y = cY-(this._y*scaleY);
_parent._xscale = 100*scaleX;
_parent._yscale = 100*scaleY;
}
function resetStage():Void {
var resetTrans:Object = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0};
parentColor.setTransform(resetTrans);
_parent._xscale = 100;
_parent._yscale = 100;
_parent._x = 0;
_parent._y = 0;
}
this._visible = true;
var oldMode:String = Stage.scaleMode;
Stage.scaleMode = "exactFit";
var cX:Number = Stage.width/2;
var cY:Number = Stage.height/2;
var sX:Number = Stage.width;
var sY:Number = Stage.height;
Stage.scaleMode = oldMode;
// create color instances for color
// transforms (if any).
var camColor:Color = new Color(this);
var parentColor:Color = new Color(_parent);
// Make the stage move so that the
// v-cam is centered on the
// viewport every frame
this.onEnterFrame = camControl;
// Make an explicit call to the camControl
// function to make sure it also runs on the
// first frame.
camControl();
// If the v-cam is ever removed (unloaded)
// the stage, return the stage to the default
// settings.
this.onUnload = resetStage;
while the output is:
**Error** Symbol=AG - flashcam_, layer=Layer 2, frame=1:Line 1: '{' expected
function camControl():Void {
**Error** Symbol=AG - flashcam_, layer=Layer 2, frame=1:Line 9: Unexpected '}' encountered
}
Total ActionScript Errors: 2 Reported Errors: 2
Yet this time I copied it down right and it works everywhere else...PM me and I'll send you the swf if you would like to see the problem
MY E-PENIS IS BIGGER THAN YOURS
8=================================>
...and this is my fag...
Please someone help me with this problem
MY E-PENIS IS BIGGER THAN YOURS
8=================================>
...and this is my fag...
whats actally not working wth it, is it just not working at all?
Yes, thats it, it wont work ...at all... All I can do is see it, but it wont work.
MY E-PENIS IS BIGGER THAN YOURS
8=================================>
...and this is my fag...
Never mind I got it to wrk now I think, if not I'll post more
MY E-PENIS IS BIGGER THAN YOURS
8=================================>
...and this is my fag...
At 12/1/06 11:45 PM, fuhQ2 wrote: **Error** Symbol=AG - flashcam_, layer=Layer 2, frame=1:Line 1: '{' expected
function camControl():Void {
Try losing the space between the Void and the {. I dunno; that's all I can think of right now.
Never-mind again...I'm so sorry for posting again. So its the same problem still...
MY E-PENIS IS BIGGER THAN YOURS
8=================================>
...and this is my fag...
I just cut/pasted it into flash and came up with a few errors... the problem in mine was this line..
parentColor.setTransform(camColor.getTransfor m());
The space between the r and m..
I got rid of the space and no errors were generated.
Perpetually looking for time to return to the arts.
Weird that in my script that there is absolutely no gap between the r and the m. There is still the same problem then, so what else could it be?
Just PM me and i'll send it to you
MY E-PENIS IS BIGGER THAN YOURS
8=================================>
...and this is my fag...
dont know if you fixed it or not but it looks like you last paragraph is different then what i use.
if you havent fixed it try this:
function camControl():Void {
parentColor.setTransform(camColor.getTransfor m());
var scaleX:Number = sX/this._width;
var scaleY:Number = sY/this._height;
_parent._x = cX-(this._x*scaleX);
_parent._y = cY-(this._y*scaleY);
_parent._xscale = 100*scaleX;
_parent._yscale = 100*scaleY;
}
function resetStage():Void {
var resetTrans:Object = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0};
parentColor.setTransform(resetTrans);
_parent._xscale = 100;
_parent._yscale = 100;
_parent._x = 0;
_parent._y = 0;
}
// make frame invisible
this._visible = false;
// Capture stage parameters
var oldMode:String = Stage.scaleMode;
Stage.scaleMode = "exactFit";
var cX:Number = Stage.width/2;
var cY:Number = Stage.height/2;
var sX:Number = Stage.width;
var sY:Number = Stage.height;
Stage.scaleMode = oldMode;
// create color instances for color
// transforms (if any).
var camColor:Color = new Color(this);
var parentColor:Color = new Color(_parent);
// Make the stage move so that the
// v-cam is centered on the
// viewport every frame
this.onEnterFrame = camControl;
// Make an explicit call to the camControl
// function to make sure it also runs on the
// first frame.
camControl();
// If the v-cam is ever removed (unloaded)
// the stage, return the stage to the default
// settings.
this.onUnload = resetStage;
^^^^ thats the code that i got and it seems to work fine.
Evil spelled backwards is Live and we all want to do that now don't we.
Deny the big lie, don't beLIEve and don't conform.
Nope, the exact same problem...its the firs trparagraph thats the problem...
MY E-PENIS IS BIGGER THAN YOURS
8=================================>
...and this is my fag...
MY E-PENIS IS BIGGER THAN YOURS
8=================================>
...and this is my fag...
just google it and download a v-cam.fla and look at their code! (for the noob way)
I use
function camControl():Void {
parentColor.setTransform(camColor.getTransfor m());
var scaleX:Number = sX/this._width;
var scaleY:Number = sY/this._height;
_parent._x = cX-(this._x*scaleX);
_parent._y = cY-(this._y*scaleY);
_parent._xscale = 100*scaleX;
_parent._yscale = 100*scaleY;
}
function resetStage():Void {
var resetTrans:Object = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0};
parentColor.setTransform(resetTrans);
_parent._xscale = 100;
_parent._yscale = 100;
_parent._x = 0;
_parent._y = 0;
}
// make frame invisible
this._visible = false;
// Capture stage parameters
var oldMode:String = Stage.scaleMode;
Stage.scaleMode = "exactFit";
var cX:Number = Stage.width/2;
var cY:Number = Stage.height/2;
var sX:Number = Stage.width;
var sY:Number = Stage.height;
Stage.scaleMode = oldMode;
// create color instances for color
// transforms (if any).
var camColor:Color = new Color(this);
var parentColor:Color = new Color(_parent);
// Make the stage move so that the
// v-cam is centered on the
// viewport every frame
this.onEnterFrame = camControl;
// Make an explicit call to the camControl
// function to make sure it also runs on the
// first frame.
camControl();
// If the v-cam is ever removed (unloaded)
// the stage, return the stage to the default
// settings.
this.onUnload = resetStage;
I dunno, I tried yours but it works for me..
Johnny already helped you there is a space in the word getTransform lose the space and it works
I already did that, the space for some reason just shows up. But other than that, it works in all videos except for this stupid one
MY E-PENIS IS BIGGER THAN YOURS
8=================================>
...and this is my fag...
I have run into the same error that you have with error messages on line 1 and 9 when copy and pasting directly from one file to an existing file that I've been working on for a while. However when I uploaded the vCam movie clip into a new file first and then copy and pasted all my previous work into the new file as well, for whatever reason, it worked.
Perhaps you've already figured this out.
It seems to just be one of those little glitchy things about Flash.
Hope this helps,
Brent
Here's an additional observation. The Vcam doesn't work when player settings are set at version 5 or earlier. This is also frustrating, because to export a file to Quicktime, the settings must be set at version 5 for playback and conversion in Quicktime. I've noticed that Adam Phillips uses a different video conversion software that converts directly from swf files thus having to worry about the quicktime conversion problem. I don't remember the name of program.
There's my two bits.
Brent