Thanks for update. Can we have the file stored in the SDK instead hosting 
outside on another domain. In our case the file never gets loaded because it's 
pulling from an another a domain the client does not have access to [1].  But 
if it were in the SDK it would get compiled with the app and it would always be 
available.


[1] "Loading failed for the <script> with source" ...


-Mark k

-----Original Message-----
From: Carlos Rovira [mailto:carlosrov...@apache.org]
Sent: Thursday, January 10, 2019 3:02 PM
To: dev@royale.apache.org
Subject: [Non-DoD Source] Re: Jewel alert.as

You mean this:

/**
         * constructor.
         *
* <inject_html>
* <link rel="stylesheet" type="text/css" href="
https://cdnjs.cloudflare.com/ajax/libs/dialog-polyfill/0.4.9/dialog-polyfill.min.css
">
* <script src="
https://cdnjs.cloudflare.com/ajax/libs/dialog-polyfill/0.4.9/dialog-polyfill.min.js
"></script>
* </inject_html>
*
         * @langversion 3.0
         * @playerversion Flash 10.2
         * @playerversion AIR 2.6
         * @productversion Royale 0.9.4
         */
        public function Alert()
        {
            super();

            typeNames = "jewel alert";
        }

Alert component uses a polyfill of Dialog and that needs both the js and
the css of that pollyfill that we retrieve from cloud flare.
The inject_html makes that two lines be added to the index.html so it will
be available to use in the application.

thanks


El jue., 10 ene. 2019 a las 20:34, Kessler CTR Mark J
(<mark.kessler....@usmc.mil.invalid>) escribió:

> The 0.9.4 release has a Alert.as [1] file on the ASDOC comment for the
> constructor has a cloudflare referenced CSS.  Is a third party direct
> reference supposed to be in there?
>
>
> [1] projects/Jewel/src/main/royale/jewel/Alert.as
>
> -Mark K
>


--
Carlos Rovira
http://about.me/carlosrovira

Reply via email to