Tag Archives: Init

Class has not initialiser error in Swift – Solved.

By | August 16, 2017

Apart from other languages, when you write a class in Swift, It should have a initialiser. To solve this we have to write init() function in that particular class. Just like below. For example, look at the below class. Here we have 5 variables. The above error usually comes when you don’t initialize all variables… Read More »

How do you call an actionscript function from a html page and viceversa. How to you access the actionscript variable function from an HTML page in actionscript.

By | June 21, 2012

The following code helps you to do this. Save the following  code as am .mxml file The html file start.html