|
User Details |
message
|
|
David Wright
post date:
2011-03-02 04:55:49
|
Er just bought this and ran it up. It works as a preview, not when played inside flash, and when I export preview I get 2 errors relating to
1000: Ambiguous reference to plane.
the file prior to installing and adding text fx works fine...
I dont know code ( thats why I bought the plug in) but have attached an extract in case someone know what this is talking about. Unfortunately I have a deadline today ( tonight here) so unless someone knows what to do I cant use this product.
Anyway - thanks in advance to anyone with any ideas.
Cheers
David
public function Plane(width_ : Number, height_ : Number, animatedMaterial_ : Boolean = false, material_ : Sprite = null, segmentsW_ : Number = 15, segmentsH_ : Number = 15, transparent_ : Boolean = false, materialSmooth_ : Boolean = false, materialTwoSided_ : Boolean = true) {
super(animatedMaterial_);
if (material_.width <= 0 || material_.height <= 0){
material_ = null;
Debugger.warning( Plane, " You cannot have a material with width or height == 0. Default (WireframeMaterial) is taken");
}
if (material_ == null){
// if material parameter is null set the default material - black wireframe.
_material.addMaterial(new WireframeMaterial(0x000000, 1), "material");
}else{
// if material parameter not null set the specified material.
_material.addMaterial(new PreciseMovieMaterial(material_, transparent_, animatedMaterial_), "material");
}
// set the material texture smoothnes to user's choice
_material.getMaterialByName("material").smooth = materialSmooth_;
// set material as two or one sided
_material.getMaterialByName("material").doubleSided = materialTwoSided_;
// set the plane width
_xsize = width_;
// set the plane height
_ysize = height_;
// set the plane depth
_zsize = 1;
// set the default scale of the plane
_xscale = 1;
_yscale = 1;
_zscale = 1;
// create papervision Plane
_papervisionObject = new org.papervision3d.objects.Plane(_material.getMaterialByName("material"), _xsize, _ysize, segmentsW_, segmentsH_);
// position the plane to top left coordinates
this.x = 0;
this.y = 0;
}
public function updateBitmapMaterial() : void {
try {
MovieMaterial(_material.getMaterialByName("material")).updateBitmap();
}catch(e : Error) {
Debugger.warning( Plane, "Unable to update bitmap material.");
}
}
override public function destructor() : void {
if (_material.getMaterialByName("material") != null){
PreciseMovieMaterial(_material.getMaterialByName("material")).animated = false;
}
super.destructor();
|
|
|
David Wright
post date:
2011-03-02 05:22:33
|
Have spent hours testing and have come up with the fact that it breaks after I add a camera depth effect. It does not go away after I say "bugger " and change it to something else. I have to delete all layers and the text fx layer to get it to go away.
As it was specifically the camera depth effect I bought it for, any prompt suggestions would be very very welcome.
|
|
|
Andrei Rinciog [Extend Studio]
post date:
2011-03-02 10:10:46
|
Hello David,
What version of Flash do you use and do you have other components that might use Papervision3D installed?
Regards,
Andrei Rinciog
|
|
|
David Wright
post date:
2011-03-02 16:08:32
|
Hi Andrei,
never used any other components. Its just a couple of pngs moving about with your text. I have not seen papervision installed nor know what it is, and have never done any other projects on this installation. Its the first project.
I am on win7 64
after the probelm, I retro installed the v1 and was going to go back to in actionscipt levels for this and other reasons I was thinking about, but I could not see V1 as selectable options after install. Do they hide somewhere different than v2?
Cheers
David
|
|
|
Andrei Rinciog [Extend Studio]
post date:
2011-03-03 06:13:11
|
Hello David,
TextFX v1 is an ActionScript 2 component and it can be found only in ActionScript 2 documents. However, you haven't specified your Flash version. TextFX v1 is not compatible with Flash CS 4 and CS 5.
Do you think you can send me a test FLA to check if it's working on my computer?
Regards,
Andrei Rinciog
|
|
|
David Wright
post date:
2011-03-03 06:20:44
|
can do - where do I send?
CS5 sorry
|
|
|
Andrei Rinciog [Extend Studio]
post date:
2011-03-03 06:47:43
|
Hello,
Sorry, forgot to write the email: support at extendstudio.com.
Regards,
Andrei Rinciog
|
|