frameWidth not defined in AxButton.text (0.9.4 r2)

Found a bug? Post here to help get it resolved as soon as possible.

frameWidth not defined in AxButton.text (0.9.4 r2)

Postby Ats » Fri Oct 03, 2014 9:11 am

Hi Arkeus,
I've switched to 0.9.4 and now whenever I try to add an AxButton I get that error:
AxButton.as(80): col: 60 Error: Access of undefined property frameWidth.


frameWidth is not defined in the public function text(str:String, font:AxFont = null, verticalOffset:uint = 10, horizontalOffset:uint = 0):AxButton

What should I do?
Ats
Master Sergeant
 
Posts: 33
Joined: Wed Mar 06, 2013 6:10 pm

Re: frameWidth not defined in AxButton.text (0.9.4 r2)

Postby Arkeus » Fri Oct 03, 2014 9:14 am

Can you try grabbing r3 from the beta repository and let me know if that works. If not I'll take a look at it tonight after work.

https://github.com/arkeus/axel-dev

I moved all active development to that, so that I can stop breaking the beta branch when I push to it (but I might end up breaking this). Unfortunately I haven't gotten to a point where I'm satisfied with the state of this to push it over to beta.

Maybe AxButton should be the next thing I write tests for, since I am notorious for breaking it since none of my projects ever use it.
Image
User avatar
Arkeus
Site Admin
 
Posts: 363
Joined: Mon Mar 26, 2012 12:43 am

Re: frameWidth not defined in AxButton.text (0.9.4 r2)

Postby Ats » Fri Oct 03, 2014 12:07 pm

Sorry, forget what I posted one hour ago. I unzipped axel library in the wrong project...
Buttons are working now in 0.9.4 r3.
Thanks ;)
Ats
Master Sergeant
 
Posts: 33
Joined: Wed Mar 06, 2013 6:10 pm


Return to Bugs

Who is online

Users browsing this forum: No registered users and 1 guest

cron