I just bought and installed the Flash Builder 4 after having the Beta for a while. The same code is giving me compile-time errors and suggests using mx1 instead of mx! If I make it mx1 the compile error goes away. Here is the top of my component:
<s:SkinnableContainer xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/halo"
I mentioned nothing about mx1.
I used:
xmlns:mx="library://ns.adobe.com/flex/mx"
instead of:
xmlns:mx="library://ns.adobe.com/flex/halo"
and it worked.
Related
I'm using XPROC and the XPROC Processor MorganaXProc-IIIse. I'm actually just trying to create a directory through XPROC. However, all I get is this error message:
No visible declaration for '{http://www.w3.org/ns/xproc-step/filesystem}file-mkdir' found: Check spelling, imports or #use-when values.
Code:
<?xml version="1.0" encoding="UTF-8"?>
<p:declare-step xmlns:p="http://www.w3.org/ns/xproc" xmlns:pf="http://www.w3.org/ns/xproc-step/filesystem" name="pipeline" version="3.0">
<p:variable name="base.dir" select="'.'"/>
<pf:file-mkdir href="${basedir}/lib"/>
</p:declare-step>
Since documentation is very limited, any hint is appreciated.
Thanks
In the context of XProc 3, the file-mkdir step is in the namespace http://www.w3.org/ns/xproc so using the prefix p your pipeline declares for that should work: <p:file-mkdir href="${basedir}/lib"/> instead of <pf:file-mkdir href="${basedir}/lib"/>.
I have 50 MPGW's, i want to export specific/individual gateway through soma script.I tried few scripta but didnt worked out. I tried domain export it is working but specific objecf export is not working.Please help me on it
It is fairly simple, really, you just need to point out the objects you want to export, e.g.:
<?xml version="1.0" encoding="UTF-8"?>
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
<env:Body>
<dp:request xmlns:dp="http://www.datapower.com/schemas/management">
<dp:do-export format="ZIP" all-files="false">
<dp:user-comment>This is a SOMA Export...</dp:user-comment>
<dp:object class="MultiProtocolGateway" name="MPGW_1" ref-objects="true" ref-files="true"/>
<dp:object class="MultiProtocolGateway" name="MPGW_2" ref-objects="true" ref-files="true"/>
</dp:do-export>
</dp:request>
</env:Body>
</env:Envelope>
Having some trouble setting a WizardStyle in QTIFW I have read the documentation and cant understand why the following doesn't work.
<'WizardStyle>Mac<'/WizardStyle>
<'Background>logo.png<'Background>
(Obviously excluding ' char)
Qt Documentation:
Background - Filename for an image used as QWizard::BackgroundPixmap
(only used by MacStyle). WizardStyle - Set the wizard style to be used
("Modern", "Mac", "Aero" or "Classic").
I get the following error:
Caught exception: Error in config\config.xml, line 8, column 17: Unexpected element 'WizardStyle'
<?xml version="1.0" encoding="UTF-8"?>
<Installer>
<Name>Dave Installer</Name>
<Version>1.2.3</Version>
<Title>Dave Installer</Title>
<Publisher>Dave</Publisher>
<Icon>qticon</Icon>
<WizardStyle>Mac</WizardStyle>
<Background>logo.png</Background>
<StartMenuDir>Super App</StartMenuDir>
<TargetDir>#RootDir#InstallationDirectory</TargetDir>
<RunProgram>#TargetDir#/qt</RunProgram>
<RunProgramDescription>Qt Installer</RunProgramDescription>
</Installer>
According to comments made in bug 470 and 452, the WizardStyle tag implementation never made it into the v1.5 release (at least the compiled binary). So you'll have to get a later release (the master is at ~v2.0).
I could not play the parallel effect which is defined by the following code:
var parallel:Parallel=new Parallel();
var E1:WipeDown=new WipeDown();
var E2:WipeLeft=new WipeLeft();
parallel.addChild(E2);
parallel.addChild(E1);
parallel.duration=2000;
parallel.target=this;
parallel.play();
On playin the effect by calling effect() function only the effect E1 is getting played.
If the code was:
parallel.addChild(E1);
parallel.addChild(E2);
instead of:
parallel.addChild(E2);
parallel.addChild(E1);
then only the effect E2 is getting played..
To summurize only the top most child effect is getting played..
Can any one plese suggest a solution...
<code>
<mx:Parallel target="{this}" id="wipeDownLeft" duration="2000">
<mx:WipeDown target="{this}" duration="2000"/>
<mx:WipeLeft target="{this}" duration="2000"/>
</code>
If above code is not clear one can check with this application(copy the code and run)
code
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" minWidth="1024" minHeight="768" xmlns:ns1="*">
<mx:Canvas id="C" creationComplete="{E.play()}" width="50%" height="50%" backgroundColor="#387C44">
</mx:Canvas>
<mx:Parallel id="E" duration="2000">
<mx:WipeLeft duration="2000" target="{C}"/>
<mx:WipeDown duration="2000" target="{C}"/>
</mx:Parallel>
<mx:Button click="E.play([C])" x="{C.width+10}" y="{C.height+10}">
</mx:Button>
</mx:Application>
Maybe try setting the target property for each of the child effects instead?
Probably wouldnt hurt to do this for duration either...
I have only used effects in mxml, and this it how ive always done it (same with the doc examples?) - in fact have even done the dual wipe you are trying here, but not in AS...
[Edit] - I cannot see your mxml unlessI go into edit mode, but i cannot submit edits - use the code tags on it...
but same again, specify target and duration for the children not the parallel...
I think, the reason that, WipeLeft and WipeDown are mutually exclusive effects. But must performed in parallel. if you replace a to the , then it will be work. Or if you replace WipeLeft (or WipeDown) effect to some other effect, f.ex. , then it will be work too.
cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'flex:remoting-destination
i got this error when i tried to build my file
i wrote the 'flex:remoting-destination' in a web-application-config file
can any one help me regarding this.
You probably forgot to declare the flex namespace.
Paste this at the top of your web-application-config.xml (noting the xmlns:flex part):
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:flex="http://www.springframework.org/schema/flex"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
http://www.springframework.org/schema/flex
http://www.springframework.org/schema/flex/spring-flex-1.0.xsd">
i just want to add little information to #bart
it will work only when the version of the spring flex is matched..
for these shchema defination version number is important
for spring flex 1.5.2 you should give the version as 1.5 instead of 1.0
similarly spring 3.2.1 you should give 3.2 instead of 2.5