Flex 2 beta 3 tutorials
In Getting Started with Flex 2.0 (Adobe Flex 2.0 Help) it
says:
"Ensure that a tutorials directory was created in the samples
web
application when you unzipped the tutorials zip file on the
Beta site."
Anyone know where this zip file can be found and what Beta
site are they
talking about, or even know what a "samples web application"
is?
I can't find any tutorials zip file on Macromedia Flex 2
site.
Doug
Yes I have the tutorials, but as you work through them, you
come to one
tutorial which says:
Before you begin this tutorial, perform the following tasks:
� Ensure that you have installed the Flex 2.0 Beta 2
release and that
you can run the applications in the samples web application.
� Ensure that a tutorials directory was created in the
samples web
application when you unzipped the tutorials zip file on the
Beta site.
The directory should contain two MXML files named
completed1.mxml and
completed2.mxml. If you don't have a tutorials directory, the
use folder
names option may not have been enabled when you extracted
files from the
zip file.
I have downloaded everything I can find, but there are no
files on my
computer called completed?.mxml and I can't find any
tutorials zip file.
Doug
Similar Messages
-
Problems with Flex 2 beta 3 tutorials
In the tutorial:
Build a distributed application with the ActionScript object
adapter
the following mxml file is written:
<mx:Application xmlns:mx="
http://www.adobe.com/2006/mxml"
height="100%" width="100%"
creationComplete="initApp();">
<mx:Script>
<![CDATA[
import mx.data.DataService;
import mx.data.events.*;
import mx.rpc.AsyncToken;
import mx.rpc.events.*;
import mx.messaging.events.*;
import mx.utils.ObjectProxy;
public var noteObj:Object = new Object();
public var getToken:AsyncToken;
private var ds:DataService;
[Bindable]
public var noteProxy:ObjectProxy;
private function initApp():void
ds = new DataService("notes");
ds.addEventListener(ResultEvent.RESULT, resultHandler);
ds.autoCommit = false;
noteObj.noteId = 1;
noteObj.noteText = "Type your notes here and share them with
other clients!";
getToken = ds.getItem(noteObj, noteObj);
public function resultHandler(event:ResultEvent):void
if (event.token == getToken)
noteProxy = ObjectProxy(event.result);
]]>
</mx:Script>
<mx:Binding source="log.text"
destination="noteProxy.noteText"/>
<mx:TextArea id="log" width="100%" height="100%"
text="{noteProxy.noteText}"/>
<mx:Button label="Send" click="ds.commit();"/>
</mx:Application>
When I run it, I get the error:
MessagingError message=Unknown destination 'notes'.
This destination is correctly specified in the
flex-data-service.xml
file (I did not have to change it) which is located at
C:\fds2\jrun4\servers\default\samples\WEB-INF\flex, which I
think is the
correct place for it, but how does flex know which directory
to use?
In the default server there is another directory called
flex\WEB-INF\flex which also contains a (different)
flex-data-service.xml file.
I tried the file with the 'notes' destination in it in this
directory,
but that didn't work either.
The complete error message is:
MessagingError message=Unknown destination 'notes'.]
at mx.messaging.config::ServerConfig$/getChannelSet()
at
mx.messaging::MessageAgent/mx.messaging:MessageAgent::initChannelSet()
at mx.data::DataConsumer/initConsumer()
at
mx.data::ConcreteDataService/
http://www.adobe.com/2006/flex/mx/internal::reconnect()
at mx.data::ConcreteDataService/getItem()
at mx.data::DataService/getItem()
at tutorials1/initApp()
at tutorials1/___Application1_creationComplete()
at flash.events::EventDispatcher/dispatchEvent()
at mx.core::UIComponent/set initialized()
Can anyone offer any clues about how the messaging service in
Flex2
works and where I might look to try to solve the problem?
DougSorry to waste everyone's time. I realized as soon as I'd
written the
post that flex knows where to find the file because it has to
be in the
same directory.
Once I moved the files into a tutorials directory in
C:\fds2\jrun4\servers\default\samples\WEB-INF\flex
it all worked.
Pity MM didn't just write that in the tutorial instead of
talking about
a 'samples web application' which for newcomers surely is
meaningless.
Doug -
Hi all.
I'm banging my head against a wall here, and wondered if someone else could help me out!
I'm working on a project which utilises a 3rd party open source control based on Halo Panels. It would take quite a bit of time to re-write this control to be Spark based.
As part of the project spec, the application must be dynamically skinnable to allow easy customisation. This means the look and feel has been done mostly using embedded images within a CSS file, setting background images and other styles that support images. These can be loaded at runtime, and everyone was happy.
Attached is a screenshot called Flex3Screenshot. This shows the look that was desired in the app : "Glossy" panel headers and a light border around the panel.
Then, it was decided that we should be using Flex 4 Beta 2, not the previous 3.4 SDK. (The version I'm using is the standard vanilla 4.0.0.10485)
Mostly, the transition has been OK. I've changed many controls from Halo to Spark as appropriate, but this wasn't possible with the Goozo controls, so we've had to stick with Halo panels as the containers.
I'm now trying to bring back the old "dark" look and feel, and this is where I'm having trouble!
I've attached a massively cut-down FlexBuilder project with a simple style sheet, a single glossy title bar image, and an MXML app with a panel in it.
No matter what I do, I can't get the CSS to work in the same way, because the panel always has a 2 pixel wide border underneath its header. This border is made up of the panels base header colour which has the bitmap put over the top, leaving a small gap.
I can "remove" this, by setting the baseColor property to black, but the baseColor property seems to override the borderColor property, so I don't have borders any more, which "Isn't What We Want"(tm).
Setting the headerColors doesn't seem to work in Flex 4 (I've checked, and it works fine in Flex 3, and if it worked, I could spoof the glossy look by just setting a white to black gradient in the header colours), or set the header colour to black and overlay the image.
I can use the nasty kludge of -theme=${flexlib}/themes/Halo/halo.swc in the command line properties, but that's like admitting defeat! (and I can't guarantee that it will always work!)
Does anyone have any ideas? As far as I'm aware, I should be able to create an MXML skin component (as per http://blog.flexexamples.com/2009/05/02/changing-the-title-bar-background-fill-on-a-spark- panel-container-in-flex-gumbo/), but as far as I know, I won't then be able to dynamically skin it with a CSS file.
Many thanks.
PeteHi,
Unfortunately this doesn't have anything to do with the FlexUnit code itself. These are bugs inside of the Flash Builder plugin. You may want to post on their forum as well to try to get some support.
The only advice I can offer, is that things seem to work much better if I consistently use the Execute FlexUnit Tests, which can be found under the run button. They work much less well if I right click and tell it to execute tests.
Mike -
Flex 3 Beta 3 FlashVars, where did they go?
Did something change in the way FlashVars are handled in Flex
3 Beta 3?
I am working on an application and I need access to FlashVars
for some functionality, yet when the application loads,
Application.application.parameters does not get populated with any
information.
I have attached the snippet of code used in the HTML file.
In the HTML source from FireBug in FireFox, the <embed> shows
that flashVars is being passed.Also, when using the old fashioned <object><embed
/></object> and appending variables onto the path of the
file, fileName.swf?xmlPath=moo does not populate
Application.application.parameters. -
Migration from Flex 2 beta 3 to Flex 2
Hi there,
Whoever is reading this stuff, may I take an honour to notify
you all, there are big big big changes in running a flex 2 beta 3
applciation in compare to running a flex 2 release application.
I am almost finish with my project now and when we ported the
application to flex 2 release version, the application is not
working at all. Below is the list of problems I am facing...
1. Datagrid not at all supporting array collection anymore
2. Tree.selectedIndex not working
3. Drag and drop methods not supportive
4. All UI constraints are changes...
if anybody can answer these questions i would be
thankfulI'm sorry to hear that you are having problems. A few APIs
did change from B3 to final, but you should be getting compile
errors for those. I can assure you that all of the areas you
mentioned were tested and are working for many folks so if you can
supply examples of what isnt working we can try to get you back up
and running. -
Can't download Flex Builder Beta 3
When I attempt to download Flex Builder Beta 3, I'm
redirected to
http://trials.adobe.com/pub/esd/labs/flex2/FlexBuilder2_B3_05-08.exe
in Firefox and
http://www.adobe.com/cfusion/entitlement/index.cfm?event=custom&sku=RC00211&e=labs
in IE. In both cases I get a "page cannot be displayed" or "server
not found" error. Any suggestions?Hello,
This is being discussed internally. We're working on a
solution. Sorry!
- Rob
"KenichiM" <[email protected]> wrote in
message
news:e3uo1j$4ub$[email protected]..
> When I attempt to download Flex Builder Beta 3, I'm
redirected to
>
http://trials.adobe.com/pub/esd/labs/flex2/FlexBuilder2_B3_05-08.exe
in
> Firefox
> and
>
http://www.adobe.com/cfusion/entitlement/index.cfm?event=custom&sku=RC00211&e=la
> bs in IE. In both cases I get a "page cannot be
displayed" or "server not
> found" error. Any suggestions?
> -
Flex Builder Beta M4 uninstall failure
Flex builder beta M4 has expired 53 days earlier than
promised. But that's little trouble. Awful trouble is that it is
refusing to uninstall. When I am trying to uninstall, it says this,
quote:
quote:
java.lang.InternalError: jzentry == 0,
jzfile = 8600112,
total = 1099,
name = C:\Program Files\Adobe\Flex Builder 3\Uninstall Adobe
Flex Builder 3\uninstaller.jar,
i = 99,
message = invalid LOC header (bad signature)
at java.util.zip.ZipFile$3.nextElement(Unknown Source)
at java.util.zip.ZipFile$3.nextElement(Unknown Source)
at ZeroGy.d(DashoA8113)
at ZeroGy.a(DashoA8113)
at ZeroGy.b(DashoA8113)
at ZeroGd.g(DashoA8113)
at ZeroGd.b(DashoA8113)
at ZeroGd.b(DashoA8113)
at ZeroGd.b(DashoA8113)
at com.zerog.ia.installer.LifeCycleManager.a(DashoA8113)
at com.zerog.ia.installer.LifeCycleManager.b(DashoA8113)
at com.zerog.ia.installer.LifeCycleManager.a(DashoA8113)
at com.zerog.ia.installer.Main.main(DashoA8113)
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 com.zerog.lax.LAX.launch(DashoA8113)
at com.zerog.lax.LAX.main(DashoA8113)
Anybody has any idea how to bypass this to get this POS
(piece of software) out of my system?Hi Larry,
Thank you so much for your reply!
I am mainly using Flash Builder Beta 2 which like I said does install fine(using the stand alone version). In code mode it does crash sometimes, but is rare, it happens now and then, but what I really want to get working is the design view. i am new to flex, and would really like this to work.
when I go to the terminal
java - version
java version "1.6.0_15"
Java(TM) SE Runtime Environment (build 1.6.0_15-b03-219)
Java HotSpot(TM) 64-Bit Server VM (build 14.1-b02-90, mixed mode)
I did install java 1.5 for CodlFusion 9, turned out that I don't need it, well I think not. I was thinking about re installing Snow Leopard to see if I could get Flex working, but I have not yet done that. I have heard that others have flash builder or flex working in snow leopard, can you confirm this?
My laestest error log FlashBuilder beta 2:
http://hawaiiflash.net/flashBuilder_error.txt
for Flex 3:
http://hawaiiflash.net/flex3_error.txt
also I have http://hawaiiflash.net/Flex3.txt
now I did hear from somebody that since I have 2 different versions of java this is causing issue with Flex? should I un-install all prior versions of java and just leave the 1.6 version? I am not sure why this would cause flex to crash when in design mode?
Thank you so much for your help, I would love to get flex working in design mode, either flex 3 or flash builder`-`
Johnny -
This is my first time working with a beta copies of software. I would like to upgrade to Flex 4 Beta 2. I do not see an uninstall for Flex 4 Beta 1. Will Flex 4 Beta 2 install in the same directory as Flex 4 Beta 1?
Are you on a Mac or PC? If on a Mac, you can look in Applications > Adobe Flash Builder Beta (or whatever your version is) > Uninstall Adobe Flash Builder Beta. Run the Uninstall from there. If you're on a PC just go to the Control Panel and uninstall using the Add/Remove Programs dialog.
Also, Flash Builder Beta 2 will install in a separate directory than Flash Builder Beta 1, but I think they still recommend that you uninstall Beta 1 first. -
I have no AIR export button, or even no menu, like "file >
new > AIR project" ! Does it means that AIR hasn't been
implemented in Flex 3 Beta 2 ? Here's a capture :
http://screencast.com/t/smSY2UTSwl
EDIT: I try to deinstall using the unistaller, then
reinstall. It doesn't work...
EDIT : Ok, I see :-) AIR projects are know define in Flex
project properties. Sorry for the useless post !Hi There
For project creation Check out File > New > Flex
Project > Choose the AIR option in the Application type field.
For Export, see File > Export > other > Flex >
Export release version or there is a tool bar button.
hth
-Larry -
Flex 4 beta tutorials great--but...
I went through the tutorials at http://www.adobe.com/devnet/flex/articles/fcf_getting_started_coldfusion_flex_02.html and was very quickly able to get the sample (and some of my own cfc's) to work on my local pc.
What I've been struggling with for days (and more days) is how to get it to work on my server. After all - what good is it on my local machine?
I can't find anywhere that it explains that.
It can't possibly just work by ftping the files to my server. They are using a reference to http://localhost:/flex2gateway , which I wouldn't expect to work.
I believe Flex compiles the files needed into a swf, but I don't see how to get it to compile the information I need to put it on my server.
Please help!!!!
This has been my sole mission for Flex. I don't know if I've missed a single day trying to accomplish it and my 30 day trial is just about over.Re: A SWC:
File > New > Flex Library Project will create a project which gets built as a SWC. -
Hello,
I'm seeing a possible memory leak within
ImageSnapshot.captureImage() and also a debugger crash depending on
the dpi that I pass to that function.
This occurs while iterating over the children of a canvas,
creating an ImageSnapshot, and writing that snapshot to a file
while running / debugging an AIR application within Flex builder 3
beta 2. I've attached a sample application that demonstrates 1. an
out-of-memory error and 2. a debugger crash depending on the dpi
that's passed to captureImage().
1. I get an out-of-memory error #1000 when calling
ImageSnapshot.captureImage() with a dpi that results in an image
size of approx 5800x4400. This error occurs at random locations
within captureImage() depending on the dpi that's passed in.
Sometimes I can call captureImage() four times before getting out
of memory; sometimes more, sometimes less. Is it possible to adjust
the heap-size for an AIR application to avoid this. Could this be a
result of a memory leak? The documents indicate that captureImage()
should be able to produce 8kX8k images as long as they stay within
the (256MB) size limit of ByteArray. Shouldn't I be able to write
endless amounts of 5800x4400 images?
2. In the sample application included here. If the dpi is set
to 300, the app will loop four or five times and the debugger will
then crash.
Any help on either of the two topics above is appreciate.
Thanks,
PeteCan you please file a bug?
http://bugs.adobe.com/flex
Thanks!
- Peter -
Hi,
Last night I spent about 3 hours looking for problem which
came up for me yesterday. Before I'll get back to writing sample
app which tell me if there is a problem in my code I will ask if
anyone has noticed this behaviour.
I'm connecting to c# socket with Socket class. First message
goes nicely. But when I'm trying to write next messages nothing
happends. Messages from socket are coming all the time. The problem
is only with writing.
I'm using writeUTFBytes method to write. RIght after writing
I'm executing flush() n socket.
Is it possible it is the problem with Flex Socket in 3 Beta
2?in
http://bugs.adobe.com/jira/browse/FB-9947
it is remarked that re-establishing an internet connection resolves
the issue, but it DOES NOT!
I still get the
'Flex Builder cannot access the server containing the Start
Page content.
If you are offline, try connecting to the network and
refreshing the Start Page.' message.
Andy -
Flex 2 Beta 3 Flex Component Explorer
Is there some valid or explainable reason that every time I
click on a
component in the explore I am being asked to restart my
computer?ntsiii wrote:
> I am running it inside FB.
>
> Are you having any other problems with FB?
Yes, the code hints pop ups do not work for me, I have a
thread in the
flex_builder forum on this point. They lock out my keyboard
when they
pop up.
> Do you get an error message?
Nope just the "System Settings Change" MS Windows dialog box
saying,
"You must restart your computer before the new settings will
take
effect. Do you want to restart your computer now? Yes | No"
This
happens whenever I click on the component links on the left
side menu.
If I say yes, my computer reboots. If I say no nothing
happens and no
component example.
> Stand alone FB or Eclipse plug-in?
Stand alone Flex Builder 2 Beta 3. -
Flex 2 beta 3 compiler confused by syntactic error
Hi,
The Flex Builder 2 beta 3 compiler seems to get confused by a
specific syntactic mistake I've made in my code.
It is not making a "proper" syntax error report. It's instead
throwing a nasty "An internal build error
has occurred. Please check the Error Log" error, so I thought
I should share that on the forum.
The thing that lead to the "internal error" is that I wrote :
var newCourseXMLDesc : XML =
<CourseDescription
nomDuPlat=_{courseNameTextBox.text.toString()} />;
instead of that :
var newCourseXMLDesc : XML =
<CourseDescription
nomDuPlat={_courseNameTextBox.text.toString()} />;
Notice the position of the _ character just before the
courseNameTextBox.
I guess that should be fixed in a final version of the
compiler.
Cheers
Nicolas FonroseI just successfully deployed all three FDS web applications
on Tomcat 5.5.17 with Sun 1.5.0_06 without any exceptions. From the
stack trace it looks like this is thrown at startup. Can you
confirm?
Are you sure you deployed the war files cleanly? -
I have installed Flex 3 latest Beta. Now, when I am working
in class editor it colors same words shown on the screen. How can I
get rid of this?
ThanksYou can switch the coloring off by clicking on the Mark
Occurrences button in the tool bar.
Hover the mouse over the buttons to see the tool tip text and
look for mark occurrences.
Thanks,
Gaurav Jain
Flex SDK Team
Maybe you are looking for
-
We have activated std workflows of pr-po in development client and tested. We have hr organisation structure for our payroll module and we have developed simple organisational unit thru ppocw, we created Org & Staff(WF) and we are using this with ou
-
Changing App Availability Date To A Later Time After Aproval
If I get an app approved on July 30, 2013 and about 100 people buy it for 99 cents. Can I change the availability date to a later date and will they have to pay for it again or will the app still be saved on their account.
-
Material Master workflow. Doubt?
Hi friends, I am having a Existing Material Master workflow. In that there is 1 tcode JI1D.Its working fing before i am modifying below activity. Now i am modifying this workflow ie i am including 1 CONDITION TYPE in this tcode. If plant is INDIA the
-
hi , i have created control recipe in the sytem . when i am trying to send it through C053 its giving error that : PSH service not available. its not sending any control recipe in the system . what could be the possible reason any configuration issue
-
Mail and Safari keep asking me for my Keychain password
Hi all, I've read several posts and tried some suggestions but it did not solve my problem: Some weeks ago, I completely re-installed MacOS on my iBook and copied my libraries and personal folders from my external harddrive back to the laptop. Everyt