Groups | Blog | Home
all groups > flash data integration > december 2004 >

flash data integration : using xpath in .as files



docaud
12/8/2004 7:31:58 PM
I'm successfully using xpath calls in a .fla (add DataBindingClasses to
library, import mx.xpath.xpathAPI etc.) But now I want to move the actionscript
using the xpath calls to an .as file. This file won't compile as it can't find
the mx.xpath package. I've seen similar problems posted earlier but the answer
has been to drag DataBindingClasses tothe library. But the .as file doesn't
have a library. Can the DataBindingClasses be included via actionscript in the
..as file? Is there some other undocumented secret here?
Pilipo
12/8/2004 10:48:14 PM
docaud
12/8/2004 11:39:10 PM
Thanks, Pilipo. This works.
I guess that I can't run the check syntax routine on the .as file.
AddThis Social Bookmark Button