https://linen.dev logo
Join Discord
Powered by
# haxe-ui
  • m

    most-caravan-45834

    05/25/2020, 4:45 AM
    if you send me i'll test it out
  • m

    most-caravan-45834

    05/25/2020, 4:48 AM
    I never compiled Hashlink, I use the executable that comes with Haxe, should I have compiled it?
  • c

    clever-oil-61353

    05/25/2020, 4:49 AM
    i compiled it out of habit of compiling things. its never a bad idea though.
  • c

    clever-oil-61353

    05/25/2020, 4:50 AM
    trying to remember where these files are..... i had to find em like two days ago. already forgotten where they are
  • m

    most-caravan-45834

    05/25/2020, 4:53 AM
    hahahha
  • m

    most-caravan-45834

    05/25/2020, 4:53 AM
    I'm compiling it here anyway
  • m

    most-caravan-45834

    05/25/2020, 4:53 AM
    Let's see if I can get them
  • c

    clever-oil-61353

    05/25/2020, 4:54 AM
    i really need to organize my files lol
  • m

    most-caravan-45834

    05/25/2020, 4:55 AM
    Let me just see If my compiled installation solves it first
  • c

    clever-oil-61353

    05/25/2020, 4:55 AM
    alright
  • m

    most-caravan-45834

    05/25/2020, 4:55 AM
    It did solve!
  • c

    clever-oil-61353

    05/25/2020, 4:55 AM
    sweet
  • m

    most-caravan-45834

    05/25/2020, 4:55 AM
    Thanks for finding the file anyway
  • c

    clever-oil-61353

    05/25/2020, 4:55 AM
    np
  • m

    most-caravan-45834

    05/25/2020, 4:55 AM
    I had no idea I need to get this files from the compilation
  • m

    most-caravan-45834

    05/25/2020, 4:56 AM
    I had no idea even what they were
  • c

    clever-oil-61353

    05/25/2020, 4:56 AM
    doing something with openfl recently i learned about them.
  • c

    clever-oil-61353

    05/25/2020, 4:56 AM
    trying to do something with openfl anyways lol
  • m

    most-caravan-45834

    05/25/2020, 5:02 AM
    Oh my, now running my projeto in HL I'm getting runtime erros I most certainly should't be getting. But I won't flood Ian with more errors, let him get back first
  • m

    most-caravan-45834

    05/25/2020, 5:15 AM
    Well let's just leave it here: This code is working fine in cpp target:
    Copy code
    haxe
    uiRoot = ComponentMacros.buildComponent("assets/editor/xml/map_properties.xml");
    
    mapIdProperty = uiRoot.findComponent("map_id", Property, true);
    But in Hashlink target I'm getting:
    Copy code
    Uncaught exception: Can't cast haxe.ui.components.TextField to haxe.ui.containers.properties.Property
    at the findComponent line. xml:
    Copy code
    xml
    <?xml version="1.0" encoding="utf-8" ?>
    <vbox>
        <property-grid width="250" height="300">
            <property-group text="Primary Group">
                <property id="map_id" label="ID" />
                <property id="tilemap" label="Tile Map" type="list">
                    <data>
                        <item value="<Empty>" />
                    </data>
                </property>
            </property-group>
        </property-grid>
    </vbox>
  • c

    clever-oil-61353

    05/25/2020, 5:19 AM
    interesting.
  • m

    most-caravan-45834

    05/25/2020, 5:22 AM
    interestingly odd hahaha
  • c

    clever-oil-61353

    05/25/2020, 5:39 AM
    yeah it is
  • c

    clever-oil-61353

    05/25/2020, 7:16 AM
    Finally!!! I got this code editor stuff working. lol
  • c

    clever-oil-61353

    05/25/2020, 7:17 AM
    We can just keep how long it took me on the low low.... wink wink.
  • b

    bright-gpu-74537

    05/25/2020, 7:18 AM
    that exception is verrrry strange
  • c

    clever-oil-61353

    05/25/2020, 7:20 AM
    it is.... its working the usual way, then trying the hl it becomes in issue.
  • c

    clever-oil-61353

    05/25/2020, 7:20 AM
    trying through the hl......
  • c

    clever-oil-61353

    05/25/2020, 7:21 AM
    i misread.... so fine to cpp.... but not to hl bytecode i guess that is
  • b

    bright-gpu-74537

    05/25/2020, 7:21 AM
    we talking about the
    Uncaught exception: Can't cast haxe.ui.components.TextField to haxe.ui.containers.properties.Property
    exception?
1...233234235...1687Latest