Ok Squeak Hackers, This Ones Tough. I Was Just Browsing The Source Code Looking For Things To Add To My Mod, Squirrel. Then I Found Something: If You Go To The First Column In The Source Code, And If You Scroll Near The Bottom, You'll Find A Category Named Network-HTML. It Seems That Scratch Can Go Through HTML And Do It. That Got My Attention, So I Started Making A Block That Would Do The HTML That Is Entered. But Once It Got Time For Me To Make It Function, I Got Totally Lost. Can Someone Please Give Me The Code For A Block That Would Do The HTML Entered?
Oh, And To Get You To Want To Make It More, If We Ever Made This Block, We Could Use HTML To Change Our Cursor In Scratch Projects!
Now Somebody Please Make The Block! Thanks!
Offline
Or do you just mean execute the HTML?
Offline
HTML = HyperTextMarkupLanguage
Its what you use for laying out a webpage, you don't script things in it, not something fancy anyway.
Offline
fullmoon wrote:
rubiks_cube_guy238 wrote:
Or do you just mean execute the HTML?
HTML isn't really something you can execute.
Well, I think s/he means JavaScript or some other client-side scripting language.
Offline
php+scratch=mmog possibility, that was my theroy, I don't know if you could make mmogs in scratch with html but it's still possible, Html is one of my favorite weblanguages however.
Offline
jake451998 wrote:
php+scratch=mmog possibility, that was my theroy, I don't know if you could make mmogs in scratch with html but it's still possible, Html is one of my favorite weblanguages however.
Yesh. And We Need It Quite A Bit.
Offline
TheGameMaster1231 wrote:
Ok Squeak Hackers, This Ones Tough. I Was Just Browsing The Source Code Looking For Things To Add To My Mod, Squirrel. Then I Found Something: If You Go To The First Column In The Source Code, And If You Scroll Near The Bottom, You'll Find A Category Named Network-HTML. It Seems That Scratch Can Go Through HTML And Do It. That Got My Attention, So I Started Making A Block That Would Do The HTML That Is Entered. But Once It Got Time For Me To Make It Function, I Got Totally Lost. Can Someone Please Give Me The Code For A Block That Would Do The HTML Entered?
Oh, And To Get You To Want To Make It More, If We Ever Made This Block, We Could Use HTML To Change Our Cursor In Scratch Projects!
Now Somebody Please Make The Block! Thanks!![]()
I don't thing you can make it translate HTML with that, you can make it retrieve files, and READ HTML, and possible translate a HTML script to a text.
Offline
I think I found something somewhere after reading this but didn't post, it was something like after a string just put: asHttp or another one was something like asUrl. I really don't know.
Offline
jake451998 wrote:
php+scratch=mmog possibility, that was my theroy, I don't know if you could make mmogs in scratch with html but it's still possible, Html is one of my favorite weblanguages however.
True, but PHP only runs when you load the page. For a real-time game I don't think PHP would work, but here is a though: if you can run HTML, can you run JavaScript and AJAX?
Offline
Taneb wrote:
Actually, AJAX isn't a scripting language. It's a way for JavaScript (which is a scripting language) to retrieve files from and send data to a webserver.
sorry i was thinking of javascript but spelt it (slightly) wrong...
Offline
I think the HTML stuff is for reading the source of pages, like Panther can do.
Offline
TRocket wrote:
scimonster wrote:
I think the HTML stuff is for reading the source of pages, like Panther can do.
yeah but what could the block retrurn
Try the Panther blocks in the Files category.
Offline