ActionScript Workshop
A workshop worth checking out....
Releasing the ActionScripter Within with Phillip Kerman
Dates: Fri +
Sat, July 14 + 15
Location: The flash Factory
in Venice, California
Price:
$490
A lot of people know about the cool stuff that's possible in
Flash, but they don't
know how to do it. In fact, they may have a very clear idea
what they want
but they don't know how to sort out the problem and execute
it. The
"programming" side of things can get tricky but usually it's
the planning
and design that's the most challenging.
Kerman will show common programming topics (variables,
arrays, functions,
ActionScript objects, class files) but I'll present it using
easy-to-understand analogies and with practical use-cases
where the students
will actually use this stuff. He will also spend a lot of
time on seeing the
consistencies in syntax so that you just learn the general
form instead of
learning the nitty gritty details of every variation. That
is, if you learn
the common syntaxes you can apply that knowledge to
additional topics that
you encounter.
Students will walk away feeling comfortable how to approach
and execute a
programming task. They'll be able to sort out a problem,
identify the
needed pieces, break down the programming into pieces, and
then--if not
build the whole thing--"stub" it in a way that parts work and
the remaining
tasks are clearly identified. Of course, it's best if a
student could
really build a huge application after this two-day course,
but even the most
advanced programmers build things in pieces and a big goal of
this class is
that they can see how to break things down.
Also, they'll get exposed to using code to control animation,
sound, and
video as well as the new BitmapData class and filters
package.
Visit the link below to sign up.
http://www.richmediainstitute.com/training/kerman/index.php
If you have any questions, email me, Jonathan Menendez,
[email protected]
this is not an announcement bboard, find some other place to
spam please.
we talk technical flash issues here.
good luck with the workshop tho.
Similar Messages
-
Basic define variable code won't work
hi.
this is very odd. i took a 3-day actionscript workshop. we
used the same one-line method of declaring and assigning a
String/Number/Boolean/etc instance many many times. now i am on my
home computer and trying to review the basics. the basic code
(STRAIGHT OUT OF THE BOOK) is not working! i have tried variations
of the same type of declaration by grabbing code from the
macromedia sample tutorials and same problem. both the computer
that i was using at the workshop and my home computer have Flash 8.
the only difference i can think of is the class had a PC, whereas i
use a mac at home. i am totally baffled. if anyone has any insight,
i'd be very appreciative.
my code...
var userName:String = "fred";
trace(userName);
returns
undefined.
on the other hand, this 2-line method of declaring/assigning
does work for me on my mac:
var userName:String;
userName = "fred";
trace(userName);
merry christmas btw :)kglad, i think i have identified the problem.
at first i unknowingly opened up a new document from template
(Advertising), which appears to be just a blank doc sized to
certain dimensions. the code does NOT work.
but when i open a new plain flash document, the code that i
posted works fine.
i'm not sure what specifically about the advertising
templates makes good code not work. but now i know not to ever use
them.
thanks for your replies. appreciate it. -
Join Rich Shupe in Minneapolis for the day-long workshop
"Learning Actionscript 3". This one-day workshop will help get you
started using AS3 whether you have experience with AS1/AS2 or are
just getting started.
The 5th Annual Flashbelt Conference is taking place in
Minneapolis this June 8-11. Adobe is the Platinum Sponsor. It's the
place to see rocks-star designers, whiz-kid developers and
best-selling authors all come together and talk about Flash and
related topics. The speaker line up is amazing and the size
(limited to 400 attendees) is sure to make for an incredible
conference experience.
http://www.flashbelt.comMight be an idea to post this in the Flex2 or AS3 forums
where people who
are interested in these can read it.
"JonJonMenendez" <[email protected]> wrote
in message
news:e3ouru$fm1$[email protected]..
> It's a late notice, but important to any Flash
professional out there. I
> just
> want everyone to know about this rare opportunity. Fly
out to LA if you
> have to!
> Flex Builder 2 & Action Script 3 Training Workshop
> Date: Thu, Fri, & Sat, May 11,12, & 13 (9a-5p,
~20 classroom hours)
> Location: Venice, California 90291
> Instructor: Zach Stepek
> Price: $690
> Description: Flex expert and Stateline (Illinois)
Macromedia User Group
> Manager Zach Stepek will lead an in-depth three-day
workshop on the new
> generation of Flex -- the first tool for the Flash
Platform that utilizes
> the
> awesome processing power of AS3! --
> -
Flex 2 and Actionscript 3 Workshop in LA
It's a late notice, but important to any Flash professional
out there. I just want everyone to know about this rare
opportunity. Fly out to LA if you have to!
Flex Builder 2 & Action Script 3 Training Workshop
Date: Thu, Fri, & Sat, May 11,12, & 13 (9a-5p, ~20
classroom hours)
Location: Venice, California 90291
Instructor: Zach Stepek
Price: $690
Description: Flex expert and Stateline (Illinois) Macromedia
User Group Manager Zach Stepek will lead an in-depth three-day
workshop on the new generation of Flex -- the first tool for the
Flash Platform that utilizes the awesome processing power of AS3!
--Might be an idea to post this in the Flex2 or AS3 forums
where people who
are interested in these can read it.
"JonJonMenendez" <[email protected]> wrote
in message
news:e3ouru$fm1$[email protected]..
> It's a late notice, but important to any Flash
professional out there. I
> just
> want everyone to know about this rare opportunity. Fly
out to LA if you
> have to!
> Flex Builder 2 & Action Script 3 Training Workshop
> Date: Thu, Fri, & Sat, May 11,12, & 13 (9a-5p,
~20 classroom hours)
> Location: Venice, California 90291
> Instructor: Zach Stepek
> Price: $690
> Description: Flex expert and Stateline (Illinois)
Macromedia User Group
> Manager Zach Stepek will lead an in-depth three-day
workshop on the new
> generation of Flex -- the first tool for the Flash
Platform that utilizes
> the
> awesome processing power of AS3! --
> -
Hello Everyone,
The Rich Media Institute (www.richmediainstitute.com) is
pleased to present a workshop all about Flash 8, Flash video, and
Action Script. This will be a great opportunity to get up to date
with ActionScript and learn the amazing things that Flash can do.
You will learn how to make a Flash 8 video player like this
one:
http://www.almerblank.com/magnet/active/
Workshop: Inside Flash 8
Dates: Fri + Sat, June 16 + 17
Location: Venice, California
Price: $490 with code "LAFLASH" (price includes copy of the
DMTS Flash
8 DVD with over 8 hours of training material and source
code)
URL:
http://www.richmediainstitute.com/training/flash8/
If you have any questions, email me, Jonathan Menendez,
[email protected]
Thank you,
JonThis is the forum for the Flash Media Live Encoder - please
post issues related to the Flash Video Encoder to the Flash
Professional forums -
I want to learn how to use ActionScript
Where Am I With Flash?
I have adobe Flash CS3 Professional.
I have looked at the tutorials from the 'getting started'
section of the Video Workshop DVD and understood them.
I can do simple things like shape tweening, adding butons
ect...
I would like to be able to start adding script to my projects
(ActionScript 3)
I have almoast never programed before and certanly never
programed with ActionScript
I have an ambition to become a good ActionScript Programer so
I can add interactive flash into websitess
What Do I Want?
To start with, I need to know how everything is set up within
ActionScript 3 (what are variables and constants? How do you
constuct an If statment? What imported events do what? ect...)
I want to learn the above from a book (so I do not have to be
at my computer to learn). It would be nice if the book came with a
tutorial disk but this is not essential.
I have looked at the book from the following URL -
http://www.amazon.co.uk/Flash-ActionScript-Dummies-Doug-Sahlin/dp/0764508318/ref=pd_bbs_6? ie=UTF8&s=books&qid=1204548401&sr=8-6
However, I'm not sure if this book is for programing in
ActionScipt version 3 or another version (or for that matter
weather the fact that it is for version 1,2 or 3 matters at all).
One More Thing
Also I would like to know some usefull websites that could
help me besides the video workshop (which I have looked at).
Thank You
ZiggyHi Ziggy,
I suggest you take a look at "Learning ActionScript 3.0: A
Beginner's
Guide", by Rich Shupe and Zevan Rosser.
It will give you great foundation and can help you build your
skills
from ground up.
I have just barely read a few pages, so I'm basing myself on
reviews
from friends who are beginning into AS3.
Furthermore, once you've got a good grasp on the basics, I
think one of
the most important part will be improving your skills on
object oriented
programming. There's no better way for that than learning it
with your
favorite language (and AS3 is perfect for that).
I strongly suggest at that point, that you acquire Colin
Moock's
"Essential Actionscript 3" from O'Reilly's. It's a difficult
book but
don't get discouraged, and keep on reading and re-reading the
chapters
and studying the examples until you finally get it.
It will help get your feet into OOP, necessary if you are
serious in
AS3, and I can guarantee you although you might feel
disturbed for not
understanding everything right away, it is only because it
covers the
topics very thoroughly, and you'll end up understanding many
important
concepts by re-reading it over the months/years of your
practice.
That book is a bible (like all previous from the author)...
once you get
to an intermediate level, you'll most likely rarely read any
other
(except for very specific topics it doesn't cover), and you
will often
refer to the AS help to know all of the classes and functions
you'll
come to need, since you'll be fully able to understand them.
Good luck! -
If you want to learn ActionScript in L.A.
A workshop worth checking out....
Releasing the ActionScripter Within with Phillip Kerman
Dates: Fri +
Sat, July 14 + 15
Location: The flash Factory
in Venice, California
Price:
$490
A lot of people know about the cool stuff that's possible in
Flash, but they don't
know how to do it. In fact, they may have a very clear idea
what they want
but they don't know how to sort out the problem and execute
it. The
"programming" side of things can get tricky but usually it's
the planning
and design that's the most challenging.
Kerman will show common programming topics (variables,
arrays, functions,
ActionScript objects, class files) but I'll present it using
easy-to-understand analogies and with practical use-cases
where the students
will actually use this stuff. He will also spend a lot of
time on seeing the
consistencies in syntax so that you just learn the general
form instead of
learning the nitty gritty details of every variation. That
is, if you learn
the common syntaxes you can apply that knowledge to
additional topics that
you encounter.
Students will walk away feeling comfortable how to approach
and execute a
programming task. They'll be able to sort out a problem,
identify the
needed pieces, break down the programming into pieces, and
then--if not
build the whole thing--"stub" it in a way that parts work and
the remaining
tasks are clearly identified. Of course, it's best if a
student could
really build a huge application after this two-day course,
but even the most
advanced programmers build things in pieces and a big goal of
this class is
that they can see how to break things down.
Also, they'll get exposed to using code to control animation,
sound, and
video as well as the new BitmapData class and filters
package.
Visit the link below to sign up.
http://www.richmediainstitute.com/training/kerman/index.php
If you have any questions, email me, Jonathan Menendez,
[email protected]It warps an object based on the light or dark values of another file, or map. If you need to make a objects shadow conform to an irregular surface, the displace filter is perfect. It's useful to creating glass effects as well. Check through the previous posts in this thread for some links such as this fine tutorial.
http://www.thegoldenmean.com/technique/displace1.html -
Realaxy ActionScript Editor Release
Hi guys! Now in flash world begins greate time! RASE goes!
Check out RASE features on ActiveTuts
and
OnePictureTutorial.com
21-23 October 2011 we hold Realaxy ActionScript Editor Release Conference in Petrovac, Montenegro. All Flash/Flex developers are welcome!
The program includes:
seminars, workshops, and presentations;
free distribution of personalized licenses to all registered participants;
meeting professionals from different countries and regions;
rest on the beach (here's still an indian summer on the Montenegrin Riviera).
Visas are not required for most European, Australian, New Zealand, American and Canadian citizens. The cost of a round-trip flight from most European capitals is about 160 euros. Single room in a three star hotel starts from 25 euros. There is also no conference fee for plenary speakers.
Realaxy ActionScript Editor aka RASE is a smart, modern and revolutionary editor for working with ActionScript and MXML.
Check out!Did anyone noticed this? anyone ?
-
How can I convert an ActionScript 2 website to ActionScript3?
I have a website which currently uses Action Script 2.
When I change the Publish settings from Flash 7 to Flash 9
and from ActionScript 2 to ActionScript 3, then publish the file, I
get the following warning:
WARNING: Actions on button or MovieClip instances are not
supported in ActionScript 3.0. All scripts on object instances will
be ignored.
What can I do to correct this error?
Is there a simple tutorial that explains how to make the
changes?
I subscribe to Lynda.com but I haven't seen useful there.
I should warn you that I am a beginner when it comes to
coding.
Thank youHi NickLW,
In AS3 there's (like the error mentions) no attaching script
to
instances directly. You probably have something like:
on(release){
gotoAndPlay( 5 );
well, atleast the "on( something )" part...
That's a nono in AS3.
You'd have to change it to code in a keyFrame in the timeline
like:
my_btn.addEventListener( MouseEvent.CLICK, onClick );
function onClick( e:MouseEvent )
gotoAndPlay( 5 )
where my_btn is the instancename of the button.
Look for migration from as2 to as3 in available resources
(like:
http://www.mandalatv.net/fcny/)
Sure there's no mention on the Lynda courses?
NickLW wrote:
> I have a website which currently uses Action Script 2.
> When I change the Publish settings from Flash 7 to Flash
9 and from
> ActionScript 2 to ActionScript 3, then publish the file,
I get the following
> warning:
>
> WARNING: Actions on button or MovieClip instances are
not supported in
> ActionScript 3.0. All scripts on object instances will
be ignored.
>
> What can I do to correct this error?
> Is there a simple tutorial that explains how to make the
changes?
> I subscribe to Lynda.com but I haven't seen useful
there.
> I should warn you that I am a beginner when it comes to
coding.
>
> Thank you
>
Manno Bult
http://www.aloft.nl -
Can't access object using "id" or "name" if created with actionscript
How can you register an instance of an object with actionscript so that it's id or name value is accessible?
I included a simple example where a Button is created using mxml and in the same way it is created using actionscript. The actionscript object is inaccessible using it's "id" and "name" property.
<?xml version="1.0" encoding="utf-8"?>
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600"
creationComplete="application1_creationCompleteHandler(event)">
<fx:Script>
<![CDATA[
import mx.events.FlexEvent;
protected function application1_creationCompleteHandler(event:FlexEvent):void
import spark.components.Button;
var asBtn:Button = new Button();
asBtn.label = "actionscript";
asBtn.x = 200;
asBtn.id = "asButton";
asBtn.name = "asButtonName";
addElement(asBtn);
trace("mxmlButton="+this["mxmlButton"].label); // returns: mxml label
//trace("mxmlButton="+this["asButton"].label); // returns runtime error: ReferenceError: Error #1069: Property asButton not found on TestId and there is no default value.
//trace("mxmlButton="+this["asButtonName"].label); // returns runtime error: ReferenceError: Error #1069: Property asButtonName not found on TestId and there is no default value.
]]>
</fx:Script>
<s:Button
id="mxmlButton"
label="mxml label"
alpha="0.8"/>
</s:Application>Hi Dan,
It is a very rare occurrence when I miss not being able to access an object (object property, really) using the ["name"] notation for objects created using actionscript.
In MXML the compiler is conveniently adding an attribute to the class with the same name as the id, so you can conveniently refer to it using the [] notation. While we explicitly specify an application container to use, the MXML compiler creates a custom container which is a derivative of the base container and to that it adds properties for the children declared in MXML. I guess it also effectively calls "addElement" for us when the container is being constructed.
Your example assumes that using "addElement" to add the button to the application container is the same as declaring a variable (ie property ). It isn't, so there's no point in looking for an property of the name "as3Button" using the [] notation, because it doesn't exist. The container is managing a collection of children in it's display list and that's not the same as being accessible as properties of the container.
Generally speaking, accessing properties using the ["name"] syntax isn't necessary.
Paul
[edit: you may wonder why "addElement" doesn't conveniently also add the "id" attribute to be an property of the container class. Unfortunately, it can't because the container class would need to be dynamic and it's not. A further complication would be that adding properties at runtime would invite naming clashes at runtime with associated mayhem. MXML can do this because the compiler generates the class and can trap name duplication at compile time.
Great question, BTW.
-last edit changed my "attributes" to be "properties" in line with Adobe's terminology] -
SAP NW CE 7.1 SOA Experience Workshop
Hi,
I want to work with the "SOA Experience Workshop". I have installed the server, the NWDS and the ES Repository correctly. The Probleme occures when I set the additional settings in the NWDS. I have imported the "SOA_Experience_1_0.sca" to the "Local Development". After this I selected all imported nodes to create a project. Next step I want to deploy all projects, but I get this failure message:
Status ERROR
Plugin : com.sap.ide.tools.services
code=0
Deploy Exception.
com.sap.engine.services.dc.api.deploy.DeployException: [ERROR CODE DPL.DCAPI.1027] DeploymentException.
Reason: ASJ.dpl_dc.001085 [ERROR CODE DPL.DC.3077] An error occurred while deploying the deployment item [demo.sap.com_module_4_exercise_4_sol~ear].
; nested exception is:
com.sap.engine.services.dc.gd.DeliveryException: [ERROR CODE DPL.DC.3298] An error occurred during deployment of [demo.sap.com_module_4_exercise_4_sol~ear]. Cannot deploy it.
at com.sap.engine.services.dc.api.deploy.impl.DeployProcessorImpl.deployItems(DeployProcessorImpl.java:715)
at com.sap.engine.services.dc.api.deploy.impl.DeployProcessorImpl.deploy(DeployProcessorImpl.java:226)
at com.sap.ide.eclipse.deployer.dc.deploy.DeployProcessor70.deploy(DeployProcessor70.java:112)
at com.sap.ide.tools.services.dc.EngineDcDeployService.deployFiles(EngineDcDeployService.java:251)
at com.sap.ide.tools.services.dc.EngineDcDeployService.deploy(EngineDcDeployService.java:125)
at com.sap.ide.dii05.ui.internal.actions.dc.DcDeployAction$3.run(DcDeployAction.java:224)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Nested exceptions :com.sap.engine.services.dc.cm.deploy.DeploymentException: ASJ.dpl_dc.001085 [ERROR CODE DPL.DC.3077] An error occurred while deploying the deployment item [demo.sap.com_module_4_exercise_4_sol~ear].
; nested exception is:
com.sap.engine.services.dc.gd.DeliveryException: [ERROR CODE DPL.DC.3298] An error occurred during deployment of [demo.sap.com_module_4_exercise_4_sol~ear]. Cannot deploy it.
atcom.sap.engine.services.dc.cm.deploy.impl.OnlineDeployProcessor.performDelivery(OnlineDeployProcessor.java:188)
atcom.sap.engine.services.dc.cm.deploy.impl.BulkOnlineDeployProcessor.deploy(BulkOnlineDeployProcessor.java:57)
atcom.sap.engine.services.dc.cm.deploy.impl.AbstractDeployProcessor$DeployProcessorHelper.visit(AbstractDeployProcessor.java:229)
atcom.sap.engine.services.dc.cm.deploy.impl.DeploymentItemImpl.accept(DeploymentItemImpl.java:83)
atcom.sap.engine.services.dc.cm.deploy.impl.AbstractDeployProcessor.deploy(AbstractDeployProcessor.java:91)
atcom.sap.engine.services.dc.cm.deploy.impl.DeployThread.run(DeployThread.java:34)
atcom.sap.engine.core.thread.execution.Executable.run(Executable.java:109)
atcom.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:314)
Nested exceptions :com.sap.engine.services.dc.gd.DeliveryException: [ERROR CODE DPL.DC.3298] An error occurred during deployment of [demo.sap.com_module_4_exercise_4_sol~ear]. Cannot deploy it.
atcom.sap.engine.services.dc.gd.impl.ApplicationDeployer.deploy(ApplicationDeployer.java:118)
atcom.sap.engine.services.dc.gd.impl.InitialApplicationDeployer.performDeployment(InitialApplicationDeployer.java:108)
atcom.sap.engine.services.dc.gd.impl.InitialGenericDeliveryImpl.deploy(InitialGenericDeliveryImpl.java:51)
atcom.sap.engine.services.dc.cm.deploy.impl.OnlineDeployProcessor.performDelivery(OnlineDeployProcessor.java:163)
atcom.sap.engine.services.dc.cm.deploy.impl.BulkOnlineDeployProcessor.deploy(BulkOnlineDeployProcessor.java:57)
atcom.sap.engine.services.dc.cm.deploy.impl.AbstractDeployProcessor$DeployProcessorHelper.visit(AbstractDeployProcessor.java:229)
atcom.sap.engine.services.dc.cm.deploy.impl.DeploymentItemImpl.accept(DeploymentItemImpl.java:83)
atcom.sap.engine.services.dc.cm.deploy.impl.AbstractDeployProcessor.deploy(AbstractDeployProcessor.java:91)
atcom.sap.engine.services.dc.cm.deploy.impl.DeployThread.run(DeployThread.java:34)
atcom.sap.engine.core.thread.execution.Executable.run(Executable.java:109)
atcom.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:314)
Nested exceptions :com.sap.engine.services.deploy.server.utils.DSRemoteException: [ERROR CODE DPL.DS.6193] Error while ; nested exception is:
com.sap.engine.services.deploy.container.DeploymentException: Failure during deployment of application demo.sap.com/module_4_exercise_4_sol~ear
atcom.sap.engine.services.deploy.server.DeployServiceImpl.catchDeploymentExceptionWithDSRem(DeployServiceImpl.java:4714)
atcom.sap.engine.services.deploy.server.DeployServiceImpl.deploy(DeployServiceImpl.java:325)
atcom.sap.engine.services.dc.gd.impl.ApplicationDeployer.deploy(ApplicationDeployer.java:104)
atcom.sap.engine.services.dc.gd.impl.InitialApplicationDeployer.performDeployment(InitialApplicationDeployer.java:108)
atcom.sap.engine.services.dc.gd.impl.InitialGenericDeliveryImpl.deploy(InitialGenericDeliveryImpl.java:51)
atcom.sap.engine.services.dc.cm.deploy.impl.OnlineDeployProcessor.performDelivery(OnlineDeployProcessor.java:163)
atcom.sap.engine.services.dc.cm.deploy.impl.BulkOnlineDeployProcessor.deploy(BulkOnlineDeployProcessor.java:57)
atcom.sap.engine.services.dc.cm.deploy.impl.AbstractDeployProcessor$DeployProcessorHelper.visit(AbstractDeployProcessor.java:229)
atcom.sap.engine.services.dc.cm.deploy.impl.DeploymentItemImpl.accept(DeploymentItemImpl.java:83)
atcom.sap.engine.services.dc.cm.deploy.impl.AbstractDeployProcessor.deploy(AbstractDeployProcessor.java:91)
atcom.sap.engine.services.dc.cm.deploy.impl.DeployThread.run(DeployThread.java:34)
atcom.sap.engine.core.thread.execution.Executable.run(Executable.java:109)
atcom.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:314)
Nested exceptions :com.sap.engine.services.deploy.container.DeploymentException: Failure during deployment of application demo.sap.com/module_4_exercise_4_sol~ear
atcom.sap.esi.esp.service.server.container.ConfigurationsDeployManager.deploy(ConfigurationsDeployManager.java:90)
atcom.sap.engine.services.deploy.server.utils.container.ContainerWrapper.deploy(ContainerWrapper.java:195)
atcom.sap.engine.services.deploy.server.application.DeploymentTransaction.makeComponents(DeploymentTransaction.java:526)
atcom.sap.engine.services.deploy.server.application.DeployUtilTransaction.commonBegin(DeployUtilTransaction.java:249)
atcom.sap.engine.services.deploy.server.application.DeploymentTransaction.begin(DeploymentTransaction.java:188)
atcom.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:493)
atcom.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhases(ApplicationTransaction.java:544)
atcom.sap.engine.services.deploy.server.DeployServiceImpl.makeGlobalTransaction(DeployServiceImpl.java:2536)
atcom.sap.engine.services.deploy.server.DeployServiceImpl.deploy(DeployServiceImpl.java:378)
atcom.sap.engine.services.deploy.server.DeployServiceImpl.deploy(DeployServiceImpl.java:323)
atcom.sap.engine.services.dc.gd.impl.ApplicationDeployer.deploy(ApplicationDeployer.java:104)
atcom.sap.engine.services.dc.gd.impl.InitialApplicationDeployer.performDeployment(InitialApplicationDeployer.java:108)
atcom.sap.engine.services.dc.gd.impl.InitialGenericDeliveryImpl.deploy(InitialGenericDeliveryImpl.java:51)
atcom.sap.engine.services.dc.cm.deploy.impl.OnlineDeployProcessor.performDelivery(OnlineDeployProcessor.java:163)
atcom.sap.engine.services.dc.cm.deploy.impl.BulkOnlineDeployProcessor.deploy(BulkOnlineDeployProcessor.java:57)
atcom.sap.engine.services.dc.cm.deploy.impl.AbstractDeployProcessor$DeployProcessorHelper.visit(AbstractDeployProcessor.java:229)
atcom.sap.engine.services.dc.cm.deploy.impl.DeploymentItemImpl.accept(DeploymentItemImpl.java:83)
atcom.sap.engine.services.dc.cm.deploy.impl.AbstractDeployProcessor.deploy(AbstractDeployProcessor.java:91)
atcom.sap.engine.services.dc.cm.deploy.impl.DeployThread.run(DeployThread.java:34)
atcom.sap.engine.core.thread.execution.Executable.run(Executable.java:109)
atcom.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:314)
Nested exceptions :com.sap.esi.esp.service.server.container.ActionException: Exception has occurred during deployment of Service Group in ConfigurationsContainer, application demo.sap.com/module_4_exercise_4_sol~ear
atcom.sap.esi.esp.service.server.container.ConsumerGroupsDeployer.perform(ConsumerGroupsDeployer.java:144)
atcom.sap.esi.esp.service.server.container.CompositeAction.perform(CompositeAction.java:38)
atcom.sap.esi.esp.service.server.container.ActionsManipulator.performAction(ActionsManipulator.java:29)
atcom.sap.esi.esp.service.server.container.ConfigurationsDeployManager.deploy(ConfigurationsDeployManager.java:87)
atcom.sap.engine.services.deploy.server.utils.container.ContainerWrapper.deploy(ContainerWrapper.java:195)
atcom.sap.engine.services.deploy.server.application.DeploymentTransaction.makeComponents(DeploymentTransaction.java:526)
atcom.sap.engine.services.deploy.server.application.DeployUtilTransaction.commonBegin(DeployUtilTransaction.java:249)
atcom.sap.engine.services.deploy.server.application.DeploymentTransaction.begin(DeploymentTransaction.java:188)
atcom.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:493)
atcom.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhases(ApplicationTransaction.java:544)
atcom.sap.engine.services.deploy.server.DeployServiceImpl.makeGlobalTransaction(DeployServiceImpl.java:2536)
atcom.sap.engine.services.deploy.server.DeployServiceImpl.deploy(DeployServiceImpl.java:378)
atcom.sap.engine.services.deploy.server.DeployServiceImpl.deploy(DeployServiceImpl.java:323)
atcom.sap.engine.services.dc.gd.impl.ApplicationDeployer.deploy(ApplicationDeployer.java:104)
atcom.sap.engine.services.dc.gd.impl.InitialApplicationDeployer.performDeployment(InitialApplicationDeployer.java:108)
atcom.sap.engine.services.dc.gd.impl.InitialGenericDeliveryImpl.deploy(InitialGenericDeliveryImpl.java:51)
atcom.sap.engine.services.dc.cm.deploy.impl.OnlineDeployProcessor.performDelivery(OnlineDeployProcessor.java:163)
atcom.sap.engine.services.dc.cm.deploy.impl.BulkOnlineDeployProcessor.deploy(BulkOnlineDeployProcessor.java:57)atcom.sap.engine.services.dc.cm.deploy.impl.AbstractDeployProcessor$DeployProcessorHelper.visit(AbstractDeployProcessor.java:229)
atcom.sap.engine.services.dc.cm.deploy.impl.DeploymentItemImpl.accept(DeploymentItemImpl.java:83)
atcom.sap.engine.services.dc.cm.deploy.impl.AbstractDeployProcessor.deploy(AbstractDeployProcessor.java:91)
atcom.sap.engine.services.dc.cm.deploy.impl.DeployThread.run(DeployThread.java:34)
atcom.sap.engine.core.thread.execution.Executable.run(Executable.java:109)
atcom.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:314)
Nested exceptions :com.sap.esi.esp.lib.mm.config.exceptions.SRTechnicalExceptionAn Unexpected ER Technical Exception occurred
atcom.sap.esi.esp.service.server.sr.local.SOALocalSRPublisherImpl.publishPhysicalSystem(SOALocalSRPublisherImpl.java:1500)
atcom.sap.esi.esp.service.server.sr.local.SOALocalSRPublisherImpl.getLocal(SOALocalSRPublisherImpl.java:2418)
atcom.sap.esi.esp.service.server.sr.local.SOALocalSRPublisherImpl.publishConsumerGroups(SOALocalSRPublisherImpl.java:2824)
atcom.sap.esi.esp.service.server.sr.local.SOALocalSRPublisherImpl.receive(SOALocalSRPublisherImpl.java:165)
atcom.sap.esi.esp.service.server.SOAConfigurationManagerImpl.sendSOAObjectEvent(SOAConfigurationManagerImpl.java:237)
atcom.sap.esi.esp.service.server.SOAConfigurationManagerImpl.createWithoutRunBatchJob(SOAConfigurationManagerImpl.java:516)
atcom.sap.esi.esp.service.server.container.ConsumerGroupsRegistryImpl.addConsumerGroup(ConsumerGroupsRegistryImpl.java:72)
atcom.sap.esi.esp.service.server.container.ConsumerGroupsDeployer.perform(ConsumerGroupsDeployer.java:128)
atcom.sap.esi.esp.service.server.container.CompositeAction.perform(CompositeAction.java:38)
atcom.sap.esi.esp.service.server.container.ActionsManipulator.performAction(ActionsManipulator.java:29)
atcom.sap.esi.esp.service.server.container.ConfigurationsDeployManager.deploy(ConfigurationsDeployManager.java:87)
atcom.sap.engine.services.deploy.server.utils.container.ContainerWrapper.deploy(ContainerWrapper.java:195)
atcom.sap.engine.services.deploy.server.application.DeploymentTransaction.makeComponents(DeploymentTransaction.java:526)
atcom.sap.engine.services.deploy.server.application.DeployUtilTransaction.commonBegin(DeployUtilTransaction.java:249)
atcom.sap.engine.services.deploy.server.application.DeploymentTransaction.begin(DeploymentTransaction.java:188)
atcom.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:493)
atcom.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhases(ApplicationTransaction.java:544)
atcom.sap.engine.services.deploy.server.DeployServiceImpl.makeGlobalTransaction(DeployServiceImpl.java:2536)
atcom.sap.engine.services.deploy.server.DeployServiceImpl.deploy(DeployServiceImpl.java:378)
atcom.sap.engine.services.deploy.server.DeployServiceImpl.deploy(DeployServiceImpl.java:323)
atcom.sap.engine.services.dc.gd.impl.ApplicationDeployer.deploy(ApplicationDeployer.java:104)
atcom.sap.engine.services.dc.gd.impl.InitialApplicationDeployer.performDeployment(InitialApplicationDeployer.java:108)
atcom.sap.engine.services.dc.gd.impl.InitialGenericDeliveryImpl.deploy(InitialGenericDeliveryImpl.java:51)
atcom.sap.engine.services.dc.cm.deploy.impl.OnlineDeployProcessor.performDelivery(OnlineDeployProcessor.java:163)
atcom.sap.engine.services.dc.cm.deploy.impl.BulkOnlineDeployProcessor.deploy(BulkOnlineDeployProcessor.java:57)
atcom.sap.engine.services.dc.cm.deploy.impl.AbstractDeployProcessor$DeployProcessorHelper.visit(AbstractDeployProcessor.java:229)
atcom.sap.engine.services.dc.cm.deploy.impl.DeploymentItemImpl.accept(DeploymentItemImpl.java:83)
atcom.sap.engine.services.dc.cm.deploy.impl.AbstractDeployProcessor.deploy(AbstractDeployProcessor.java:91)
atcom.sap.engine.services.dc.cm.deploy.impl.DeployThread.run(DeployThread.java:34)
atcom.sap.engine.core.thread.execution.Executable.run(Executable.java:109)
atcom.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:314)
Nested exceptions :com.sap.esi.uddi.sr.api.exceptions.SRExceptionerror code: 29910 detail message: An Unexpected ER Technical Exception occurred
atcom.sap.esi.uddi.sr.local.writers.PhysicalSystemWriter.save(PhysicalSystemWriter.java:43)
atcom.sap.esi.uddi.sr.local.LocalServicesRegistry.publishPhysicalSystems(LocalServicesRegistry.java:102)
atcom.sap.esi.esp.service.server.sr.local.SOALocalSRPublisherImpl.publishPhysicalSystem(SOALocalSRPublisherImpl.java:1482)
atcom.sap.esi.esp.service.server.sr.local.SOALocalSRPublisherImpl.getLocal(SOALocalSRPublisherImpl.java:2418)
atcom.sap.esi.esp.service.server.sr.local.SOALocalSRPublisherImpl.publishConsumerGroups(SOALocalSRPublisherImpl.java:2824)
atcom.sap.esi.esp.service.server.sr.local.SOALocalSRPublisherImpl.receive(SOALocalSRPublisherImpl.java:165)
atcom.sap.esi.esp.service.server.SOAConfigurationManagerImpl.sendSOAObjectEvent(SOAConfigurationManagerImpl.java:237)
atcom.sap.esi.esp.service.server.SOAConfigurationManagerImpl.createWithoutRunBatchJob(SOAConfigurationManagerImpl.java:516)
atcom.sap.esi.esp.service.server.container.ConsumerGroupsRegistryImpl.addConsumerGroup(ConsumerGroupsRegistryImpl.java:72)
atcom.sap.esi.esp.service.server.container.ConsumerGroupsDeployer.perform(ConsumerGroupsDeployer.java:128)
atcom.sap.esi.esp.service.server.container.CompositeAction.perform(CompositeAction.java:38)
atcom.sap.esi.esp.service.server.container.ActionsManipulator.performAction(ActionsManipulator.java:29)
atcom.sap.esi.esp.service.server.container.ConfigurationsDeployManager.deploy(ConfigurationsDeployManager.java:87)
atcom.sap.engine.services.deploy.server.utils.container.ContainerWrapper.deploy(ContainerWrapper.java:195)
atcom.sap.engine.services.deploy.server.application.DeploymentTransaction.makeComponents(DeploymentTransaction.java:526)
atcom.sap.engine.services.deploy.server.application.DeployUtilTransaction.commonBegin(DeployUtilTransaction.java:249)
atcom.sap.engine.services.deploy.server.application.DeploymentTransaction.begin(DeploymentTransaction.java:188)
atcom.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhasesOnOneServer(ApplicationTransaction.java:493)
atcom.sap.engine.services.deploy.server.application.ApplicationTransaction.makeAllPhases(ApplicationTransaction.java:544)
atcom.sap.engine.services.deploy.server.DeployServiceImpl.makeGlobalTransaction(DeployServiceImpl.java:2536)
atcom.sap.engine.services.deploy.server.DeployServiceImpl.deploy(DeployServiceImpl.java:378)
atcom.sap.engine.services.deploy.server.DeployServiceImpl.deploy(DeployServiceImpl.java:323)
atcom.sap.engine.services.dc.gd.impl.ApplicationDeployer.deploy(ApplicationDeployer.java:104)
atcom.sap.engine.services.dc.gd.impl.InitialApplicationDeployer.performDeployment(InitialApplicationDeployer.java:108)
atcom.sap.engine.services.dc.gd.impl.InitialGenericDeliveryImpl.deploy(InitialGenericDeliveryImpl.java:51)
atcom.sap.engine.services.dc.cm.deploy.impl.OnlineDeployProcessor.performDelivery(OnlineDeployProcessor.java:163)
atcom.sap.engine.services.dc.cm.deploy.impl.BulkOnlineDeployProcessor.deploy(BulkOnlineDeployProcessor.java:57)
atcom.sap.engine.services.dc.cm.deploy.impl.AbstractDeployProcessor$DeployProcessorHelper.visit(AbstractDeployProcessor.java:229)
atcom.sap.engine.services.dc.cm.deploy.impl.DeploymentItemImpl.accept(DeploymentItemImpl.java:83)
atcom.sap.engine.services.dc.cm.deploy.impl.AbstractDeployProcessor.deploy(AbstractDeployProcessor.java:91)
atcom.sap.engine.services.dc.cm.deploy.impl.DeployThread.run(DeployThread.java:34)
atcom.sap.engine.core.thread.execution.Executable.run(Executable.java:109)
atcom.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:314)
Any and all help is appreciated.
Thanks in advance, -
Is there a way of changing the alpha value of a symbol in its own timeline without ActionScript
I'm trying to make an animated banner ad where radio waves emanate from a device as they fade in and fade out.
I got it working, then realized I'd like the radio wave animation to loop repeatedly while the text in the ad comes in and out, so I thought maybe it should be a symbol and have the animation take place in its own timeline.
Problem is, when I make the symbol and double click to enter its timeline, the color effect menu disappears.
I don't feel comfortable in ActionScript yet. Is there no other way to do what I want?
Can I create the radio waves as a separate animation file, then import it into the main animation?You should be able to make seperate keyframes and then modify the alpha of any MovieClip or Graphic objects within that keyframe. After that right click somewhere between the keyframes on the timeline and select "Create Classic Tween".
NOTE: You have to have the keyframe selected on the timeline to be able to modify properties. So if you have a keyframe on frame 1, frame 10 and frame 20 set the alpha on frame 1 at 100%, frame 10 at 0% and frame 20 at 100% and it will fill in the blanks.
EDIT:
If the objects in your inner symbol are not a MovieClip or Graphic select all and then Right Click and select "Convert to Symbol" to make them one. -
Passing null/empty values from a actionscript VO to a Coldfusion ORM object
This is the situation.
If you have an actionscript VO that binds to a Coldfusion ORM object via the RemoteClass metadata and some of the values are not set, null, or empty strings and you pass it from Flex to Coldfusion then the Coldfusion deserialization barfs saying the values are not acceptable date values (for type="date") or valid emails (for validation="email") or other such validations, even if required="false" on the property.
For instance, if you have the following actionscript VO:
package vo
[RemoteClass(alias="com.companyname.Person")]
[Bindable]
public class Person
public var person_id:Number;
public var last_name:String;
public var first_name:String;
public var email:String;
public var created_date:date;
public function Person() {}
And you have the corresponding Coldfusion component:
<cfcomponent displayname="person" output="false"
alias="com.companyname.Person"
schema="dbo" persistent="true"
table="PERSON">
<cfproperty name="person_id" type="numeric" fieldtype="id" validate="integer" required="true" column="PERSON_ID"/>
<cfproperty name="last_name" type="string" column="LAST_NAME" required="true"/>
<cfproperty name="first_name" type="string" required="true" column="FIRST_NAME"/>
<cfproperty name="email" type="string" validate="email" required="false" column="EMAIL"/>
<cfproperty name="date_created" type="date" required="false" column="DATE_CREATED"/>
</cfcomponent>
Then if you pass the actionscript VO as is to Coldfusion, the deserialization complains that you do not have a valid email or a valid date for date_created. This is bad, bad, bad. Essentially if you have a validation of certain types (email being one) or a date property, or probably some other cases, then you essentially can not make it not required, it automatically makes it required because the Coldfusion serializer considers null/empty values as invalid dates or emails. But the serializer should not care for values that are not required, there has to be a way to pass null/empty values to these data types, but apparently there's not. If you pass an empty string ("") you still have the same problem. I know Coldfusion does not have null values, but there has to be a way to do this, otherwise it defeats the purpose of having required="false" and some kind of validation on the property.
There seems to be two ways around it. One is to override the implicit setters for the properties on the Coldfusion side and check for 0 length values yourself, then set the property if it is not, or create your own validation routine. I ended up creating my own validation function since I didn't want to have to write a setter function for everyone of these cases and I can pass back user friendly validation messages.
Have other people encountered this problem? How have you gotten around it? Thanks.I realize that I didn't clarify that I am using ColdFusion
for getting the data. This class was generated by the Create CFC
wizard in Flex Builder.
package com.generated
[Managed]
[RemoteClass(alias="components.generated.clients.Clients")]
public class Clients
public var clientid:Number = 0;
public var clientfirstname:String = "";
public var clientlastname:String = "";
public var clientaddress1:String = "";
public var clientaddress2:String = "";
public var clientcity:String = "";
public var clientstate:String = "";
public var clientzip:String = "";
public var clientphone:String = "";
public var clientemail:String = "";
public function Clients()
} -
I am using Flash Builder 4.7 to build an Actionscript AIR project. The project embeds a number of png files from my local directory and I have been using absolute paths which all works fine.
I have a laptop with which I want to start developing the same project - I set up a git repository that both the laptop and main pc can pull from and so I can get the source where I need it and push it back to the central repository.
My problem is that the absolute paths for the embed commands don't work on the laptop as it has a different filesystem setup (Windows 8 with one drive as opposed to Windows 7 with a SSD and a data drive). I thought the solution would be as easy as using an environment variable to specify the path which could then point to a different physical directory on both machines, i.e:
[Embed(source = "DEVELOPER_RESOURCES/graphics/are/here.png"]
I did a bit of research and there was quite a lot mentioned about setting up resource directories using path variables which I worked through but I just can't get it to compile. The Actionscript compiler just won't find the png files however I specify the path. I tried something with a FLEX project and the compiler didn't complain but I think this is because the compiler for FLEX uses a different convention.
[Embed(source ="/Project Name/DEVELOPER_RESOURCES/graphics/are/here.png"] works with FLEX but not Actionscript.
So does anyone have a recipe for using the Embed command referencing assets using an environment variable that works across multiple machines with different file structures?I managed to find a solution on Windows which was to use symlinks and absolute paths. You an basically point one directory to another so I did something like:
mklink c:\developer_resources c:/the/local/path/to/my/resources
and then reference all resources as c:\developer_resources\...
Now as long as a developer machine has the right link (from c:\developer_resources to the place where the resources are kept) then it seems to work.
This doesn't however work for Mac and certainly isn't a solution for passing files between Mac and windows -
Creating a Popup in ActionScript vs Creating a Popup in MXML
Hello there
I think I need a little help with a couple of items. I'm using the Popup Library version 1.11 and I'm trying to open up a Popup (with an associated presentation model) which I have defined as follows.
view.popup.EditSection.mxml
view.popup.EditSectionPM.as
the view that opens the popup class (EditSection) dows the following in MXML, and it looks right, but it gives me limited access to the reference of the popup window. With MXML it looks like this http://grab.by/6Oaf
<popup:PopUpFactory id="editSectionPopup" reuse="true" modal="true">
<fx:Component>
<popupWindows:EditSection/>
</fx:Component>
<popup:behaviors>
<spark:ZoomAndFadeBehavior duration="1000"/>
<behavior:KeepCenteredBehavior/>
<behavior:CenterBehavior/>
<popup:AddPopUpToParsleyContext />
</popup:behaviors>
</popup:PopUpFactory>
instead of this, I've cobbled together the following ActionScript, but the popups look VASTLY different when they open. Here is the ActionScript.. the creationComplete runs the initializePopup() and the button click runs the openPopup().. this version looks like http://grab.by/6Oaz when opened.
It doesnt seem to honor the height, width, etc of the Class defining the popup, and when I click the different states, I get errors indicating that no such states exist... though they exist in the class
question: Why might Cairngorm be opening up the wrong (generic?) TitleWindow? What am i doing wrong here?
<fx:Script>
<![CDATA[
import com.adobe.cairngorm.popup.PopUpFactory;
import com.adobe.cairngorm.popup.PopUpWrapper;
import com.adobe.cairngorm.popup.behavior.CenterBehavior;
import com.adobe.cairngorm.popup.behavior.KeepCenteredBehavior;
import com.adobe.cairngorm.popup.behavior.spark.ZoomAndFadeBehavior;
import com.company.psa.docbuilder.adhoc.view.editsection.EditSection;
import mx.collections.ArrayCollection;
import mx.controls.Alert;
private var wrapper:PopUpWrapper;
private var factory:PopUpFactory;
private var zoomAndFadeBehavior = new ZoomAndFadeBehavior();
public function initializePopup():void
var myEditSectionPopup:EditSection;
var myBehaviors:Array = new Array();
var myZAF = new ZoomAndFadeBehavior();
myBehaviors[0] = myZAF; // How do I set the duration?
myBehaviors[1] = new CenterBehavior()
myBehaviors[2] = new KeepCenteredBehavior();
factory = new PopUpFactory();
factory.popup = new ClassFactory(EditSection);
factory.reuse = false;
factory.modal = true;
factory.behaviors=myBehaviors;
// How do I reference the opened window?
public function openPopup () :void
factory.open = true;
]]>
</fx:Script>
Here is the definition of the EditSection.mxml
<?xml version="1.0" encoding="utf-8"?>
<s:TitleWindow xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:spicefactory="http://www.spicefactory.org/parsley"
xmlns:mx="library://ns.adobe.com/flex/mx"
enabled="true"
width.EditSectionState="500"
height.EditSectionState="350"
width.YesNoCancelState="320"
height.YesNoCancelState="200"
width.YesNoState="320"
height.YesNoState="200"
title="{pm.windowTitle}"
currentState="{pm.viewState}"
creationComplete="init()">
<fx:Metadata>
[Event(name="close", type="mx.events.CloseEvent")]
</fx:Metadata>
<fx:Script>
<![CDATA[
import mx.binding.utils.BindingUtils;
import mx.controls.Alert;
import mx.core.mx_internal;
import mx.events.CloseEvent;
[Inject]
[Bindable]
public var pm:EditSectionPM;
protected function closeHandler(event:CloseEvent):void
pm.closeHandler(event);
trace("EditSection is closing");
public function init():void
]]>
</fx:Script>
<s:states>
<s:State name="EditSectionState"/>
<s:State name="YesNoCancelState"/>
<s:State name="YesNoState"/>
</s:states>
<fx:Declarations>
<spicefactory:Configure/>
</fx:Declarations>
<!-- Define the transition to animate the change of view state. -->
<s:transitions>
<s:Transition fromState="EditSectionState">
<s:Parallel>
<mx:Resize target="{this}"
duration="500"/>
</s:Parallel>
</s:Transition>
<s:Transition fromState="YesNoCancelState">
<s:Sequence>
<mx:Resize target="{this}"
duration="500"/>
</s:Sequence>
</s:Transition>
<s:Transition fromState="YesNoState">
<s:Sequence>
<mx:Resize target="{this}"
duration="500"/>
</s:Sequence>
</s:Transition>
</s:transitions>
<s:Label text="Hello There World"
left="10"
right="10"
top="10"
verticalAlign="middle"
textAlign="center"
click="pm.labelClickHandler(event)"/>
<mx:ControlBar width="50%"
left="10"
bottom="10"
height="40"
horizontalAlign="left"
verticalAlign="middle">
<mx:Button label="Cancel"
width="120"
click="dispatchEvent( new CloseEvent( CloseEvent.CLOSE ) )"
includeIn="EditSectionState"/>
<mx:Button label="Reset to Default"
width="140"
click="dispatchEvent( new CloseEvent( CloseEvent.CLOSE ) )"
includeIn="EditSectionState"/>
</mx:ControlBar>
<mx:ControlBar width="50%"
right="10"
bottom="10"
height="40"
horizontalAlign="right"
verticalAlign="middle">
<mx:Button label="Save"
width="140"
click="dispatchEvent( new CloseEvent( CloseEvent.CLOSE ) )"
includeIn="EditSectionState"/>
<mx:Button id="yesButton"
label="Yes"
width="60"
click="dispatchEvent( new CloseEvent( CloseEvent.CLOSE ) )"
includeIn="YesNoCancelState,YesNoState"/>
<mx:Button id="noButton"
label="No"
width="60"
click="dispatchEvent( new CloseEvent( CloseEvent.CLOSE ) )"
includeIn="YesNoCancelState,YesNoState"/>
<mx:Button id="cancelButton"
label="Cancel"
width="60"
click="dispatchEvent( new CloseEvent( CloseEvent.CLOSE ) )"
includeIn="YesNoCancelState"/>
</mx:ControlBar>
<s:RadioButton id="editSectionsCheckbox"
y="30"
label="Edit Sections"
selected="true"
click="pm.editSectionStateClickHandler(event)"
y.YesNoCancelState="24"
y.YesNoState="24"
width.YesNoState="99"
horizontalCenter.EditSectionState="-2"
y.EditSectionState="30"
width.EditSectionState="95"
horizontalCenter.YesNoCancelState="-7"
horizontalCenter.YesNoState="-3"/>
<s:RadioButton id="yesNoCancelCheckbox"
y="56"
label="Yes/No/Cancel"
click="pm.yesNoCancelStateClickHandler(event)"
y.YesNoCancelState="50"
y.YesNoState="50"
horizontalCenter.EditSectionState="-1"
y.EditSectionState="56"
horizontalCenter.YesNoCancelState="-3"
horizontalCenter.YesNoState="-3"/>
<s:RadioButton id="yesNoCheckbox"
y="76"
label="Yes/No"
click="pm.yesNoStateClickHandler(event)"
width="99"
y.EditSectionState="83"
horizontalCenter.EditSectionState="-1"
horizontalCenter.YesNoCancelState="-3"
horizontalCenter.YesNoState="-3"/>
</s:TitleWindow>
Here is the definition of EditSectionPM.as
/* Copyright 2010 */
/* All rights reserved. */
package com.company.psa.docbuilder.adhoc.view.editsection
import com.company.psa.docbuilder.adhoc.business.IDocumentConfigurationReceiver;
import com.company.psa.docbuilder.core.business.DocumentConfiguration;
import flash.events.MouseEvent;
import mx.controls.Alert;
import mx.events.CloseEvent;
public class EditSectionPM implements IDocumentConfigurationReceiver
[Bindable]
public var height:int=300;
[Bindable]
public var message:String="Spark Popup";
[Bindable]
public var viewState:String="EditSectionState";
[Bindable]
public var width:int=400;
[Bindable]
public var windowTitle:String="Edit: ";
[Bindable]
public var documentConfiguration:DocumentConfiguration;
public var isDirty:Boolean=false;
public var cancelVisible:Boolean=false;
// Implementing the notifier receiver design pattern
public function setDocumentConfiguration(argDocumentConfiguration:DocumentConfiguration):void
this.documentConfiguration=argDocumentConfiguration;
public function closeHandler(event:CloseEvent):void
trace("Close was clicked");
public function cancelHandler(event:CloseEvent):void
trace("Cancel was clicked");
public function resetHandler(event:CloseEvent):void
trace("Reset was clicked");
public function yesHandler(event:CloseEvent):void
trace("Yes was clicked");
public function noHandler(event:CloseEvent):void
trace("No was clicked");
public function editSectionStateClickHandler(event:MouseEvent):void
trace("Edit Section state selected (setting this in the PM)");
this.viewState="EditSectionState";
public function yesNoCancelStateClickHandler(event:MouseEvent):void
trace("Yes/No/Cancel state selected (setting this in the PM)");
this.viewState="YesNoCancelState";
public function yesNoStateClickHandler(event:MouseEvent):void
trace("Yes/No/Cancel state selected (setting this in the PM)");
this.viewState="YesNoState";
public function labelClickHandler(event:MouseEvent):void
trace("Label was clicked");
Alert.show("The Label"+event.toString() ,"You Clicked");Hi John,
If you're using Flex 4, the PopUpFactory isn't needed anymore, you can use the PopUpWrapper for everything. More info here: https://sourceforge.net/adobe/cairngorm/wiki/HowToUseCairngormPopup/
What's the reason you need a reference to the popup window? I ask because one very common reason is that users want to open and close it from elsewhere (i.e. a Presentation Model). For that, the popup library offers bindable property open, so all your behaviour object needs to do is to bind a Boolean to it and you don't need an extra view reference of the actual popup window. However, you could also get that if you listen to one of the open/close type events; inside each event object there's a popup property that points to the actual popup window. Regarding your AS usage, I didn't see anything wrong at first sight but maybe compare it the AS sample in the PopupTest project? But first, check if you really need to do it in AS as the MXML examples in PopupTest and on the how-to wiki read simpler IMHO.But also, let us know if it does'nt satisfy your use case.
Alex
Maybe you are looking for
-
Hello, I want pass value in STATUS and Reason for rejection according to requirement when i am creating multiple lead using BAPI_LEAD_CREATEMULTI. Please help me how can i pass value. Please give some sample code that in which table i have to pass va
-
How to execute unix command in java or jsp
have a peace day, please send some sample code for "execute the unix command in java or jsp" thank you regards rex
-
Please feel free to contact me directly at [email protected] Thanks for your help.
-
Spell Check in Mail not working
I'm back. Still no luck getting spell check to work. With all the things I've tried, I'm sure it is now isolated to a operating system based problem. The spell check on InDesign works, but mac mail, text edit, and Open Office.org which all access
-
Are there options to export or save an image at a lower resolution?
Are there options to export or save an image at a lower resolution?