ActiveDen

XML Caption Splitter - Pack 1

  • Has been a member for 3-4 years
  • Bought between 10 and 49 items
Matt89fe says

Ciao, complimenti per il lavoro! Che font hai usato per LOREM IPSUM ? Mi piaceva parecchio… volevo chiederti, è possibile avere una sola animazione? :)

4 years ago
  • Has been a member for 4-5 years
  • Exclusive Author
  • Sold between 5 000 and 10 000 dollars
  • Bought between 10 and 49 items
  • Europe
Albo says
Author

Ciao grazie, la font usata è un Frutiger.

Eseguire una sola volta l’animazione è possibile, basta commentare la funzione che richiama il loop. Rimane comunque il fatto che anche una sola riga di testo viene caricata via xml.

4 years ago
  • Has been a member for 4-5 years
  • Bought between 50 and 99 items
  • United States
cmykdesign says
Purchased

The best time saving file I have purchased on FD! I hope you continue to build these text packs in as2.

3 years ago
  • Has been a member for 4-5 years
  • Exclusive Author
  • Sold between 5 000 and 10 000 dollars
  • Bought between 10 and 49 items
  • Europe
Albo says
Author

Hello! Thank you for your compliments !

3 years ago
  • Has been a member for 4-5 years
  • Bought between 10 and 49 items
SCbimmer says
Purchased

How can this be made not to loop (replay) at the end? I’d like it to stop afer the last phrase has animated on screen.

Someone posted the same question on this forum a while back, but I didn’t see a response.

Thanks.

3 years ago
  • Has been a member for 4-5 years
  • Exclusive Author
  • Sold between 5 000 and 10 000 dollars
  • Bought between 10 and 49 items
  • Europe
Albo says
Author

And the last phrase must be displayed or must be removed too ?

3 years ago
  • Has been a member for 4-5 years
  • Bought between 10 and 49 items
SCbimmer says
Purchased

Actually depending on the circumstances, both (have the phrase displayed and removed). The workaround I have for having it removed is to unload the movieclip…which is cumbersome.

I don’t have a workaround for having it just stop with the last phrase displayed.

Please advise. Thanks

3 years ago
  • Has been a member for 4-5 years
  • Exclusive Author
  • Sold between 5 000 and 10 000 dollars
  • Bought between 10 and 49 items
  • Europe
Albo says
Author

An easy way to stop the loop at the end is this:

find the Steps function on any .fla file, then:

replace

Caption_arr.length – 1

with

Caption_arr.length

at that point comment all what is inside on the else statement.

Save and export.

Other ways must be considered apart.

3 years ago
  • Has been a member for 4-5 years
  • Bought between 10 and 49 items
SCbimmer says
Purchased

That worked. Thanks!

However, is there a way to have it stop before the phrase animation exit so that the text is left on screen?

3 years ago
  • Has been a member for 4-5 years
  • Exclusive Author
  • Sold between 5 000 and 10 000 dollars
  • Bought between 10 and 49 items
  • Europe
Albo says
Author

Yes, simply inside the EndPositioning function add these line on the top:

if (i == Caption_arr.length) {return;}

and it will leave the last text on the screen.

3 years ago
  • Has been a member for 4-5 years
  • Bought between 10 and 49 items
SCbimmer says
Purchased

Great file. Is there a way to not use an external xml file and just have the content text be directly in the script.

3 years ago
Author
Albo Albo replied

Hi, thanks.

Yes of course:

var myStr:String = "Hello world!";

var xLetter:Number = 30;
var yLetter:Number = 30;

function SplitString(myStr:String, xLetter:Number, yLetter:Number)
3 years ago
Purchased
Default-user SCbimmer replied

Thanks for the script, but unfortunately I’m getting errors when adding it to the scipt. Should it replace something else or should other items be deleted when adding this? Sorry, I’m a bit of a novice when it comes to XML and Flash.

3 years ago
by
by
by
by
by