# Simple variable/if statement question THANKS!

**URL:** https://forum.kirupa.com/t/simple-variable-if-statement-question-thanks/274793
**Category:** flash
**Created:** [November 4, 2008, 9:56pm UTC](https://forum.kirupa.com/t/simple-variable-if-statement-question-thanks/274793 "2008-11-04T21:56:02Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![SteveEarle](https://avatars.discourse-cdn.com/v4/letter/s/6f9a4e/32.png) [@SteveEarle](https://forum.kirupa.com/u/SteveEarle)
#### Post date: [November 4, 2008, 9:56pm UTC](https://forum.kirupa.com/t/simple-variable-if-statement-question-thanks/274793/1 "2008-11-04T21:56:02Z")

</div>

I have text in a dynamic field showing up as circle. I want to say if circle shows up change it to cercle (french).

//here’s the call that circle is coming from:  
rNum = $act.getRandomNum(0,1);  
(rNum == 0)? qType = “circle” : qType = “triangle”;

//here’s my attemp to fix it:  
var newCercle:String = “cercle”;  
if (qType == “circle”){  
newCercle == “cercle”  
}  
thanks!
