Hello anyone, whos smarter than me in flash.
I need major help, as it is known that flash four tutorials can be used for flash mx. now i have found one, on flashkit. which is so cool for my final yr project.
what im asking, its a plea really. that can anyone convert the actionscript below so it can be used in flash mx, as it is different in flash mx.
the action script below is from flash 4..
-----------------------------------------------------------
Start Drag ("drag", lockcenter)
Stop
// this is on one movie clip
-----------------------------------------------------------
Set Variable: "xPos" = GetProperty("../drag", _y)
Set Variable: "xPos" = xPos-150
Set Property ("../nav", Rotation) = GetProperty ( "../nav", _rotation )-(xPos/20)
// this is on another movie clip
-----------------------------------------------------------
Go to and Play (_currentframe-1)
// this is on the same movie clip but different frame
-----------------------------------------------------------
Set Variable: "x" = GetProperty ("../drag", _x)
If (x> 200)
Set Variable: "midX" = x - 200
If (midX <0 )
Set Variable: "midX" = - midX
End If
Set Property ("../nav", X Scale) = midX
Set Property ("../nav", Y Scale) = midX
If (GetProperty ("../nav", _xscale) <30)
Set Property ("../nav", X Scale) = "30"
Set Property ("../nav", Y Scale) = "30"
End If
If (GetProperty ("../nav", _xscale)> 100)
Set Property ("../nav", X Scale) = "100"
Set Property ("../nav", Y Scale) = "100"
End If
End If
//this is on the 3rd movie clip
-----------------------------------------------------------
On (Release)
Begin Tell Target ("/")
Go to and Stop ("thelabel")
End Tell Target
End On
// this piece of actionscript is for all the buttons made in the movie clips.
-----------------------------------------------------------
the link is
pls have a look, i havent used a forum before, but could you pls help. anyone. i have tried to convert the actionscript rom flash 4 to flash mx, but got stuck on the second movie clip
thank you so much
amren
I need major help, as it is known that flash four tutorials can be used for flash mx. now i have found one, on flashkit. which is so cool for my final yr project.
what im asking, its a plea really. that can anyone convert the actionscript below so it can be used in flash mx, as it is different in flash mx.
the action script below is from flash 4..
-----------------------------------------------------------
Start Drag ("drag", lockcenter)
Stop
// this is on one movie clip
-----------------------------------------------------------
Set Variable: "xPos" = GetProperty("../drag", _y)
Set Variable: "xPos" = xPos-150
Set Property ("../nav", Rotation) = GetProperty ( "../nav", _rotation )-(xPos/20)
// this is on another movie clip
-----------------------------------------------------------
Go to and Play (_currentframe-1)
// this is on the same movie clip but different frame
-----------------------------------------------------------
Set Variable: "x" = GetProperty ("../drag", _x)
If (x> 200)
Set Variable: "midX" = x - 200
If (midX <0 )
Set Variable: "midX" = - midX
End If
Set Property ("../nav", X Scale) = midX
Set Property ("../nav", Y Scale) = midX
If (GetProperty ("../nav", _xscale) <30)
Set Property ("../nav", X Scale) = "30"
Set Property ("../nav", Y Scale) = "30"
End If
If (GetProperty ("../nav", _xscale)> 100)
Set Property ("../nav", X Scale) = "100"
Set Property ("../nav", Y Scale) = "100"
End If
End If
//this is on the 3rd movie clip
-----------------------------------------------------------
On (Release)
Begin Tell Target ("/")
Go to and Stop ("thelabel")
End Tell Target
End On
// this piece of actionscript is for all the buttons made in the movie clips.
-----------------------------------------------------------
the link is
pls have a look, i havent used a forum before, but could you pls help. anyone. i have tried to convert the actionscript rom flash 4 to flash mx, but got stuck on the second movie clip
thank you so much
amren