*Author

Offline BluePriestTopic starter

  • Legendary Member
  • ******
  • Posts: 3771
  • Reputation Power: 46
  • BluePriest is towering like an Amethyst Dragon over their peers.BluePriest is towering like an Amethyst Dragon over their peers.BluePriest is towering like an Amethyst Dragon over their peers.BluePriest is towering like an Amethyst Dragon over their peers.BluePriest is towering like an Amethyst Dragon over their peers.BluePriest is towering like an Amethyst Dragon over their peers.BluePriest is towering like an Amethyst Dragon over their peers.BluePriest is towering like an Amethyst Dragon over their peers.BluePriest is towering like an Amethyst Dragon over their peers.
  • Entropy Has You
  • Awards: Slice of Elements 5th Birthday Cake
Opening Post Creator https://elementscommunity.org/forum/index.php?topic=30326.msg385218#msg385218
« on: August 27, 2011, 04:58:31 am »
http://www.swfcabin.com/open/1315317861
A program I made because I hated editing the table before making my card idea. Very simple to use. Just replace the things on the left (name, image url ect)  with the value of your card, and the box on the right will change the code accordingly. After you put in everything, you have to click on the box to the right, press ctrl+a to select it all, and then ctrl+c to copy it so you can paste it here. Next version will have an autocopy feature after you just click on the box to the right. Still trying to figure out how to do that though.

Not sure if people will find this useful, but I always hated messing with the html having to be careful that I dont accidentally erase something I needed.

I love open source, so heres the code that made this possible!
Code: [Select]
function Copy(){
System.setClipboard(Final.text);
trace(Final.text);
};

function onEnterFrame()
{
Final.text="[table][tr][td][center][img]"
+IMGURL.text+
"[/img][/center][/td][td][center][img]"
+IMGURLU.text+
"[/img][/center][/td][/tr][tr][td][table][tr][td][right][b][size=8pt][color=#C9C299]NAME: [/color][/color][/size][/b][/right][/td][td]"
+Name.text+
"[/td][/tr][tr][td][right][b][size=8pt][color=#C9C299][color=#C9C299] ELEMENT: [/color][/color][/size][/b][/right][/td][td]"
+Element.text+
"[/td][/tr][tr][td][right][b][size=8pt][color=#C9C299][color=#C9C299] COST: [/color][/color][/size][/b][/right][/td][td]"
+Cost.text+
"[/td][/tr][tr][td][right][b][size=8pt][color=#C9C299][color=#C9C299] TYPE: [/color][/color][/size][/b][/right][/td][td]"
+Type.text+
"[/td][/tr][tr][td][right][b][size=8pt][color=#C9C299][color=#C9C299] ATK|HP: [/color][/color][/size][/b][/right][/td][td]"
+ATKHP.text+
"[/td][/tr][tr][td][right][b][size=8pt][color=#C9C299][color=#C9C299] TEXT: [/color][/color][/size][/b][/right][/td][td]"
+CardText.text+
"[/td][/tr][/table][/td]

[td][table][tr][td][right][b][size=8pt][color=#C9C299] NAME: [/color][/color][/size][/b][/right][/td][td]"
+NameU.text+
"[/td][/tr][tr][td][right][b][size=8pt][color=#C9C299][color=#C9C299] ELEMENT: [/color][/color][/size][/b][/right][/td][td]"
+ElementU.text+
"[/td][/tr][tr][td][right][b][size=8pt][color=#C9C299][color=#C9C299] COST: [/color][/color][/size][/b][/right][/td][td]"
+CostU.text+
"[/td][/tr][tr][td][right][b][size=8pt][color=#C9C299][color=#C9C299] TYPE: [/color][/color][/size][/b][/right][/td][td]"
+TypeU.text+
"[/td][/tr][tr][td][right][b][size=8pt][color=#C9C299][color=#C9C299] ATK|HP: [/color][/color][/size][/b][/right][/td][td]"
+ATKHPU.text+
"[/td][/tr][tr][td][right][b][size=8pt][color=#C9C299][color=#C9C299] TEXT: [/color][/color][/size][/b][/right][/td][td]"
+CardTextU.text+
"[/td][/tr][/table][/td][/tr][/table]

[table][tr][td][table][tr][td][right][b][size=8pt][color=#C9C299] ART: [/color][/color][/size][/b][/right][/td][td]"
+Art.text+
"[/td][/tr]
[tr][td][right][b][size=8pt][color=#C9C299] IDEA: [/color][/color][/size][/b][/right][/td][td]"
+Idea.text+
"[/td][/tr]
[tr][td][right][b][size=8pt][color=#C9C299] NOTES: [/color][/color][/size][/b][/right][/td][td]"
+Notes.text+
"[/td][/tr]
[tr][td][right][b][size=8pt][color=#C9C299] SERIES: [/color][/color][/size][/b][/right][/td][td]"
+Series.text+
"[/td][/tr][/table][/td][/tr][/table]";
};
Thats all of the code for it ;) open source ftw.

Im sure plenty of people will find this sorta pointless, but I thought Id share it for those like me who hate editing the table.
V2 is now out! Fixed a bug with the series not working

Edit
V3 is now out! Previously the upped and regular card text were reading the same thing. Now that works properly.
This sig was interrupted by Joe Biden

Offline Xenocidius

  • Legendary Member
  • ******
  • Posts: 2696
  • Reputation Power: 49
  • Xenocidius is towering like an Amethyst Dragon over their peers.Xenocidius is towering like an Amethyst Dragon over their peers.Xenocidius is towering like an Amethyst Dragon over their peers.Xenocidius is towering like an Amethyst Dragon over their peers.Xenocidius is towering like an Amethyst Dragon over their peers.Xenocidius is towering like an Amethyst Dragon over their peers.Xenocidius is towering like an Amethyst Dragon over their peers.Xenocidius is towering like an Amethyst Dragon over their peers.Xenocidius is towering like an Amethyst Dragon over their peers.
  • Fear the Darkness ...
  • Awards: Slice of Elements 3rd Birthday CakeFavorite Community Member of 2011Weekly Tournament WinnerWinner of Design a Competition Competition
Re: Opening Post Creator https://elementscommunity.org/forum/index.php?topic=30326.msg385227#msg385227
« Reply #1 on: August 27, 2011, 05:59:15 am »
I also hate editing the table. Well done and +rep.
Don't cry because it's over, smile because it happened.

Offline BluePriestTopic starter

  • Legendary Member
  • ******
  • Posts: 3771
  • Reputation Power: 46
  • BluePriest is towering like an Amethyst Dragon over their peers.BluePriest is towering like an Amethyst Dragon over their peers.BluePriest is towering like an Amethyst Dragon over their peers.BluePriest is towering like an Amethyst Dragon over their peers.BluePriest is towering like an Amethyst Dragon over their peers.BluePriest is towering like an Amethyst Dragon over their peers.BluePriest is towering like an Amethyst Dragon over their peers.BluePriest is towering like an Amethyst Dragon over their peers.BluePriest is towering like an Amethyst Dragon over their peers.
  • Entropy Has You
  • Awards: Slice of Elements 5th Birthday Cake
Re: Opening Post Creator https://elementscommunity.org/forum/index.php?topic=30326.msg389797#msg389797
« Reply #2 on: September 06, 2011, 02:48:59 pm »
Fixed a bug where the series wasnt defined.
Still trying to figure out how to copy to clipboard.  Even asked Kong developers but not getting much luck there.

edit
And another bug with the upped card description
This sig was interrupted by Joe Biden

 

blarg: