Ask a Question related to Macromedia Director 3D, Design and Development.
-
AndrewNock #1
Grouping objects
Hey all, finally getting some movement on my crane, just having issues grouping
the objects and rotating them all etc... what am I doing wrong!
--------------------------------
global craneMove
global rotationValue
property gMainArm
on start
-------- Assign Groups ------------
gMainArm = member("Crane").newGroup("MainArm")
member("Crane").model("Arm1").parent = gMainArm
member("Crane").model("Arm2").parent = gMainArm
member("Crane").model("Rope").parent = gMainArm
end
on rotateLeft
gMainArm.rotate(0,0,1)
end
-----------------------------------------------
This throws up the error: Script Error: Object expected -
gMainArm.rotate(0,0,1)
Any help would be much appreciated. Ta
AndrewNock Guest
-
help with grouping
I created a select statement that orders everybody last name in Alphabetical order. At the top of the page I listed the Alphabet A-Z. I would like... -
Help with grouping and sum in query
My query looks like: <cfquery name="getTotals" datasource="db"> SELECT SUM(Extension) AS TotalDayBilling, DatePart(dw, TimesheetDate) AS... -
Grouping
I always get an error " virtual column must have explicit name" I wrote a query to execute and store result in another table..I query does sum... -
grouping and moving objects
I seem t be having difficulties with moving objects which are on both separate layers as well as on the same timelines. Question is, is it possible... -
Grouping layers
Hi all, Can layers be grouped like in photoshop. Is that one of the things frames are for. Can't seems to find the answer in the manual or within... -
openspark #2
Re: Grouping objects
I assume that this is a Movie Script. Try changing 'property gMainArm' to
'global gMainArm'. Movie Scripts aren't designed to use properties; the
existence of a property with the same name as a local variable renders the
local variable unusable.
openspark Guest
-
AndrewNock #3
Re: Grouping objects
Hi, thanks for that,
unfort now it comes up saying
'Object has been deleted'
We think its a scope issue, as when i run the code through the message window, it works fine
AndrewNock Guest
-
AndrewNock #4
Re: Grouping objects
Don't worry, all fixed. After stepping though all the code in my mind (and after a needed coffee) I realised that it calls the group then calls resetWorld() behaviour which must delete groups...
AndrewNock Guest



Reply With Quote

