Sie sind nicht angemeldet.

1

Samstag, 18. Dezember 2010, 15:22

Plugin text-machine

Hi all,

I give you this plugin text, it work like textmachine

You can see it here

xml code :

Quellcode

1
2
3
4
5
6
7
8
9
10
<plugin name="text"
		url="text.swf" keep="true"
		scale="1" 
		alpha="1" 
		align="center" x="0" y="0" 
		width="800"
		height="200"  
		zorder="99"
		enabled="true" handcursor="true"
		onclick="set(visible, false);" />


and put the source code
text.zip

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »Job.1« (18. Dezember 2010, 15:38)


Tuur

Erleuchteter

Beiträge: 3 839

Wohnort: Netherlands

Beruf: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer

  • Nachricht senden

2

Samstag, 18. Dezember 2010, 15:29

He JOB1,

Merci!! tres jolie!!

Thanx

Tuur *thumbsup*

3

Samstag, 18. Dezember 2010, 20:47

JOB1 that is great !!! thanks for sharing!

4

Samstag, 18. Dezember 2010, 21:05

It's just a little return *thumbsup*

I get many things here

Thank's to all *thumbup*

5

Sonntag, 19. Dezember 2010, 02:49

this is great but i am running into issue already :(

there is no way to control the timing of the text it always starts soon as the plugin is loaded. I need the text to run 20 sec after the tour starts. so I tried to add the plugin like this but it will not show up with the addplugin command.

addplugin(text);
set(plugin[text].url, plugins/text.swf);
set(plugin[text].zorder, 200);
set(plugin[text].width, 500);
set(plugin[text].height, 525);
set(plugin[text].align, center);
set(plugin[text].edge, center);
set(plugin[text].alpha, 1);
set(plugin[text].scale, 1);
set(plugin[text].onhover, showtext(test));
set(plugin[text].visible, true);
set(plugin[text].x, 0);
set(plugin[text].y, 0);

if just set the text.swf visible, false and make it true when i need itall the typing is already done as it was sitting hidden for the first 20 seconds. can we get this to react to the addplugin command? or make is so it does not start to type until it is set visible?

6

Sonntag, 19. Dezember 2010, 05:56

I don't see a way to input text. Must it be done in Flash???

7

Sonntag, 19. Dezember 2010, 10:39

You get the source, you can make what you want with it ;-)

8

Sonntag, 19. Dezember 2010, 17:04

I don't see a way to input text. Must it be done in Flash???


yeah i found where to change that. i still stand with my other issues and i dont know enough about flash to figure out much more. it can still be used great for any intro text. maybe someone who knows a little more can at least make it work with the addplugin command then it would be usable alot more.

Job I wish i could do more with it. maybe someday i can try to learn more flash.

9

Montag, 20. Dezember 2010, 07:00

VN2009,

I did this and it works. Use whatever event you wish to get it started.
<events>
onxmlcomplete="wait(15); addtext()"

</events>

<action name="addtext">
addplugin(text);
set(plugin[text].url, plugins/text.swf);
set(plugin[text].keep, true);
set(plugin[text].width, 500);
set(plugin[text].height, 525);
set(plugin[text].align, center);
set(plugin[text].edge, center);
set(plugin[text].alpha, 1);
set(plugin[text].scale, 1);
set(plugin[text].onhover, showtext(test));
set(plugin[text].visible, true);
set(plugin[text].x, 0);
set(plugin[text].y, 0);

</action>

If someone with flash knowledge can make it work (such as entering data in xml ) for flash ignorant users like myself, that would be cool.

Tuur

Erleuchteter

Beiträge: 3 839

Wohnort: Netherlands

Beruf: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer

  • Nachricht senden

10

Montag, 20. Dezember 2010, 10:22

i think triying something like, in flash

String = String(krpano.get("$text_1"));

and then in xml..

set($text_1, I love krpano, and i wish everybody here a peacefull christmas and all the best for 2011);

something like that should work... isn't it?

didn't test or tried it yet with this plugin..

Cheers

Tuur *thumbsup*

Yomas

Fortgeschrittener

Beiträge: 190

Wohnort: Anglet, France

  • Nachricht senden

11

Mittwoch, 5. Januar 2011, 12:35

Merci ^^
Super idée !!!
Beaucoup plus dynamique ;-)
Décidément on arrêtes pas le progrès ^^
My website: www.eboovisite.com, See me also on www.Viewat.com, Facebook and Twitter

Tuur

Erleuchteter

Beiträge: 3 839

Wohnort: Netherlands

Beruf: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer

  • Nachricht senden

12

Dienstag, 8. Februar 2011, 23:57

Hi

i just made / changed this plugin that the text is changeable in xml.

onstart="text();"


and

Quellcode

1
2
3
4
5
6
<plugin name="text" url="text2.swf"  keep="true" align="lefttop" x="10" y="10" scale="1"  zorder="100"/>

<action name="text">
		set($text_1, I Looooooove krpano... you too?);

	</action>



hope it helps

Tuur ;-)
»Tuur« hat folgende Datei angehängt:
  • text2.zip (10,97 kB - 116 mal heruntergeladen - zuletzt: Heute, 07:56)

Tuur

Erleuchteter

Beiträge: 3 839

Wohnort: Netherlands

Beruf: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer

  • Nachricht senden

13

Mittwoch, 9. Februar 2011, 00:55

One question..


strange behaviour fade out

This works

Quellcode

1
2
3
4
5
<events onxmlcomplete="closetext();" />

<action name="closetext">
delayedcall(20, removeplugin(text););
	</action>



this not:

Quellcode

1
2
3
4
5
<events onxmlcomplete="closetext();" />

<action name="closetext">
delayedcall(20, tween(plugin[text].alpha,0,1););
	</action>


like to tween the pluhg alpha 0 before remove but tween doesn't work
*confused*

Tuur *thumbsup*

14

Mittwoch, 9. Februar 2011, 17:17

Hi,

the Flashplayer can't change the alpha of a text by default,

but there is a trick:

the setting - blendmode="layer"

will force the flashplayer to convert the text internally to a bitmap,
and there the alpha can be applied,

best regards,
Klaus

Tuur

Erleuchteter

Beiträge: 3 839

Wohnort: Netherlands

Beruf: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer

  • Nachricht senden

16

Donnerstag, 10. Februar 2011, 13:36

GREATS Tuur ! ! !

Thank's a lot *thumbsup* *thumbsup*

17

Dienstag, 1. März 2011, 13:56

I knew how to change the text in flash *g* , acturally, I don't know how to use flash *rolleyes*

open the source fla file, focus on the time-line panel, chose the layer1 or layer2, then open pree F9 to open the "action panel", now u can see the action script. But I dont know how change the font

now u know how to do,just change the text as you want
"I have a dream, I wish have a peace world!" *love*

Tuur

Erleuchteter

Beiträge: 3 839

Wohnort: Netherlands

Beruf: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer

  • Nachricht senden

18

Dienstag, 1. März 2011, 17:04

just click on the text area on the stage..

then you can see in the panel what th efont is and change that.

Tuur *thumbsup*

19

Mittwoch, 2. März 2011, 05:25

Thanks, Tuur
I got it from your suggestion *thumbsup*

Tuur

Erleuchteter

Beiträge: 3 839

Wohnort: Netherlands

Beruf: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer

  • Nachricht senden

20

Mittwoch, 30. März 2011, 14:24

Hi,
Is there an , XML , way to make à textmachine ?
That works on iPhone / pad..
So that THE NeXT syllable is coming like 0.15 seconds after THE previous one.
And Also get that with variables in textfield on mobile devices??

Thanx
Tuur *thumbsup*