≡
Products
▼
Support
▼
Company
▼
Forum
Ambiera Forum
Discussions, Help and Support.
Create a new account
,
Search
, or Login:
Create reply in
Using 2d overlay items as buttons in actionscript
Posted by:
(you are not logged in)
Enter the missing letter in: "Inter?ational"
(you are not logged in)
Text:
[quote][b][/b] wrote: I tried using the method u suggested Niko but I don't know how i can reach variables made in CC from actionscript. Currently i set the variable 'current_view' (valuetype = value) when a 2d overlay item is clicked. The variable works fine within CC editor, but how can i reach it from AS3? I tried declaring the variable in the main class and trace it when a key is pressed but it gives me this error [Fault] exception, information=ArgumentError: Error 1063: Argument count mismatch on Main/keyDown(). Expected 0, got 1. Also simpleAPI.current_view doesn't work (was a long shot anyways ;) ) Is it possible to reach CC editor variables from AS?[/quote]
Possible Codes
Feature
Code
Link
[url] www.example.com [/url]
Bold
[b]bold text[/b]
Image
[img]http://www.example.com/image.jpg[/img]
Quote
[quote]quoted text[/quote]
Code
[code]source code[/code]
Emoticons
Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact