Oh yes of course, silly me. I've actually used this method to replace missing
parameters like 'data' in lots of other places in the app.
Many thanks for all your help.
Doug
--
Sent from: http://apache-royale-users.20374.n8.nabble.com/
Good idea.
I’ll try to do that…
> On Mar 8, 2018, at 9:04 PM, Alex Harui wrote:
>
> It would be great to identify a bead from this pattern so others can just
> drop a bead in their code instead of having to add a parameter and use
> bracket access.
>
> I forgot that EscapedFragmentBead extends
It would be great to identify a bead from this pattern so others can just
drop a bead in their code instead of having to add a parameter and use
bracket access.
I forgot that EscapedFragmentBead extends URLParameterBead. The
URLParameter bead currently just returns the entire query string, but so
Just add the following to your main class:
public var parameters:Object;
Also: Make sure you use bracket access (i.e. this.parameters[“anything”]
instead of this.parameters.anything) to the parameters var to prevent renaming
problems when it’s minified.
HTH,
Harbs
> On Mar 8, 2018, at 3:48 AM
Hi Harbs,
I don't understand how to access these parameters in the app's main file
since Application.parameters.anything won't compile.
Doug
--
Sent from: http://apache-royale-users.20374.n8.nabble.com/
That's brilliant almost the same as the old flex way.
Thanks so much for that.
Doug
--
Sent from: http://apache-royale-users.20374.n8.nabble.com/
> On Mar 7, 2018, at 5:35 AM, doug777 wrote:
>
> I have almost finished converting my old Flex browser app to FlexJS (js
> only), but I have 4 problems left that I can't find a way to convert. Can
> anyone help to suggest a way to go with these items?
>
> 1. Application.parameters - I need to p
Justin,
Yes it supported through maven. You are using: ${basedir}
/src/resources/mdl-js-index-template.html
2018-03-07 7:58 GMT+01:00 Justin Mclean :
> Hi,
>
> > It will work, but IMO it is a bit of a hack. No real need to add a class
> > to your app just to inject HTML in your app.
>
> It rea
Hi,
> It will work, but IMO it is a bit of a hack. No real need to add a class
> to your app just to inject HTML in your app.
It reads well in the application I think which counts for something, I’m sure
there are many other ways of doing the same thing.
> That's why we have the -html-template
It will work, but IMO it is a bit of a hack. No real need to add a class
to your app just to inject HTML in your app. That's why we have the
-html-template compiler option. Normally inject_html is used to inject
HTML needed to operate the rest of the code in the class.
Not sure it makes sense t
Cool! I just wanted to have clarification. Maybe Royale JS only ;) Not
sure. I'm really happy that you were able to goes so far and you are using
Moonshine. :)
Thanks, Piotr
2018-03-07 7:10 GMT+01:00 doug777 :
> Piotr
>
> I guarantee everything is Royale - I just wanted to indicate that it's a
Piotr
I guarantee everything is Royale - I just wanted to indicate that it's a js
only project. Should I say Royale JS?
Doug
--
Sent from: http://apache-royale-users.20374.n8.nabble.com/
Doug,
We are open for improvements in case of Moonshine! Shoot us anything what
you have on GitHub :) Just one more thing, because you have mentioned in
your first email in that chain FlexJS, so are you not using Royale but
older FlexJS ?
Thanks a lot!,
Piotr
2018-03-07 7:02 GMT+01:00 doug777 :
Hi Piotr,
I hope I can do that but I think I'm still some way from finishing. Although
I've been testing snippets as I've gone along, I'm pretty sure there will
still be lots of problems once it all has to work together. But I can't test
that till I can get the whole thing to compile.
But having
I'll certainly give that a try. Thanks very much Justin.
Doug
--
Sent from: http://apache-royale-users.20374.n8.nabble.com/
Hi,
Sorry this bounced, so my emails will be out of order, trying again.
> Re EmbedFont : Actually it's not that important. We use it to get special
> characters
In that case something like this may work:
...
In fonts/Catamara.as
package fonts {
import org.apache.flex
Hi Doug,
Great to hear that! Once you finished and if it will be possible share with
us link, screens etc. Maybe we can place it somewhere as a great news. :)
Thanks,
Piotr
On Wed, Mar 7, 2018, 05:47 doug777 wrote:
> Ok that is all very helpful.
>
> Thanks so much, Alex. Much appreciated.
>
>
Ok that is all very helpful.
Thanks so much, Alex. Much appreciated.
Doug
--
Sent from: http://apache-royale-users.20374.n8.nabble.com/
For problems like these, the first question is: How do you do it in the
browser at all (without Royale)?
I think the answer is @font-face. If that's true, the way we handle this
right now is to have you use a custom html template. The ASDoc example is
using one.
HTH,
-Alex
On 3/6/18, 8:30 PM,
OK I'll take a look as suggested.
Re EmbedFont : Actually it's not that important. We use it to get special
characters e.g.
[Embed(systemFont="Arial", fontName="currencyFont",
mimeType="application/x-font", fontFamily="Arial Regular",
unicodeRange="U+20A1-20B9", embedAsCFF="false")]
And some sim
Hi Doug,
Great to hear about your progress. My responses in-line.
On 3/6/18, 7:35 PM, "doug777" wrote:
>I have almost finished converting my old Flex browser app to FlexJS (js
>only), but I have 4 problems left that I can't find a way to convert. Can
>anyone help to suggest a way to go with th
I have almost finished converting my old Flex browser app to FlexJS (js
only), but I have 4 problems left that I can't find a way to convert. Can
anyone help to suggest a way to go with these items?
1. Application.parameters - I need to pass variables into the app on
creation.
2. container.stage.
22 matches
Mail list logo