I have pasted a piece of code to pass value using query
string,I am sure there wouldn't be any problem with code.But I get
error calling getURL() method.
The error I am getting on compilation is,
Call to a possibly undefined method getURL.
I also tried giving entire url as "
since I am running the application using local Tomcat server.both
the mxml apps,That is, calling.mxml(PassParam.mxml) and
called.mxml(QueryStringSample.mxml) are in same package/Folder
what is the cause for this probblem .
Now that the Flex 2.0 forums are all set up, it is time to
start using them for 2.0 questions. So in the future, don't post
2.0 questions here.
In the meantime, getURL has been changed to navigateToURL().
See the docs for details.
Also, I think you are mixing Flex 1.5 and 2.0. 2.0 does not
use a server, and you do not call mxml file directly. Instead you
compile the swf with FlexBuilder or the command line compiler, and
call the html wrapper.