This is G o o g l e's cache of http://www.flashsandy.org/forum/index.php?showtopic=66 as retrieved on 10 Aug 2007 05:00:42 GMT.
G o o g l e's cache is the snapshot that we took of the page as we crawled the web.
The page may have changed since that time. Click here for the current page without highlighting.
This cached page may reference images which are no longer available. Click here for the cached text only.
To link to or bookmark this page, use the following url: http://www.google.com/search?q=cache:9nl-vYT0tP0J:www.flashsandy.org/forum/index.php%3Fshowtopic%3D66+site:www.flashsandy.org/forum&hl=en&ct=clnk&cd=77


Google is neither affiliated with the authors of this page nor responsible for its content.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> sprite question
link
post Jul 10 2006, 10:44 PM
Post #1


Member
**

Group: Members
Posts: 13
Joined: 10-July 06
Member No.: 128



how can i put inside of a sprite a MovieClip?
with hole user interaction(buttons, images or video)
is not a MovieSkin.....

cheers
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
kiroukou
post Jul 10 2006, 10:59 PM
Post #2


Administrator
***

Group: Root Admin
Posts: 910
Joined: 12-June 06
Member No.: 1



Hi,
The only solution right now is the MovieSkin.

But you'll loose the interaction with text etc. as the movieclip is transformed into a bitmapData.

++
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
link
post Jul 10 2006, 11:11 PM
Post #3


Member
**

Group: Members
Posts: 13
Joined: 10-July 06
Member No.: 128



=(
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
kiroukou
post Jul 11 2006, 06:28 AM
Post #4


Administrator
***

Group: Root Admin
Posts: 910
Joined: 12-June 06
Member No.: 1



But you can try to find a solution by yourself (IMG:style_emoticons/default/wink.gif) Don't forget it is open source (IMG:style_emoticons/default/smile.gif)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
link
post Jul 14 2006, 10:02 PM
Post #5


Member
**

Group: Members
Posts: 13
Joined: 10-July 06
Member No.: 128



i think i need 3 new Classes
new Sprite Class extending Sprite2D
new Face Class
and new Skin Class
i don´t know if i miss something, i just have a few days with this framework
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
kiroukou
post Jul 15 2006, 10:34 AM
Post #6


Administrator
***

Group: Root Admin
Posts: 910
Joined: 12-June 06
Member No.: 1



If you want to add a new type of object, this is what you have to do indeed (IMG:style_emoticons/default/smile.gif)

But the problem is that Sandy wasn't thought to handle this feature. In fact I never seen any real 3D engine capable to do that.

Flash allows you to do this stuff, but it needs some hacks, and is limited to use a single camera. That's why I did not decide to manage this.

Sorry.
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
link
post Jul 18 2006, 05:58 PM
Post #7


Member
**

Group: Members
Posts: 13
Joined: 10-July 06
Member No.: 128



umm, well how can i see the sprite at 100% on my stage???,
i want to click the sprite do the panning to some position to see
my sprite at 100%, once at 100% can be repleaced by a movieClip =)

i already did the click and the panning stuff but i don´t know the exactly position
to see my sprite at 100%
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
kiroukou
post Jul 18 2006, 06:26 PM
Post #8


Administrator
***

Group: Root Admin
Posts: 910
Joined: 12-June 06
Member No.: 1



Sorry but I do not understand "i already did the click and the panning stuff but i don´t know the exactly position
to see my sprite at 100%"

Can you explain more?

THanks
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
link
post Jul 18 2006, 07:02 PM
Post #9


Member
**

Group: Members
Posts: 13
Joined: 10-July 06
Member No.: 128



jejejeje, look i have a sprite2d on my stage at the position (0,50,-200);
and my camera is on (0,50,-800); when i click my sprite my camera goes
to (0,50,-200) (the position of my sprite)
but my sprite is not at 100% (the _xscale and _yscale properties looks like 400%)

got it?

i want to repleace the sprite by a movieClip but i need it at 100% (_xscale, _yscale properties)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
kiroukou
post Jul 18 2006, 07:09 PM
Post #10


Administrator
***

Group: Root Admin
Posts: 910
Joined: 12-June 06
Member No.: 1



It is a perspective effect.
You can play with the scale thnaks to Sprite3D.setScale method anyway.

++
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
link
post Jul 18 2006, 08:23 PM
Post #11


Member
**

Group: Members
Posts: 13
Joined: 10-July 06
Member No.: 128



i already tried that, but it doesn´t work

thanks anyway =)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
kiroukou
post Jul 18 2006, 08:51 PM
Post #12


Administrator
***

Group: Root Admin
Posts: 910
Joined: 12-June 06
Member No.: 1



QUOTE(link @ Jul 18 2006, 10:23 PM) *

i already tried that, but it doesn´t work

thanks anyway =)

What do you mean by it doesn't work?
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
link
post Jul 18 2006, 09:24 PM
Post #13


Member
**

Group: Members
Posts: 13
Joined: 10-July 06
Member No.: 128



because that just scale the sprite at any perspective
but i dont want that i just want my strite at 100%
but the camera needs to be at some position that i don't know how calculate
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
kiroukou
post Jul 18 2006, 09:43 PM
Post #14


Administrator
***

Group: Root Admin
Posts: 910
Joined: 12-June 06
Member No.: 1



I've to say that I don't know how to proceed.
A solution I would try in your case, is to look at the formula I use in Sprite2DFace file, and try to solve this with you object dimension and position.

The wz property of a vertex is its world Z coordinate thought.

++
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
link
post Jul 18 2006, 09:53 PM
Post #15


Member
**

Group: Members
Posts: 13
Joined: 10-July 06
Member No.: 128



jejeje
thanks =)
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

- Lo-Fi Version Time is now: 10th August 2007 - 04:39 AM
phpMyVisites