Last active 19 hours ago
I found an issue in the bridge that I already solved.
The DatePicket expects the parameter d to be of type Date and not String.
So you should first convert the String to Date using the following code and format:
var timezone = "EST"; var format = "YYYY-MM-DD HH:MM:SS zzzz" var d = Date("2018-03-01 04:05:42 +0000", format, timezone); DatePicker1.setDateAnimated(d, true);
Please note that timezone needs to be changed based on the timezone you'd like to use:
It is just a .mp4 video (4.6 MB) served by an html5 video tag in a background css layer.
<video autoplay="autoplay" loop muted poster="http://media.creolabs.com/video/creo_video_splash.jpg" class="creo-video-bg" style="height:100vh;"> <source type="video/mp4" src="http://media.creolabs.com/video/creo_video_background.mp4"/> </video>
Hi @awjmans and thanks for contacting us.
Localization features will be introduced in a 1.1 version, we are now working hard trying to finalize a 1.0 by the end of April.
I would be really interested in a Gravity based solution and I'd be happy to assist you if you need any help.
Thanks a lot for the report, if only all reports was so detailed!
We'll fix it for the next beta.
Once you have the image reference you can call:
var data = JPEGRepresentation(value);
var data = PNGRepresentation();
to get binary data.
More information in the Image class doc .
Even if I don't think that your API expects binary data, I think that data should be encoded in some way.
Hi @Yugo starting from the next beta you'll be able to use the following code in the Changed event of the Slider control (assuming that you have a Slider1 and a View1 with a predefined background color set from the Inspector):
// extract original color var color1 = View1.backgroundColor; // extract each component var h = value; var s = color1.saturation; var b = color1.brightness; var a = color1.alpha; // create and set the new color var color2 = Color.hsba(h,s,b,a); View1.backgroundColor = color2;
In the current beta the Color.hsba function is missed.