AllCode and Scratch.

For general Flowcode discussion that does not belong in the other sections.
Post Reply
Dan81
Posts: 2
http://meble-kuchenne.info.pl
Joined: Tue Jan 12, 2021 2:52 pm

AllCode and Scratch.

Post by Dan81 »

Hello,
I'm trying tou use Formula AllCode with Scratch (v2 offline)
I have downloaded resource : CP5894 - Formula Allcode Robotics course.pdf.

I run the helper (and the firmware is V2). The Formula is connected.
I launch Scratch2 and open "Formula AllCode Template".

But I don't see API commands in "my Blocks". In script area, special blocks are called "undefined" .
All files are in the same folder.

What am I doing wrong ?

Thanks

Dan

Steve-Matrix
Matrix Staff
Posts: 1551
Joined: Sat Dec 05, 2020 10:32 am
Has thanked: 214 times
Been thanked: 362 times

Re: AllCode and Scratch.

Post by Steve-Matrix »

Hi Dan,

Scratch relies on software called “AIR” by Adobe and the latest version of this blocks any extensions being used with Scratch. In order for the Extensions to work on Scratch 2.0, an older version of Adobe AIR that includes the WebKit needs to be installed. Here are some instructions:
  • Uninstall Adobe AIR (In Windows, go to Applications, right click on Adobe Air -uninstall)
  • Uninstall Scratch 2.0
  • Go to https://airsdk.harman.com/runtime
    - scroll down to AIR runtime including WebKit - version 33.1.1.744
    - install the appropriate 33.1.1.744 version for your operating system
  • Install Scratch 2.0
Unfortunately the problem was not of our making and was due to Scratch using a later version of software that breaks the use of extensions.

Dan81
Posts: 2
Joined: Tue Jan 12, 2021 2:52 pm

Re: AllCode and Scratch.

Post by Dan81 »

Hello Steve

Thanks a lot.
Now it works .

Daniel

Post Reply