This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#26 2011-07-25 11:16:31

flashgocrazy
Scratcher
Registered: 2011-01-12
Posts: 500+

Re: Please Help!!!!!!!!!!!!!!

bump


◕‿◕

Offline

 

#27 2011-07-25 11:18:26

hello12345678910
Scratcher
Registered: 2009-07-11
Posts: 100+

Re: Please Help!!!!!!!!!!!!!!

what do you need? it looks like you got everything.


http://tinyurl.com/8yt32o9 http://tinyurl.com/6tgwp5r || Fish = F+I+S+H = 6+9+19+8 = 42<<The answer to Life, the Universe and Everything

Offline

 

#28 2011-07-25 11:18:47

WindowsExplorer
Scratcher
Registered: 2011-02-25
Posts: 1000+

Re: Please Help!!!!!!!!!!!!!!

thats not what i mean. i would like to know how to declare a variable in one method, and use it in another method


http://i.imgur.com/H6LLdnK.pnghttp://i.imgur.com/VYuD7BY.png

Offline

 

#29 2011-07-25 11:21:26

hello12345678910
Scratcher
Registered: 2009-07-11
Posts: 100+

Re: Please Help!!!!!!!!!!!!!!

declare it as global.


http://tinyurl.com/8yt32o9 http://tinyurl.com/6tgwp5r || Fish = F+I+S+H = 6+9+19+8 = 42<<The answer to Life, the Universe and Everything

Offline

 

#30 2011-07-25 11:23:04

flashgocrazy
Scratcher
Registered: 2011-01-12
Posts: 500+

Re: Please Help!!!!!!!!!!!!!!

hello12345678910 wrote:

what do you need? it looks like you got everything.

no, I don't have the ask dialog code


◕‿◕

Offline

 

#31 2011-07-25 11:24:52

hello12345678910
Scratcher
Registered: 2009-07-11
Posts: 100+

Re: Please Help!!!!!!!!!!!!!!

DialogBoxMorph inform: INFO title: 'NEWS"'

EDIT: Ask Dialog? OK:
    ScratchPrompterMorph lastAnswer: (StringDialog ask: 'Question')

Last edited by hello12345678910 (2011-07-25 11:29:46)


http://tinyurl.com/8yt32o9 http://tinyurl.com/6tgwp5r || Fish = F+I+S+H = 6+9+19+8 = 42<<The answer to Life, the Universe and Everything

Offline

 

#32 2011-07-25 11:35:58

flashgocrazy
Scratcher
Registered: 2011-01-12
Posts: 500+

Re: Please Help!!!!!!!!!!!!!!

hello12345678910 wrote:

DialogBoxMorph inform: INFO title: 'NEWS"'

EDIT: Ask Dialog? OK:
    ScratchPrompterMorph lastAnswer: (StringDialog ask: 'Question')

here is the code i am using:

Code:

newsurlchange: t1
|t2|
t2 -> ScratchPrompterMorph lastAnswer: (StringDialog ask: 'Enter in the new url:')
url_t1

and it doesn't work! Can you tell me how to fix that
It supposed to ask you the new url and then set url to the answer


◕‿◕

Offline

 

#33 2011-07-25 11:41:12

flashgocrazy
Scratcher
Registered: 2011-01-12
Posts: 500+

Re: Please Help!!!!!!!!!!!!!!

bump


◕‿◕

Offline

 

#34 2011-07-25 11:47:07

hello12345678910
Scratcher
Registered: 2009-07-11
Posts: 100+

Re: Please Help!!!!!!!!!!!!!!

i think its t2_ScratchPrompterMorph not how you have it.
And what is url? whatever it is you need to set it to t1 before you prompt the dialog.


http://tinyurl.com/8yt32o9 http://tinyurl.com/6tgwp5r || Fish = F+I+S+H = 6+9+19+8 = 42<<The answer to Life, the Universe and Everything

Offline

 

#35 2011-07-25 11:57:54

flashgocrazy
Scratcher
Registered: 2011-01-12
Posts: 500+

Re: Please Help!!!!!!!!!!!!!!

hello12345678910 wrote:

i think its t2_ScratchPrompterMorph not how you have it.
And what is url? whatever it is you need to set it to t1 before you prompt the dialog.

Then, can you give me the code for it? url is a instanceVariable


◕‿◕

Offline

 

#36 2011-07-25 12:08:53

flashgocrazy
Scratcher
Registered: 2011-01-12
Posts: 500+

Re: Please Help!!!!!!!!!!!!!!

bumpy?


◕‿◕

Offline

 

#37 2011-07-25 15:56:38

flashgocrazy
Scratcher
Registered: 2011-01-12
Posts: 500+

Re: Please Help!!!!!!!!!!!!!!

Bump


◕‿◕

Offline

 

#38 2011-07-25 17:01:14

flashgocrazy
Scratcher
Registered: 2011-01-12
Posts: 500+

Re: Please Help!!!!!!!!!!!!!!

Mods, Please Close This Topic-i Already Finished This Part In My Mod, Match


◕‿◕

Offline

 

Board footer