Sarah Allen | 1 Mar 03:55 2006

Re: Dataset URL


I think you want to write:
<dataset name="baseball"

src="http://localhost:8080/lps-3.1.1/charts/src/test/data/pie-data2.xml"
    request="true"/>

When you supply a relative path, the xml file is compiled into the app. 
With an HTTP URL it is fetched at runtime.  By default, it is only 
fetched when you call doRequest() on the dataset.

Sarah

On Mon, Feb 27, 2006 at  2:56 PM, rjain wrote:

>
> Hi
> I am running the Laszlo chart application. If I change the url from 
> <dataset name="baseball" src="../../data/pie-data2.xml"/>
>
> to     <dataset name="baseball"
> 
> src="http://localhost:8080/lps-3.1.1/charts/src/test/data/pie-data2.xml"/>
>
> it doesn't work. I can get to the XML file from my browser.
> Why doesn't HTTP URL work? Do I need to do something specific....
>
> regards
> Rajesh
>
(Continue reading)

Darren Cui Liang | 1 Mar 09:44 2006
Picon

Question about unit test result!

Hi,

I am working with laszlo unit testing and want to make it automated. 
Therefore, I need to get some information from the <TestSuit> component. 
However, I didn't found any event or method in laszlo to tell me that 
the testing is finished.

Is there any way to tell that all the tests are finished?

Thanks!

BR
Darren

Re: File uploads with Laszlo

Hi,
Has anyone managed to change the version of the default runtime compiler to
swf 8 ?
In lps.properties :
compiler.runtime.default=swf8

Makes the compiler crash -> java.lang.RuntimeException: Unknown SWF version:
swf8 
However i can still compile in flash 8 with lzr=swf8...
Darren Cui Liang | 2 Mar 08:19 2006
Picon

Scollwell event!

Hi,
is there any way to get the scroll wheel event in laszlo or flash ?

Thanks!

BR
Darren
Michael Pliskin | 2 Mar 11:56 2006
Picon

Re: Scollwell event!

Hello Darren,

DCL> is there any way to get the scroll wheel event in laszlo or flash ?

  Yes, there is a way, just use the code like the following:
  <method event="onmousewheeldelta" reference="LzKeys" args="d">
    // do whatever you like, d is the delta
  </method>

--

-- 
Best regards,
 Michael                            mailto:pl@...
DL | 2 Mar 19:36 2006

Flash 8 ExternalInterface class

Can Flash 8 ExternalInternal class be used in openlaszlo app?

Example of lzx code anywhere?

>From example here .. (not openlaszlo code) ..

http://blog.deconcept.com/code/externalinterface.html

the decompiled actionscript code (in MM compiled externalinternal.swf) looks like this ..

// ================================================
// Action script...

// [Action in Frame 1]
if (ExpressInstall.init())
{
    stop ();
} // end if

// [Action in Frame 2]
function updateText(newVal)
{
    txtArea.htmlText = newVal;
} // End of the function
function updateColorBox(val)
{
    colorBox.gotoAndStop(val);
} // End of the function
function sendText()
{
(Continue reading)

Henry Minsky | 2 Mar 19:42 2006
Picon

Re: Flash 8 ExternalInterface class

I think it should work, but we haven't tried it yet for anything.


On 3/2/06, DL <dl.lists-XZoyATsUNX5Wk0Htik3J/w@public.gmane.org > wrote:
Can Flash 8 ExternalInternal class be used in openlaszlo app?

Example of lzx code anywhere?

From example here .. (not openlaszlo code) ..


the decompiled actionscript code (in MM compiled externalinternal.swf) looks like this ..


// ================================================
// Action script...

// [Action in Frame 1]
if (ExpressInstall.init())
{
    stop ();
} // end if

// [Action in Frame 2]
function updateText(newVal)
{
    txtArea.htmlText = newVal;
} // End of the function
function updateColorBox(val)
{
    colorBox.gotoAndStop(val);
} // End of the function
function sendText()
{
} // End of the function
var ei1 = flash.external.ExternalInterface.addCallback("updateText", null, updateText);
var ei2 = flash.external.ExternalInterface.addCallback("updateColorBox", null, updateColorBox);
stop ();
// ================================================

DL

_______________________________________________
Laszlo-user mailing list
Laszlo-user-qwsyeSSt21a05dI2w8foGA@public.gmane.org
http://www.openlaszlo.org/mailman/listinfo/laszlo-user





--
Henry Minsky
Software Architect
hminsky-oDN+GTs16Eu/3pe1ocb+swC/G2K4zDHf@public.gmane.org

_______________________________________________
Laszlo-user mailing list
Laszlo-user@...
http://www.openlaszlo.org/mailman/listinfo/laszlo-user
Sarah Allen | 2 Mar 20:06 2006

Re: Scollwell event!

Darren,

There are also mousewheel events built into the scrollbar:

http://www.laszlosystems.com/lps-3.1.1/docs/reference/index.html?basescrollbar.html

Sarah

On Thu, Mar 2, 2006 at  2:56 AM, Michael Pliskin wrote:

> Hello Darren,
>
> DCL> is there any way to get the scroll wheel event in laszlo or flash 
> ?
>
>   Yes, there is a way, just use the code like the following:
>       // do whatever you like, d is the delta
>
> -- 
> Best regards,
>  Michael                            mailto:pl@...
>
> _______________________________________________
> Laszlo-user mailing list
> Laszlo-user@...
> http://www.openlaszlo.org/mailman/listinfo/laszlo-user
DL | 2 Mar 20:24 2006

Re: Flash 8 ExternalInterface class

On 2 Mar 2006 at 13:42, Henry Minsky wrote:

> I think it should work, but we haven't tried it yet for anything.

See original question and example (not yet working) posted here ..

http://www.laszlosystems.com/developers/community/forums/showthread.php?s=&threadid=5549
graphis1 | 2 Mar 20:52 2006
Picon

undefined method warning

Would anyone be kind enough to take two minutes to help me with an  
undefined method problem, as posted here:
http://www.laszlosystems.com/developers/community/forums/ 
showthread.php?s=&threadid=5554

(Also, is this the correct way and mailing list to ask for help?)

Gmane