-
1. Re: Adobe edge - get scroll position value
Zaxist Jun 30, 2013 5:33 PM (in response to SEIF BH)Try this and Create a Text in your Stage to see the position
Stage > compsitionReady
$(window).scroll(function () {
sym.$("Text").html($(window).scrollTop())
})
Zaxist
-
2. Re: Adobe edge - get scroll position value
SEIF BH Jul 3, 2013 3:22 AM (in response to Zaxist)thnx sir
-
3. Re: Adobe edge - get scroll position value
Zaxist Jul 3, 2013 3:24 AM (in response to SEIF BH)you're welcome
Zaxist
-
4. Re: Adobe edge - get scroll position value
SEIF BH Jul 3, 2013 3:28 AM (in response to Zaxist)i have other question and sorry ,
how i can make in the same action 2 condition (check the exemple down)
this is an example and I really thank you for helping me(any body plz)
-
-
6. Re: Adobe edge - get scroll position value
SEIF BH Jul 3, 2013 4:12 AM (in response to Zaxist)No you did not understand me, I want to:
if I click on the Red Button the first time => the top rectangle turns and goes stoper in intial state
and if I click on the Red Button the second time => the bottom rectangle tour will stoper in initial state
??
-
7. Re: Adobe edge - get scroll position value
Zaxist Jul 3, 2013 4:15 AM (in response to SEIF BH)can you explain me more, ist not clear for me !!
you want to click on red botton for the first time to rotate rectangle A and for the second time click rectangle B rotate and what about 3rd click ? should be have an action like first click ?
Zaxist
-
8. Re: Adobe edge - get scroll position value
SEIF BH Jul 3, 2013 4:21 AM (in response to Zaxist)You understand me now , in the first click rotate A in the second click rotate B , and replay
3eme rotate A
4eme rotate B
.
.
.
.
??
-
-
10. Re: Adobe edge - get scroll position value
SEIF BH Jul 3, 2013 4:31 AM (in response to Zaxist)THANK YOU MAN , <3 I Can be Your freind on facebook or gmail or anything , your are very helpful sir thanks again
-
11. Re: Adobe edge - get scroll position value
SEIF BH Jul 3, 2013 4:48 AM (in response to SEIF BH)je veux savoir monsieur pourquoi c=1 au debut
(car je remplace l'exemple dans mon animation officiel)
ou je met c=1 ??
est ce que c'est obligatoire??
-
12. Re: Adobe edge - get scroll position value
Zaxist Jul 3, 2013 5:29 AM (in response to SEIF BH)we need to control our animation with a flag, so we use a variable named C and set value for it
now we can change our actions with changing our value and we need to have a default value, so our default value now is 1
and we need to write our default state in Stage > compostionReady
if you still have problem let me know
Zaxist
-
13. Re: Adobe edge - get scroll position value
SEIF BH Jul 3, 2013 8:39 AM (in response to Zaxist)If you want this animation has three rectangles what do we do??
its mean:
if you click the first time on the button turns the rectangle A
if you click the second time on the button turns the rectangle B
if you click the third time on the button turns the rectangle C
How do I do that??
-
14. Re: Adobe edge - get scroll position value
resdesign Jul 3, 2013 11:26 AM (in response to SEIF BH)I am wondering what you actually are wanting to do since you have several posts with different questions. Can you explain?
Je me demande ce que vous voulez faire car vous avez plusieurs posts avec des questions un peu différentes. Pouvez-vous nous donner une meilleur description de ce que vous voulez faire?
-
15. Re: Adobe edge - get scroll position value
Zaxist Jul 3, 2013 12:58 PM (in response to SEIF BH)this is very easy too !!
you just need to have little knowledge about jQuery and change your view ! the way you are looking into codes is not right and thats why you cant make easy things like this
here is code for 3 things
if ( c == 2 ){
sym.play("on1");
c = 3;
}else if ( c == 1 ){
sym.play(1);
c = 2;
}
else{
sym.play("on2"); // for third one
c = 1;
}
if you had any question feel free to ask
reguards
Zaxist
-
-
17. Re: Adobe edge - get scroll position value
Zaxist Jul 3, 2013 1:07 PM (in response to SEIF BH)and also there is better way i forgot, you can also do like this (this one is the easiest)
if ( c == 1 ){
sym.play(1);
c = 2;
}else if ( c == 2 ){
sym.play("on1");
c = 3;
}
else if ( c == 3 ){
sym.play("on2");
c = 1;
}
.
.
.
.
else if ( c == 100){
sym.play ("on99")
c = 1
}
easy, isnt it ?
Zaxist
-
18. Re: Adobe edge - get scroll position value
SEIF BH Jul 3, 2013 2:58 PM (in response to resdesign)lol , C'est Vrai , Je fait un site par le edge animate , créé totalment par les animation (tout les effets parllax et tout) c'est pour ca , a certain moment j''ai besoin de vos conseil et de vos aides et merci pour ca
-
19. Re: Adobe edge - get scroll position value
Zaxist Jul 3, 2013 3:01 PM (in response to SEIF BH)you're welcome
-
20. Re: Adobe edge - get scroll position value
SEIF BH Jul 4, 2013 1:37 PM (in response to Zaxist)desolé pour le retard monsieur , et je veux te questionner une autre chose desolé encore .. comment faire une page load (la function load) donne moi un exemple s'il te plait
-
21. Re: Adobe edge - get scroll position value
Zaxist Jul 4, 2013 1:41 PM (in response to SEIF BH)what do you mean by load a page ? can you explain a bit more ?
-
22. Re: Adobe edge - get scroll position value
SEIF BH Jul 4, 2013 1:45 PM (in response to Zaxist)when I open the page (before the animation I) loading is ... function load is not it?
-
23. Re: Adobe edge - get scroll position value
Zaxist Jul 4, 2013 1:47 PM (in response to SEIF BH)you mean preloader ?
you want to have a loading for your project ?
-
24. Re: Adobe edge - get scroll position value
SEIF BH Jul 4, 2013 1:51 PM (in response to Zaxist)Yes Yes Sir , how i can do this , really i need example !
-
25. Re: Adobe edge - get scroll position value
Zaxist Jul 4, 2013 1:53 PM (in response to SEIF BH)we have two topic about preloader
First : http://forums.adobe.com/message/5346418#5346418
Second : http://forums.adobe.com/message/5195570#5195570
hope these help you
Zaxist
-
26. Re: Adobe edge - get scroll position value
SEIF BH Jul 4, 2013 2:19 PM (in response to Zaxist)I copied that the
// Set First image location, it would change for other image
Flag = 500;
// Set state to play by default
State = 0;
in my work and it does not work, then I want added another animation preloader ..




