xAP Flash nee Joggler beta 5

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • Kevin
    Moderator
    • Jan 2004
    • 558

    Originally posted by BodgeIT View Post
    Sorry..one other thing I did notice Kevin is that the Layout function has changed.
    We changed the old 'config' so that when the numbered tags are displayed they are only shown for currently visible elements. Before you would get tags for everything, which was very confusing and as your project grew it got even more so. Any overlapping tags now also show as a circle with the ++ symbol inside - if you click on that they cascade out.

    Being able to page through your design within layout mode,and redraw the now visible tags is possible to do I guess, but it likely didn't work that way as coded and so leaving layout mode is a solution - however I didn't intentionally make it do that . I'll take a look

    K

    Comment

    • Kevin
      Moderator
      • Jan 2004
      • 558

      Documentation

      Gary has done some great work reformattting and proof reading some of the docs - thanks Gary

      However they've evolved in a rather spurious way and we need to produce something more useful to new users and less Joggler centric. This is something that takes time, diverts from development and is always left to last minute , and hence delays releases, as it is now.

      If anyone could help here we'd much appreciate it , it's a great way that a non coder but a good communicator could really assist.

      K

      Comment

      • SiliconPixel
        Automated Home Sr Member
        • May 2007
        • 52

        RGB controller

        I've been sitting down and trying to work out what items I want controlled from each Joggler/PC flash interface.

        One of the things i'd like to do is control the RGB leds I have.

        I think i could find an RGB actionscript colour wheel that outputs the RGB values (0-255) plus an intensity or luminance value.

        What I was wondering is if this could be incorporated as a 'bolt on' SWF to the existing beta or whether you'd have to code something to allow it to work?

        Do you currently allow an external button SWF to pass any values or not?

        My thoughts are that it could work as a popup slider but with the colour wheel instead of the simple slider - just like this:

        This is a discussion forum for all issues related to macromedia flash and shockwave, fireworks, development


        That's a bit too complex, but it's the general type of thing I mean.

        What do you think?

        Paul.

        Comment

        • Kevin
          Moderator
          • Jan 2004
          • 558

          Originally posted by SiliconPixel View Post
          Do you currently allow an external button SWF to pass any values or not?

          Paul.

          The quick answer is no - an external SWF can display the 10 or so button states and can pass click on/off and long press information but that's about it. We don't currently support external SWF sliders and even if we did they are single channel only whereas your RGB wheel uses 4 or 5 analogue channels.

          At some future time we might define an API for linking external AS3 based SWF's with xAPFlash and passing values, then if you have the Flash coding ability you could then create or adapt an existing FLA and use it. Handling 4 or 5 analog channels in a linked two way fashion is fairly specialised though. The SWF would really have to be AS3 as well.

          Just considering this from the xAP side do you already have in place a xAP schema that can control and report /event the colour lighting ? Is this a BSC breakapart of the RGB channels or a specific colour schema ? If it's the former then you've also got the issue of generating multiple control messages , or even better multi body BSC messages which will provide coherent commands - and then synchronising back multiple event messages to one device status. Currently each button/slider has only one associated xAP endpoint / schema.

          All in all it's a pretty specialised and awkward thing to implement - not impossible but custom. Maybe better to just have RGB presets (scenes) that you can trigger from buttons - which you could do already.

          K

          Comment

          • SiliconPixel
            Automated Home Sr Member
            • May 2007
            • 52

            Many thanks Kevin,

            I thought that would be the case - I guess I can use 3-4 individual sliders for now although it's a bit messier but doable I think.

            Yes - I'm using Lehane's xAP DMX512 plugin with the milford inst DMX controller - that allows BSC control.

            Not sure about reporting - never used that as this is the only control, so nothing else changes the RGB LED's and I've not needed status reporting yet.

            I send single messages as each DMX channel is set to a R,G or B value for each light - not sure it supports multi-body messages - probably not I'd have thought.

            A future API would be great to allow others to develop on top

            Paul.

            Comment

            • Digizz
              Automated Home Jr Member
              • Feb 2004
              • 17

              CCTV viewing?

              Anyone got a simple webcam or CCTV feed working on the joggler?

              Simple image refresh type stream for example. Is this possible in the current build?

              Thanks.

              Comment

              • BodgeIT
                Automated Home Sr Member
                • Jul 2010
                • 57

                I've been trying to get my WVC200 stream wrapped in the <img> tag but no go yet.
                It's an mpg stream, so I just don't think it'll go.

                Comment

                • SiliconPixel
                  Automated Home Sr Member
                  • May 2007
                  • 52

                  Alpha?

                  Playing with the alpha of a text box -
                  The spreadsheet seems (?) to imply that you can set alpha for the textbox itself and separately for the background? Or is that not the case (doesn't seem to work.)

                  I was trying to have a semi-transparent textbox but with 1.0 alpha text.

                  thanks,

                  Paul.

                  Comment

                  • Kevin
                    Moderator
                    • Jan 2004
                    • 558

                    The <background> tag within a textbox is only a boolean and can't contan an <alpha> sub tag - it's either show a solid color background or not - so the alpha of a textbox applies to the 'textbox' ie both the background and the text itself. The <alpha> tag within <textbox><background> at cell 073 shows N/A (blank) I think.

                    To create solid text on a semi transparent background it would be best to use a page with alpha 1.0 and an inserted background set to the appropriate alpha and then add a separate textbox with 1.0 alpha and background false...

                    .... or alternatively a page with appropriate alpha and then an alpha 1.0 background used (which will then be semi transaprent as it will use the page alpha) .. then layer another page with no background and 1.0 alpha containing a textbox with no background - and the text will be solid.

                    K
                    Last edited by Kevin; 16 October 2010, 11:26 PM.

                    Comment

                    • Digizz
                      Automated Home Jr Member
                      • Feb 2004
                      • 17

                      That makes sense, thanks Kevin.

                      Comment

                      • Digizz
                        Automated Home Jr Member
                        • Feb 2004
                        • 17

                        Could I make a request - when you release the next version of the swf, could you also create a projector (.exe). I find that so much better than running the swf in a browser.

                        Thanks,

                        Paul.

                        Comment

                        • SiliconPixel
                          Automated Home Sr Member
                          • May 2007
                          • 52

                          Password?

                          How does the password tag work?

                          I setup a second page and have the following config for it:

                          Code:
                          		<page NAME="Second">
                          		<posX></posX>
                          		<posY></posY>
                          		<width></width>
                          		<height></height>
                          		<visible>true</visible>
                          		<background></background>
                          		<opacity>1</opacity>
                          		<password>1234</password>
                          But when I go to it, I don't get asked for a password.

                          Thanks,

                          Paul.

                          Comment

                          • SiliconPixel
                            Automated Home Sr Member
                            • May 2007
                            • 52

                            Parent tag?

                            Oh, and Martyn - could you possibly explain the parent tag/structure - I couldn't find it in the docs unless I missed it?

                            Thanks.

                            Comment

                            • Kevin
                              Moderator
                              • Jan 2004
                              • 558

                              Just a couple more screenshots to show some things that I'm working on.

                              The ability to colour match a slider to the three inbuilt styles of red, black and blue will be there, followed by an ability to choose your own slider colours and possibly (in a later beta) button colours too. The colour banding of the left slider is just done by mid alpha text box overlays so you can do that already. Might look better with the other way around with the slider having a mid alpha value and sitting on top of the coloured text boxes.



                              The rotating dial counters is just some playing I'm doing with embedded SWF's. They really do rotate like an old style meter - I tried to catch some digits mid turn . The watts to the right are recalculated every pulse, and each pulse represents 1 watt/hr of usage so about every couple of secs. Very realtime :-)

                              This one would need you to have the right xAP devices reporting on your network - in this case xAP messages for the meter pulses and a persistent 'xAP' counter endpoint for the actual count - so that the dials match your meter readouts regardless of whether xAP Flash remains running or not. A xAP Netiom and KWHR DIN modules with pulse outputs for example , although I am using OPNMax as it then provides logging and graphing.

                              I've still got the various room temp sensors to connect (first screenshot) and the gas and water counters to wire up to the pulse sensors that are already fitted. Interestingly this also works with C-Bus if you use their power monitoring approach (and my xAP C-Bus gateway).




                              The embedding of SWF's and an ability to pass values from xAP or call their internal functions (subroutines) is what I'm exploring but as long as you have the FLA available I think it will be very possible. Most of the pre-made widgets seem to include this.... A well documented and flexible SWF might also be useable.

                              Sorry for the delay in the wider release of beta 5 but Martyn and I are finding it hard to coordinate our availability coincident with us each having a stable release we can merge. Plus I just have something to sort which is working on the PC but not on the Joggler.... Each new feature means documentation changes ... which are very boring..... real soon though...

                              K
                              Last edited by Kevin; 21 October 2010, 03:19 AM.

                              Comment

                              • Digizz
                                Automated Home Jr Member
                                • Feb 2004
                                • 17

                                Looks great Kevin,

                                Is it just the standard sliders that can be coloured or will the popup sliders work in the same way? I'm guessing not?

                                Must post a pic of the layout I'm working on with my new button styling - soon!

                                Paul.

                                Comment

                                Working...
                                X