multiple text lines with jit.gl.text2D

Feb 16, 2008 at 12:10pm

multiple text lines with jit.gl.text2D

Hi,

It’s probably simple but I couldn’t get how to display more than one line with jit.gl.text2D.

Thanks in advance.

Benoit SIMON

#35840
Feb 16, 2008 at 8:00pm

Hello,

Perhaps am I missing something, but I can’t make work the
“qtmovie_flash.pat” example : the default swf file included in the
folder isn’t loaded and nothing happens, even with other files (for
example 44jPhysics.swf and 44jBasic.swf from the Jitter tutorial).

I’m on OSX 10.4.11, Max 4.6.3. , Quicktime 7.4.

Best,

Thierry Fournier

max v2;
#N vpatcher 55 45 1053 791;
#P user jit.pwindow 21 272 382 328 0 1 0 0 1 0;
#P window setfont “Sans Serif” 9.;
#P window linecount 1;
#P message 88 64 30 196617 read;
#P newex 294 203 31 196617 print;
#P window linecount 3;
#P comment 665 342 294 196617 SWF files have to be Flash-5 compatible
at this time. QuickTime cannot read a compressed Flash file ,
either. Save as Flash 5 , bottom-up , uncompressed for best results.;
#P window linecount 1;
#P message 220 204 55 196617 dim $1 $2;
#P comment 575 276 378 196617 At such time as QuickTime supports
Flash 6 , this should be a lot easier to manage.;
#P window linecount 2;
#P comment 575 250 252 196617 In the case of Buttons , ActionScript
events are only processed when a button event occurs (rollover , etc.);
#P comment 575 224 243 196617 In the case of Movie Clips ,
onClipEvent(enterFrame) can be used to regularly poll for a variable
change.;
#P window linecount 1;
#P message 661 121 94 196617 getflash_var /mon;
#P message 471 43 144 196617 flash_var promo “i love Max”;
#P number 648 79 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 648 98 145 196617 flash_var /circle_mc.yval $1;
#P number 497 80 35 9 0 0 0 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P message 509 121 135 196617 getflash_var /circle_mc._x;
#P message 497 99 145 196617 flash_var /circle_mc.xval $1;
#P newex 116 205 20 196617 t b;
#P newex 116 181 102 196617 route read moviedim;
#P newex 225 68 55 196617 pack 0 0 0;
#P message 225 91 95 196617 keypress $1 $2 $3;
#P newex 225 42 55 196617 key;
#P message 162 204 55 196617 size $1 $2;
#P newex 392 633 75 196617 prepend mouse;
#P newex 392 606 111 196617 route mouse mouseidle;
#P message 93 229 65 196617 getmoviedim;
#P message 85 117 115 196617 read qtmovie_flash.swf;
#P flonum 56 96 35 9 0.5 0 1 3 0 0 0 221 221 221 222 222 222 0 0 0;
#P toggle 22 96 15 0;
#P newex 22 116 44 196617 metro 2;
#P newex 22 154 104 196617 jit.qt.movie 370 380;
#B color 5;
#P window linecount 4;
#P comment 294 43 169 196617 < - if your Flash movie features "input
text” , you can simulate keystrokes , if the field has been
“clicked on.”;
#P window linecount 2;
#P comment 617 42 229 196617 < - or you can send the text directly ,
if you know that Actionscript variable name of the field.;
#P comment 472 635 195 196617 < - use the "mouse" message to simulate
mouse motion and clicks over the movie;
#P window linecount 6;
#P comment 575 150 318 196617 ActionScript variables can be directly
set and retrieved. However , the ActionScript needs to be
“listening” for changes in the variables if you want this to do
anything. Additionally , setting Object properties directly doesn’t
appear to work. A second variable needs to be set , and then the
property set from this variable. See the .fla file for more details..;
#P window linecount 2;
#P comment 665 313 294 196617 see the accompanying .fla file
“qtmovie_flash.swf” to see a simple strategy for integrating Max and
a Flash movie together;
#P connect 7 0 6 0;
#P connect 32 0 5 0;
#P fasten 12 0 5 0 397 659 13 659 13 148 27 148;
#P fasten 10 0 5 0 98 251 13 251 13 148 27 148;
#P fasten 25 0 5 0 666 145 27 145;
#P fasten 24 0 5 0 476 142 27 142;
#P fasten 22 0 5 0 653 142 27 142;
#P fasten 19 0 5 0 502 142 27 142;
#P fasten 15 0 5 0 230 142 27 142;
#P fasten 9 0 5 0 90 143 27 143;
#P fasten 6 0 5 0 27 146 27 146;
#P fasten 20 0 5 0 514 145 27 145;
#P fasten 29 0 5 0 225 227 283 227 283 145 27 145;
#P connect 5 0 33 0;
#P connect 8 0 6 1;
#P fasten 18 0 10 0 121 225 98 225;
#P connect 5 1 17 0;
#P connect 17 0 18 0;
#P connect 17 1 13 0;
#P fasten 17 1 29 0 167 201 225 201;
#P connect 14 0 16 0;
#P connect 16 0 15 0;
#P connect 14 1 16 1;
#P connect 14 2 16 2;
#P fasten 17 2 31 0 213 201 299 201;
#P connect 33 1 11 0;
#P connect 11 0 12 0;
#P connect 11 1 12 0;
#P connect 21 0 19 0;
#P connect 23 0 22 0;
#P pop;

#122677
Feb 17, 2008 at 9:37pm

since the update of quicktime 7.3.1 shockwave movies are not longer supported. (apple says, that it has security reasons)
more information, you can find here:

http://createdigitalmotion.com/2008/01/04/flash-support-killed-in-quicktime-731-update/

#122678
Feb 17, 2008 at 9:59pm

#122679
Aug 4, 2008 at 4:31am

dam’n, this is a bummer…

thanx for the info

#122680

You must be logged in to reply to this topic.