Emacs functionality in flex builder?
has anyone been able to get an emacs-like plugin to work in
flex builder? i really do miss the "TAB" feature & superior
indentation engine.....
Hi,
why don't you try working with the Ecpilse IDE? It has the
emacs built in.
Similar Messages
-
Flex Builder 3 Beta 2 Expires early when using Flex 2 key, and new SDK
I was told to use my Flex 2 key to extend the Beta period for
Flex Builder 3, this worked, today it said I have 99 days left.
but When I installed the latest SDK and restarted Flex
Builder 3 Beta 2, it says it expires in 15 days.
If I put the original SDK back and restart it goes back to 99
days, so If I switch the SDKs while Eclipse is already loaded it
seems to stay at 99 days, so now before I start Eclipse I have to
move the orig SDK back, start Eclipse, then switch SDKs.
This does not make much sense to me, why does the SDK affect
the Builder Beta Period at all? is there a fix for this, I have a
project due but 31st, and I would be screwed if it dies before
then, I already have flex 2 but I cannot roll back as this project
relies on Flex Builder 3 Functionality.I the probelm we are stating is that we DID enter our flex 2
key and it DID initially set the expire date out, but I needed to
use a later SDK and thats when the problem occured. without the
latest the ImageSnapshot.captureImage does not work at all for me,
so must use a later SDK. However this morning my Eclipse started
stating 96 days remaining and I am still using the latest SDK, so
no idea why it works sometimes and not others. -
Where does flex builder keep refererences to the flex projects?
Where does flex builder keep refererences to the flex projects?
I'm getting an error like this on FB3 startup:
The folder PR System Intranet does not exist in the workspace so the reference must be somewhere else.
thanks
!SESSION 2009-11-02 09:47:52.203 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.5.0_11
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_GB
Command-line arguments: -os win32 -ws win32 -arch x86
!ENTRY org.eclipse.core.resources 2 10035 2009-11-02 09:47:53.610
!MESSAGE The workspace exited with unsaved changes in the previous session; refreshing workspace to recover changes.
!ENTRY org.eclipse.core.resources 4 567 2009-11-02 09:47:53.829
!MESSAGE Workspace restored, but some problems occurred.
!SUBENTRY 1 org.eclipse.core.resources 4 567 2009-11-02 09:47:53.829
!MESSAGE Could not read metadata for 'PR System Intranet'.
!STACK 1
org.eclipse.core.internal.resources.ResourceException: The project description file (.project) for 'PR System Intranet' is missing. This file contains important information about the project. The project will not function properly until this file is restored.
at org.eclipse.core.internal.localstore.FileSystemResourceManager.read(FileSystemResourceMan ager.java:663)
at org.eclipse.core.internal.resources.SaveManager.restoreMetaInfo(SaveManager.java:792)
at org.eclipse.core.internal.resources.SaveManager.restoreMetaInfo(SaveManager.java:772)
at org.eclipse.core.internal.resources.SaveManager.restore(SaveManager.java:663)
at org.eclipse.core.internal.resources.SaveManager.startup(SaveManager.java:1319)
at org.eclipse.core.internal.resources.Workspace.startup(Workspace.java:1949)
at org.eclipse.core.internal.resources.Workspace.open(Workspace.java:1713)
at org.eclipse.core.resources.ResourcesPlugin.start(ResourcesPlugin.java:363)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl$2.run(BundleContextImpl.java:9 99)
at java.security.AccessController.doPrivileged(Native Method)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextIm pl.java:993)
at org.eclipse.osgi.framework.internal.core.BundleContextImpl.start(BundleContextImpl.java:9 74)
at org.eclipse.osgi.framework.internal.core.BundleHost.startWorker(BundleHost.java:346)
at org.eclipse.osgi.framework.internal.core.AbstractBundle.start(AbstractBundle.java:260)
at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:400)
at org.eclipse.core.runtime.internal.adaptor.EclipseLazyStarter.postFindLocalClass(EclipseLa zyStarter.java:111)
at org.eclipse.osgi.baseadaptor.loader.ClasspathManager.findLocalClass(ClasspathManager.java :417)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.findLocalClass(DefaultClassLoade r.java:189)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findLocalClass(BundleLoader.java:34 0)
at org.eclipse.osgi.framework.internal.core.SingleSourcePackage.loadClass(SingleSourcePackag e.java:37)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findClassInternal(BundleLoader.java :405)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:369)
at org.eclipse.osgi.framework.internal.core.BundleLoader.findClass(BundleLoader.java:357)
at org.eclipse.osgi.internal.baseadaptor.DefaultClassLoader.loadClass(DefaultClassLoader.jav a:83)
at java.lang.ClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClassInternal(Unknown Source)
at com.adobe.flexbuilder.standalone.FlexBuilderApplication.start(FlexBuilderApplication.java :111)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:169)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLau ncher.java:106)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.jav a:76)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:508)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:447)
at org.eclipse.equinox.launcher.Main.run(Main.java:1173)
at org.eclipse.equinox.launcher.Main.main(Main.java:1148)
!SUBENTRY 2 org.eclipse.core.resources 4 567 2009-11-02 09:47:53.829
!MESSAGE The project description file (.project) for 'PR System Intranet' is missing. This file contains important information about the project. The project will not function properly until this file is restored.
!ENTRY org.eclipse.osgi 4 0 2009-11-02 09:47:53.860
!MESSAGE An error occurred while automatically activating bundle org.eclipse.core.resources (161).
!STACK 0Thanks but that file contains things like
<?xml version="1.0" encoding="UTF-8"?>
<actionScriptProperties mainApplicationPath="main.mxml" version="3">
<compiler additionalCompilerArguments="-services "X:\Coldfusion9\wwwroot\WEB-INF\flex\services-config.xml" -locale en_US" copyDependentFiles="true" enableModuleDebug="true" flexSDK="Flex 3.2" generateAccessible="true" htmlExpressInstall="true" htmlGenerate="false" htmlHistoryManagement="true" htmlPlayerVersion="9.0.28" htmlPlayerVersionCheck="true" outputFolderPath="Staff_Ratings-debug" sourceFolderPath="src" strict="true" useApolloConfig="false" verifyDigests="true" warn="true">
<compilerSourcePath>
<compilerSourcePathEntry kind="1" linkType="1" path="H:/flash"/>
</compilerSourcePath>
<libraryPath defaultLinkType="1">
<libraryPathEntry kind="4" path=""/>
</libraryPath>
<sourceAttachmentPath/>
</compiler>
<applications>
<application path="main.mxml"/>
</applications>
<modules/>
<buildCSSFiles/>
</actionScriptProperties>
I don't see how FB3 knows about the
Pr System Intranet
project that seems to be the cause of the errors. -
Custom Components and Properties in Flex Builder Design View
How do I create a custom component with custom properties
that renders well in Flex Builder design view?
This is a simple HelloWorld example of what I am trying
below. Here is the HelloWorld.mxml file:
<?xml version="1.0" encoding="utf-8"?>
<mx:Canvas xmlns:mx="
http://www.adobe.com/2006/mxml"
width="500" height="500">
<mx:Script><![CDATA[
[Bindable]
public var message:String;
]]></mx:Script>
<mx:Label x="100" y="100" text="{message}" />
</mx:Canvas>
And then when I use it in another mxml file, the design view
does not show the label with the 'Hello World' value - instead it
just shows {message} in design view where the label is located.
When I run it as a compiled app in flash, the 'Hello World' is
displayed correctly:
-- HelloWorldTest.mxml --
<?xml version="1.0" encoding="utf-8"?>
<mx:Canvas xmlns:mx="
http://www.adobe.com/2006/mxml"
xmlns:views="mypackage.*" width="500" height="500">
<views:SimpleLine message="Hello World."/>
</mx:Canvas>design view does not do any variable assignments or function
evaluations, so you won't be able to see it even if you don't use a
custom component. -
I am having problems with Flex builder 3 not building
correctly.
It does incremental builds - to reduce compilation time on
individual changes I assume - but quite often gets it wrong and
produces a whole stack of invalid errors.
I've tried the build clean function but that doesn't seem to
actually perform a full build clean. It only resolves these issues
some of the time. I can mess around with the code - deleting and
then un-deleting lines that are throwing up errors, or sometimes
renaming the main style sheet - which usually fixes it. But this is
a constant drain on my productivity and sometimes no amount of
messing around will help. In those cases only exporting the entire
code base and creating a new project resolves the issue. (I would
guess because this forces a completely clean build)
Does anyone know of a way to either eliminate this problem
alltogether or failing that perform a full clean build through the
builder.
I'm guessing a customised any build script may be the
solution, but I've never created one of these.jfb, I tried all that but to no avail.
Devtron, am not using SVN ! I'm using the Flex Builder standalone version.
Thanks guys for your replies. I just ran out of patience and just started working with FB4 and all is going great !
Thanks again -
Hi,
I am developing a Flash game using as3, I chose flex Builder with an AS3 project. Now I am thinking that if selecting the project to be a flex project instead of as3 project I would have a lot of flex functionality like a swf loader,preloaders and the popup manager etc. The graphic components would obviously have been made in flash and used through the swc (avoiding the heavy mxml components).
Need to know what other developers think of this approach.You must include in library:
${FRAMEWORKS}/locale/{locale} -
Dear Flexer-users,
I have uploaded my first flex builder project (version 4.6, testversion cause I'm a newbie) that communicates with an MYSQL database. The project is called MeinMuc and is just to checkout some basic database functions like add, update, delete etc.
1. Offline:
When I'm offline everything works fine. The project and the ZendFramework folder are both located in C:\wamp\www\
2. Online:
When I upload the project to my provider I keep the structure but it wont work.
Here is the link to MeinMuc.html:
http://kd7854_6480.webspace23.do.de/MeinMuc-debug/MeinMuc.html
And here is the link to my issue-file, amf_config.ini:
http://kd7854_6480.webspace23.do.de/MeinMuc-debug/amf_config.ini
When I open gateway.php (http://kd7854_6480.webspace23.do.de/MeinMuc-debug/gateway.php) I get some issues saying that the zend dir can not be found. But the path in amf_config.ini should be fine. I checked it by opening http://kd7854_6480.webspace23.do.de/ZendFramework/INSTALL.txt and this works.
Does anyone knows what I'm doing wrong? I tried and googled a lot already but without any success so far.
Thanks a lot and best regards, AndreasHello Rupesh,
You need to specify full url like this "http://localhost:90/" and need to start server before validating.
This check may be missed by you.
Thanks,
Vikram -
Upgrading Flex Builder 3 Standard to Flash Builder 4 Premium
Hi there,
Purchased Flex Builder 3 Standard back in January. Came to enjoy (and depend on) the memory profiling functions in the beta 2.
Anyhow, Flash Builder 4 has been released, and I see there is no memory profiler in the Standard edition. I see some conflicting information out there regarding upgrades -- some (third party) websites say it's possible to upgrade Flex Builder 3 Standard to Flash Builder 4 Premium. Adobe's website says it's only possible to upgrade Standard -> Standard, and Premium -> Premium.
The costs to upgrade to Premium from Standard would be prohibitive; I'd have to purchase two separate upgrades and the price would go over $US1000. Am I able to upgrade to Premium using my Flex Builder 3 Standard purchase?
Thanks.Hi,
I don't think that "downgrades" from FB3 Pro to FB4 Standard are officially supported. You might be able to negotiate with a Sales Rep to make an exception for you though, for a discounted price on a non-upgrade version of FB4 Standard.
Alternatively, if you have any interest in CS5 Web Premium (or have any Adobe products qualifying for a CS5 upgrade), FB4 Standard is included with that Suite now.
-Chris -
Flash CS3 vs. Flex Builder 2
Here's the $64,000 question: should we be developing in Flash
CS3 or should we shift over to Flex Builder 2? I maintain that AS
3.0 is a pain in the proverbial, but I've been researching and
finding as much help as possible online about it, and I've found
that by and large people are using Flex Builder 2 as the basis of
tutorials about AS 3.0. Does anyone have an official slant on this
question? Should we abandon Flash for Flex? Will it help? Will it
mitigate the difficulties non-programmers are experiencing with AS
3.0 - or as I call it simply ***? Would I be getting more responses
to my *** questions if I post them over in the *** forum under Flex
Builder?
Any thoughts on this matter would be most welcome, thank
you.Beatie3,
>> Help please.
Sorry about that ... some days are crazier than others. :-/
[From an earlier reply ...]
> Thank you very much, that's exactly the sort of answer I
> needed. Hmmm, cheque's in the mail. ;)
Heh, good on ya! :)
> I'm definitely a 'deseloper' and will stick with Flash.
I wish
> I had the luxury of only dipping into AS3.
I don't know that I'd call it a luxury, really. Work is
work. ;) As
you might imagine, though, Flex Builder 2 provides a number
of scripting
improvements over the Actions panel (there's really no
comparison; if you've
tried them both, the Actions panel barely feels useful) and
the Flex
framework offers significantly more UI Components. Ideally,
if the pocket
book allows it, using both applications is the killer setup.
> My problem is that I built a little program that draws
scale bars
> on uploaded images that can then be printed. It did
everything
> it needed to, but in AS2.0 you can't control the quality
of the
> imported jpgs.
When you say imported, you mean dynamically loaded (loaded
at runtime),
right? Otherwise, I'm confused. The Flash IDE itself allows
you to
determine the quality of imported JPGs. In ActionScript 3.0
... are you
talking about the Stage.quality property?
> I'm experimenting with Sprites and I have something
appearing
> as the line is drawn but I can't crack the new way to
express
> coordinates.
Not sure what might be tripping you up, actually. The
coordinate grid
is the same. Horizontally, higher numbers move toward the
right;
vertically, higher numbers move toward the bottom. That's the
same as it's
been.
> I just want a blue hair line with a nice green dot at
each end
> that can be seen while the line is drawn. Once the
mouseUp
> happens the drawing guide should disappear and the black
> line appear.
Having heard what you're after, I just started a quick
experiment from
scratch. Here's my version, below. Note: I've made no effort
to optimize
my code. This is just a first draft to achieve a blue line
segment with
green dots on each end that becomes a black line segment when
the mouse
lifts.
var startX:Number;
var startY:Number;
var canvas:Sprite = new Sprite();
addChild(canvas);
canvas.stage.addEventListener(MouseEvent.MOUSE_DOWN,
mouseDownHandler);
canvas.stage.addEventListener(MouseEvent.MOUSE_UP,
mouseUpHandler);
function mouseDownHandler(evt:MouseEvent):void {
startX = mouseX;
startY = mouseY;
var dot:Sprite = new Sprite();
dot.name = "dotStart";
dot.graphics.beginFill(0x00FF00);
dot.graphics.drawCircle(mouseX, mouseY, 5);
dot.graphics.endFill();
canvas.addChild(dot);
dot = new Sprite();
dot.name = "dotEnd";
dot.graphics.beginFill(0x00FF00);
dot.graphics.drawCircle(0, 0, 5);
dot.graphics.endFill();
canvas.addChild(dot);
canvas.addEventListener(Event.ENTER_FRAME,
enterFrameHandler);
function enterFrameHandler(evt:Event):void {
var dot:DisplayObject = canvas.getChildByName("dotEnd");
dot.x = mouseX;
dot.y = mouseY;
canvas.graphics.clear();
canvas.graphics.lineStyle(1, 0x0000FF);
canvas.graphics.moveTo(startX, startY);
canvas.graphics.lineTo(mouseX, mouseY);
function mouseUpHandler(evt:MouseEvent):void {
canvas.removeEventListener(Event.ENTER_FRAME,
enterFrameHandler);
canvas.removeChild(canvas.getChildByName("dotStart"));
canvas.removeChild(canvas.getChildByName("dotEnd"));
canvas.graphics.clear();
canvas.graphics.lineStyle(2, 0x000000);
canvas.graphics.moveTo(startX, startY);
canvas.graphics.lineTo(mouseX, mouseY);
There's a lot of repeated code there, and this isn't how I'd
leave the
above in an actual project, but by spilling out a rough cut
like this, I'm
hoping it gives you something to work with -- showing the
mechanics of how
this might be done.
David Stiller
Adobe Community Expert
Dev blog,
http://www.quip.net/blog/
"Luck is the residue of good design." -
Flex Builder 2 corrupting Eclipse 3.2.1
Flex Builder 2 has some issues with Eclipse 3.2.1. I was
working with the trial version, so maybe the full version does not
exhibit these same problems, but if that is the case, then it is
disappointing that adobe is trying to support two separate products
instead of trying to resolve issues.
The largest issue with the Flex Builder 2 plugin for eclipse
is that if you have a flex project in the same workspace as other
projects (like dynamic Java projects) the flex builder 2 will try
to incorporate those projects in to the flex project when you do a
build or a clean only on that specific flex project. As a result,
eclipse consumes enormous amounts of memory that even with 2 gigs
allocated to the heap, it runs in to out of memory exceptions
frequently and the stability of eclipse has degraded significantly
since I installed this product! The flex projects that I had loaded
were some of the examples dealing with SpringGraph so I would not
consider them as being large or complex. When there is a build
occuring on just a Flex Project, it SHOULD HAVE NO BUSINESS even
scanning other non-related projects regardless as to if they are in
the same workspace!!!
I am not too impressed with flex's interface with eclipse on
the memory, the instability it introduced to eclipse, or how
SpringGraph handles large graphs, so I did not pursue getting a
license for future development. I also felt that the asking price
for the Flex Builder 2 is steep for what you get and its maturity
level. As such, when the license expired, Adobe had the nerve to
disable core functionality within Eclipse!!! For example, it would
not allow a CSS document to be opened in the CSS Editor! It
Hijacked the basic Eclipse functionality!!!
I am very disappointed in how the Flex Builder 2 plugin for
Eclipse does not play friendly!
But at least it does allow itself to be disabled. I am
grateful for at least that level of accepted behavior.Cluebcke, thanks for the reply!
I am using a compaq nx7010 laptop with 2 gigs ram, 60 gig hd,
eclipse is set to utilize a minimum of 512 megs and a maximum of
1540 megs for the heap space. Virtual memory is set to a max of
4092 megs. Fairly generous I would assume. I doubt it was a
configuration issue, but hey, I’m open to learning and the
best lessons are through mistakes! ;-)
Sorry, I was being a bit sarcastic when I mentioned that
perhaps the issues were related to the free trial version knowingly
perfectly well that in fact there is no difference between the two
products. But I guess I was also conceding a possible out for Flex
too. Hmm...
To clarify my comment about aggressively compiling against
other projects:
1) I had about 4 demos loaded in to a workspace (269 files,
82 folders, and 7.2 megs including my 1 test project as mentioned
in item 4)
2) I had about 7 large Java projects loaded in to the same
workspace
3) Total workspace size was about 22,000+ files and 1600+
megs, give or take a fair number either way.
4) I was making changes to a simple flex project based upon
a SpringGraph demo
5) I choose to manually build only the small flex project I
was working on so as to replace all the generated files. NOTE:
Might have been a clean, but only on that one flex project and NOT
the whole work space. It takes too long to rebuild all of my other
Java projects so that option has been unchecked for quite a while.
6) What I saw in the Eclipse progress window was a list of
files within my flex project getting reconstructed, and then it
started to scan through the other projects too. All of their names
and resources were flashed within that window.
7) When finished with the build of the ONE flex project, the
Java heap was basically gone. Starting a TomCat server would cause
an out of memory exception. Recall I have allocated 1.5 gigs for
the heap.
8) Checking the other Java projects and Flex projects, the
timestamps on the objects did not reflect that they were just
rebuilt. They were untouched. Proof that I did not perform a build
or a clean over the whole workspace.
I agree with you whole heartedly that unless I explicitly
select “build all” or “clean all” it should
not touch other projects in anyway. But it did.
As far as the issue with the CSS editor, I understand and
accept your point. Perhaps as a friendly suggestion, when the trial
expires, the plugin should uninstall itself. This may be very
doable, and still have the functionality of a reminder and
reactivation upon registration if Flex Builder actually had a
second plugin called something like "FlexBuilder Registration"
which would "intercept" attempts to edit and utilize the
FlexBuilder only functionality so an informative message could be
displayed. The benefit would be that normal functionality for
non-flex resources such as CSS would return to normal.
Anyway, as I stated before, I was not too impressed with
performance of large graphs. What I consider to be large would be
on the magnitude of 20,000 to 100,000+. It would need to display
just about all nodes, or at lease an abstract relationship of those
nodes rolled up to a higher level. I realize that SpringGraph is
not ideal for those situations to begin with, but I was exploring
the idea of writing other plugins to deal with other graphing
formats.
I guess to be fair to Flex in general, I should probably ask
a general question of how well does Flex deal with large data sets
that need to be resident and the manipulations of those data sets?
Thanks for your time,
Scott Tabar -
Problems using Vector in Flex Builder 3
I've been using Vector with no problems in Flash Builder Beta, but when I try the same thing in Flex Builder 3, the compiler throws a fit when I use it.
public function PuzzleEvent(type:String, pieces:Vector.<Sprite>, bubbles:Boolean=false, cancelable:Boolean=false)
//handle PuzzleEvent
The other strange thing is, Flex automatically adds this line when I use vector:
import __AS3__.vec.Vector;
An import shouldn't be necessary should it? Vector is in the top level package right? With or without that import statement, I get compile errors. Has anyone else had such problems with vector in Flex Builder?
DanThe only way I was ever able to solve this problem was to use Flex builder Beta and now Flash Builder 4. I did target flash player 10.0.0, but I still never could get it to work. At least it works in Flash Builder 4.
-
Calling WebServices using Flex Builder
Hello,
I want to use a WebService in the Flex Builder. I first defined the WebService:
<mx:WebService id="test" wsdl="http://ld9030.wdf.sap.corp:50050/sap/bc/srt/rfc/sap/ZTP_TEST4?wsdl" result="log(event)" showBusyCursor="true">
I have 2 importing parameters in the WebService (IText and IText2).
But in the log-method, I cannot access these parameters:
private function log(event:ResultEvent):void {
var test1 = event.result.IText;
Do you know, how I can access the import parameters?
Please find attached the wsdl definition.
Thanks,
Thomas
<?xml version="1.0" encoding="utf-8" ?>
- <wsdl:definitions targetNamespace="urn:sap-com:document:sap:soap:functions:mc-style" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="urn:sap-com:document:sap:soap:functions:mc-style" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
- <wsdl:types>
- <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:tns="urn:sap-com:document:sap:soap:functions:mc-style" targetNamespace="urn:sap-com:document:sap:soap:functions:mc-style" elementFormDefault="unqualified" attributeFormDefault="qualified">
- <xsd:element name="TpTest">
- <xsd:complexType>
- <xsd:sequence>
<xsd:element name="IFlag" type="xsd:string" />
<xsd:element name="IFlag2" type="xsd:string" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
- <xsd:element name="TpTestResponse">
- <xsd:complexType>
- <xsd:sequence>
<xsd:element name="EText" type="xsd:string" />
<xsd:element name="EText2" type="xsd:string" />
</xsd:sequence>
</xsd:complexType>
</xsd:element>
</xsd:schema>
</wsdl:types>
- <wsdl:message name="TpTest">
<wsdl:part name="parameters" element="tns:TpTest" />
</wsdl:message>
- <wsdl:message name="TpTestResponse">
<wsdl:part name="parameters" element="tns:TpTestResponse" />
</wsdl:message>
- <wsdl:portType name="ZTP_TEST4">
- <wsdl:operation name="TpTest">
<wsdl:input message="tns:TpTest" />
<wsdl:output message="tns:TpTestResponse" />
</wsdl:operation>
</wsdl:portType>
- <wsdl:binding name="ZTP_TEST4SoapBinding" type="tns:ZTP_TEST4">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
- <wsdl:operation name="TpTest">
<soap:operation soapAction="" />
- <wsdl:input>
<soap:body use="literal" />
</wsdl:input>
- <wsdl:output>
<soap:body use="literal" />
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
- <wsdl:service name="ZTP_TEST4Service">
- <wsdl:port name="ZTP_TEST4SoapBinding" binding="tns:ZTP_TEST4SoapBinding">
<soap:address location="http://us4419.wdf.sap.corp:50050/sap/bc/srt/rfc/sap/ZTP_TEST4?sap-client=000" />
</wsdl:port>
</wsdl:service>
</wsdl:definitions>You can try putting the URL in a var as the next example:
private var wsdl:String = "http://sapbdo5.bdo-argentina.com:8002/sap/bc/srt/rfc/sap/ZVER_TABLA?wsdl=1.1";
private var wsdl2:String = "http://sapbdo5.bdo-argentina.com:8002/sap/bc/srt/rfc/sap/ZVER_TABLA?sap-client=600&wsdl=1.1";
[Bindable] private var datos:ArrayCollection;
private function retrieve_data():void{
//ws.loadWSDL(wsdl);
ws.loadWSDL(wsdl2);
ws.ZVER_TABLA(txt.text);
private function handleError(ev:Event):void{
Alert.show("Se produjo un error");
private function handleResult(ev:ResultEvent):void{
datos = ev.result.DATA;
]]>
</mx:Script>
<mx:WebService id="ws" showBusyCursor="true" makeObjectsBindable="true">
<mx:operation name="ZVER_TABLA" fault="handleError(event)"
result="handleResult(event)"/>
</mx:WebService>
<mx:TextInput id="txt" enter="retrieve_data()" x="10" y="10"/>
<mx:Button label="Ver datos" click="retrieve_data()" x="178" y="10"/>
<mx:DataGrid id="dtGrid" horizontalScrollPolicy="auto" dataProvider=""
verticalScrollPolicy="auto" right="10" bottom="10" top="40" left="10"
visible="false"/> -
Code Collapse/Folding in Flex Builder?
Hi,
I am using Flex Builder. Is there a way to keep my code collapsed/folded? If I open up a file with a ".as" extension I can collapse my functions but they don't stay collapsed when I re-open the file.
1. Is there a way to keep the code folded so it stays that way until I unfold it?
2. Is there a way to somehow have code folding in .mxml files?
Thanks,
-WestsideYes, I understand how to do that. Cold Folding is already enabled. The problem is if you close/collapse a function then close/re-open the file the functions revert back to open. So if you have a lot of functions in a Class its nice to be able to collapse the other code when your not working in it. It also makes scrolling in the file much quicker when everything is collapsed and stays collapsed.
-Westside -
Comunication and events: Flex Builder 2 with Flash CS3
Hey hello...well, my question is: how can i comunicate Flex
Builder 2 with Flash CS3?
this is my code on Flex Builder 2:
<mx:Script>
<![CDATA[
import mx.controls.*;
import mx.events.*;
public function CargaCompleta(e:Event):void
try
e.target.content.objeto_salida.addEventListener(Event.COMPLETE,uno);
catch(er:Error) { Alert.show(er.message,"Error"); }
public function uno(e:Event):void
try
s1.content["objeto_salida"].removeEventListener(MouseEvent.CLICK,s1.content["Finaliza"]);
s1.source = null;
s1.source = "recursos/reactivos/208M-1R.swf";
catch(er:Error) { Alert.show(er.message,"Error"); }
]]>
</mx:Script>
<mx:SWFLoader id="s1" width="278" height="251"
complete="CargaCompleta(event)"
source="recursos/interactivos/208M-1I.swf">
</mx:SWFLoader>
and when it change from one file to another, on the event
"Complete" for the SWFLodar, an error happend
TypeError: Error #1009: No se puede acceder a una propiedad o
a un método de una referencia a un objeto nulo.
at 208M_fla::MainTimeline/frame1()
Hope somebody can help me...for your time thanks..."Jorge EdOardo" <[email protected]> wrote in
message
news:gfcfcr$9s2$[email protected]..
> Hey hello...well, my question is: how can i comunicate
Flex Builder 2 with
> Flash CS3?
>
> this is my code on Flex Builder 2:
> <mx:Script>
> <![CDATA[
> import mx.controls.*;
> import mx.events.*;
> public function CargaCompleta(e:Event):void
> {
> try
> {
>
e.target.content.objeto_salida.addEventListener(Event.COMPLETE,uno);
> }
> catch(er:Error) { Alert.show(er.message,"Error"); }
> }
> public function uno(e:Event):void
> {
> try
> {
>
>
s1.content["objeto_salida"].removeEventListener(MouseEvent.CLICK,s1.content["Fin
> aliza"]);
> s1.source = null;
> s1.source = "recursos/reactivos/208M-1R.swf";
> }
> catch(er:Error) { Alert.show(er.message,"Error"); }
> }
> ]]>
> </mx:Script>
> <mx:SWFLoader id="s1" width="278" height="251"
> complete="CargaCompleta(event)"
> source="recursos/interactivos/208M-1I.swf">
> </mx:SWFLoader>
>
> and when it change from one file to another, on the
event "Complete" for
> the
> SWFLodar, an error happend
>
> TypeError: Error #1009: No se puede acceder a una
propiedad o a un m?todo
> de
> una referencia a un objeto nulo.
> at 208M_fla::MainTimeline/frame1()
>
> Hope somebody can help me...for your time thanks...
http://weblogs.macromedia.com/pent/archives/2007/04/using_actionscr_1.html -
How to add interface to customlize MXML Component when use Flex Builder 3?
How to add interface to customlize MXML Component when use
Flex Builder 3?David,
I don't believe you can add the interface via the creation
dialog in FlexBuilder 3. You can always manually add the
"implements" property to your MXML Component root tag. Something
like this: <mx:VBox implements="com.mycorp.IMyInterface">
If you want autogeneration of the interface, then create an
ActionScript class with that interface and then copy the generated
functions and setter/getters into the script block of your MXML
component.
Maybe you are looking for
-
How to import photos photo booth
Hi, I just did a clean install of mavericks. I have a folder of my previous photobooth images/videos. Can someone please explain to me how I can add these back in so that they show up in photo booth when I open that app? Thanks, Steve
-
Facilty link to Interest Rate Instrument
Hi, I have created different facility like: 1. Short term loan 2. Medium term loan 3. Bill discounting 4. Letters of Credit 5. Buyers Credit etc. Then create Interest Rate Instrument for Short term loan (STL) and attach to the facility I created earl
-
How to move / hide obsolete BEx queries
Hi, We have a lot of obsolete BEx queries on our BW system. We don't want to delete them, but we want them to be hidden from the users. I thought that we could move them to a special InfoArea... Is that a practicable way or is there a better solution
-
Raise expection for each row if returned set contains x
Hello Guys, I have the following code and almost gave up on the idea to raise an exception and print a line for each row where the sales price is < 10. I know how this works with a CURSOR but I want to try it without it. Thinking about it let me to t
-
Ejb-ref in the deployment descriptor
Could someone help me on how to configure an ejb-reference in the 3 xml files. ejb-jar.xml, weblogic-ejb-jar.xml and web.xml These are the entries for my application, but I get some exception. Can somebody help me pls? ejb-jar.xml <enterprise-beans>