# How can i write the "" in a string

**URL:** <https://forum.kirupa.com/t/how-can-i-write-the-in-a-string/16250>\
**Category:** Uncategorized\
**Created:** [March 22, 2003, 7:56pm UTC](https://forum.kirupa.com/t/how-can-i-write-the-in-a-string/16250 "2003-03-22T19:56:47Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![mlk](https://avatars.discourse-cdn.com/v4/letter/m/e56c9b/32.png) [@mlk](https://forum.kirupa.com/u/mlk)\
**Post date:** [March 22, 2003, 7:56pm UTC](https://forum.kirupa.com/t/how-can-i-write-the-in-a-string/16250/1 "2003-03-22T19:56:47Z")

</div>

since the double quotes limit the string, how can i incluide them in my string, is it something like  
string = “/“2/”,2”

which would output: “2”,2

Btw I am doing that because a buttton tells the \_root to go to string, would it then goto to scene 2 frame 2 or does that not function ???

thnx !

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [March 22, 2003, 8:04pm UTC](https://forum.kirupa.com/t/how-can-i-write-the-in-a-string/16250/2 "2003-03-22T20:04:20Z")

</div>

close enough, it’s

```auto
string = "\"2\",2"

```

🙂

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [March 22, 2003, 8:20pm UTC](https://forum.kirupa.com/t/how-can-i-write-the-in-a-string/16250/3 "2003-03-22T20:20:31Z")

</div>

All right thnx for the tip, however what i wanted to do doesnt work:

```auto
on (release, keyPress "<Left>") {
	gotoAndPlay(_root.framelabel);
}

```

I want the button to send the user to scene 1 frame one which i have called  
'framelabel on the root level:

```auto
framelabel = "\"1\",1"

```

it just daint work !

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [March 22, 2003, 8:23pm UTC](https://forum.kirupa.com/t/how-can-i-write-the-in-a-string/16250/4 "2003-03-22T20:23:45Z")

</div>

[AS]framelabel = ‘“2”’[/AS]  
works for sure

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [March 22, 2003, 8:32pm UTC](https://forum.kirupa.com/t/how-can-i-write-the-in-a-string/16250/5 "2003-03-22T20:32:30Z")

</div>

im not sure if it’s possible to do that, as the gotoAndPlay(scene, frame) expects two arguments, and the scene name must be quoted string, i.e. you cant have a variable name in there.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [March 23, 2003, 12:26pm UTC](https://forum.kirupa.com/t/how-can-i-write-the-in-a-string/16250/6 "2003-03-23T12:26:11Z")

</div>

Get rid of those scene/frame numbers, just USE a framelabel in your goto!  
label=“location”;  
on release gotoAndPlay (label);

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [March 23, 2003, 4:08pm UTC](https://forum.kirupa.com/t/how-can-i-write-the-in-a-string/16250/7 "2003-03-23T16:08:38Z")

</div>

i’d love to but does the label work for a different scene too ?
