Flex4.6SDKとプロジェクターの再配布契約?
ここに「無償のFlex SDKはアプリケーションと共に再配布可能ですが、再配布契約に署名する必要があります。」と書かれています。
http://www.adobe.com/jp/products/flex/faq.html
この署名はどうやってすればいいのでしょうか?
また「Flash Player 11.3 プロジェクターをダウンロード (EXE, 8.14MB)」も再配布してOKなのでしょうか?
http://www.adobe.com/jp/support/flashplayer/downloads.html
Similar Messages
-
Issues in mapping objects from java to flex - using flex4
Hi,
I have a class in java which i want to send to flex4 using BlazeDS as middleware. There are a few issues that i am facing and they are:
When sending the object across (java to flex), the properties with boolean data type having value as true gets converted to properties with value as false. Even after setting the value to true it still comes as false on flex side. Can't understand why this is happening.
When sending the list of object containing property with boolean data type, the object on flex side does not show those properties at all. As of there were no boolean properties in that object.
Last but not the least, When sending List<ContractFilterVO> contractFilterVOs to flex using remote call, the result typecasted to ArrayCollection does not show the holding objects as ContractFilterVOs but as plain default Object though having all the properties send, except the boolean one mentioned in above points. Basically it is not able to typecast the objects in arraycoolection but the same objects gets typecasted when sent individually.
In all the above points i am using Remote Service through BlazeDS for connectivity with Java. I have done a lot of this stuff in Flex 3 but doing it for the first time in flex 4, is there anything that Flex 4 needs specific. Below is the pasted code for reference purpose.
Flex Object
package com.vo
[RemoteClass(alias="com.vo.ContractFilterVO")]
public class ContractFilterVO{
public function ContractFilterVO(){
public var contractCode:String;
public var contractDescription:String;
public var isIndexation:Boolean;
public var isAdditional:Boolean;
* Rmote Part of code
var remoteObject:RemoteObject = new RemoteObject();
remoteObject.destination="testService";
remoteObject.addEventListener(ResultEvent.Result,handleResult);
public function handleResult(event:ResultEvent):void{
var contarctFilterVOs:ArrayCollection = event.result as ArrayCollection; //Point 2&3 probelem, if list sent form java
var contarctFilterVO:ContractFilterVO= event.result as ContractFilterVO; //Point 1 probelem, if only single Object of type ContractFilterVO sent form java
Java Object
package com.vo
public class ContractFilterVO implements Serializable
public function ContractFilterVO(){
private static final long serialVersionUID = 8067201720546217193L;
private String contractCode;
private String contractDescription;
private Boolean isIndexation;
private Boolean isAdditional;
I don't understand what is wron in my code on either side, it looks syntactically right. It would be great anyone could help me point out my mistake here. Waiting for right solutions...
Thanks and Regards,
JigarHi Jeffery,
Thanks for your reply, it did solve my query @ point 3 as well as point 2 where the objects in arraycollection were not geting converted and boolean properties did not appear when list of an objects were received. And hey, i did have public functions for properties defined java class, just forgot to mention here in post, sorry for that.
The solution you gave was right, but than what if i have a VO which has multiple List of objects coming from Java, than i would have to create an instance of each type of object on flex side this is too tedious, is'nt it? Is there any better solution... out there.
And jeffery do you some tricks up your sleeve for this Boolean issues to that i am facing in point 1... Still struggling with this one...
Anyone out there would be more than welcome to point my mistake, if any and provide tips/tricks or solutions...
Thanks again to Jeffery...
Waiting for more solutions sooner...
thanks and Regards,
Jigar -
How to move a selected row data from one grid to another grid using button click handler in flex4
hi friends,
i am doing flex4 mxml web application,
i am struck in this concept please help some one.
i am using two seperated forms and each form having one data grid.
In first datagrid i am having 5 rows and one button(outside the data grid with lable MOVE). when i am click a row from the datagrid and click the MOVE button means that row should disable from the present datagrid and that row will go and visible in the second datagrid.
i dont want drag and drop method, i want this process only using button click handler.
how to do this?
any suggession or snippet code are welcome.
Thanks,
B.venkatesan.Hi,
You can get an idea from foolowing code and also from the link which i am providing.
Code:
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"
width="613" height="502" viewSourceURL="../files/DataGridExampleCinco.mxml">
<mx:Script>
<![CDATA[
import mx.collections.ArrayCollection;
import mx.binding.utils.BindingUtils;
[Bindable]
private var allGames:ArrayCollection;
[Bindable]
private var selectedGames:ArrayCollection;
private function initDGAllGames():void
allGames = new ArrayCollection();
allGames.addItem({name: "World of Warcraft",
creator: "Blizzard", publisher: "Blizzard"});
allGames.addItem({name: "Halo",
creator: "Bungie", publisher: "Microsoft"});
allGames.addItem({name: "Gears of War",
creator: "Epic", publisher: "Microsoft"});
allGames.addItem({name: "City of Heroes",
creator: "Cryptic Studios", publisher: "NCSoft"});
allGames.addItem({name: "Doom",
creator: "id Software", publisher: "id Software"});
protected function button1_clickHandler(event:MouseEvent):void
BindingUtils.bindProperty(dgSelectedGames,"dataProvider" ,dgAllGames ,"selectedItems");
]]>
</mx:Script>
<mx:Label x="11" y="67" text="All our data"/>
<mx:Label x="10" y="353" text="Selected Data"/>
<mx:Form x="144" y="10" height="277">
<mx:DataGrid id="dgAllGames" width="417" height="173"
creationComplete="{initDGAllGames()}" dataProvider="{allGames}" editable="false">
<mx:columns>
<mx:DataGridColumn headerText="Game Name" dataField="name" width="115"/>
<mx:DataGridColumn headerText="Creator" dataField="creator"/>
<mx:DataGridColumn headerText="Publisher" dataField="publisher"/>
</mx:columns>
</mx:DataGrid>
<mx:FormItem label="Label">
<mx:Button label="Move" click="button1_clickHandler(event)"/>
</mx:FormItem>
</mx:Form>
<mx:Form x="120" y="333">
<mx:DataGrid id="dgSelectedGames" width="417" height="110" >
<mx:columns>
<mx:DataGridColumn headerText="Game Name" dataField="name" width="115"/>
<mx:DataGridColumn headerText="Creator" dataField="creator"/>
<mx:DataGridColumn headerText="Publisher" dataField="publisher"/>
</mx:columns>
</mx:DataGrid>
</mx:Form>
</mx:Application>
Link:
http://social.msdn.microsoft.com/Forums/en-US/winformsdatacontrols/thread/ae9bee8d-e2ac-43 c5-9b6d-c799d4abb2a3/
Thanks and Regards,
Vibhuti Gosavi | [email protected] | www.infocepts.com -
Not able to integrate the Adobe flex4 with BSP application.
HI,
I have created one flex4 application using the BSP(XML). I am able to run the flex application, data retriving properly and working fine.but when I imported the SWF file into BSP application(MIME Repository) and if I run the application from the BSP (HTMLfile ). it's giving the Error # 2302.
and at the same time I have created flex application using flex builder 3 using BSP then its working fine again.I am able to execute the application from the BSP also.
Is it possible to integarte the Flex4 with BSP?
Thanks and Regards
Aravind.flash 4 is very much compatible.
can you check in your falsh builder whats set at
Project->Properties->Flex Build Path->Framework Linkage
is it merge into code or RSL?
you should use merged into code.
Also when you refer the swf file in your bsp page are you using relative url for the swf ? -
While i am trying to save the existing record with same fields in cloud DTO using flex4 mxml app
hi,
i am doing flex4 web application with mxml tags,
i am having one text box and one datagrid and one save button. text box having one company name, data grid having employee names.
when i click save button which is placed in outside the datagrid it will save all the details in cloud DTO.
Now my requirement is text box having the same company name and when i enter same employee name in datagrid and click save button means it wont
allow to save that record, and through msg box with some alerts.
this is my code:
private function saveRecord():void
refreshRecords();
model.employeeDetailsReq=new EMPLOYEEDETAILS_DTO();
var lengthindex:uint=model.employeeDetailsReqRecordsList.length;
var i:int;
for (i = 0; i < lengthindex; i++)
if((model.employeeDetailsReqRecordsList.getItemAt(lengthindex).employee name==customerdet.selectedItem.employeename)&&
(model.employeeDetailsReqRecordsList.getItemAt(lengthindex).employeeNumber==customerdet.s electedItem.employeeID)){
Alert.show("you cannot Add Same CustomerName and Invoiceno again");
(when this line come the error through like this: Index '8' specified is out of bounds.
else
var dp:Object=employeedet.dataProvider;
var cursor:IViewCursor=dp.createCursor();
var employeename:String = employeename.text;
model.employeeDetailsReq.employename = employeename;
model.employeeDetailsReq.employeeNumber=cursor.current.employeeID;
var sendRecordToLocID:QuickBaseEventStoreRecord = new
QuickBaseEventStoreRecord(model.employeeDetailsReq, new
KingussieEventCallBack(refreshList))
sendRecordToLocID.dispatch();
<mx:Button id="btnAdd" x="33" y="419" enabled="false" label="Add" width="65" fontFamily="Georgia" fontSize="12" click="saveRecord()"/>
employeename and employeeID are datafields of datagrid. datagrid id=customerdet
employeeDetailsReqRecordsList---recordlist of save records
please help .
any suggession or snippet code welcome
B.venkatesansorry but you question is not very clear...are you trying to show the item clicked on the datagrid on the input box? with an alert? you should look at "listevent" if thats the case?... sorry i just dont follow.
Miguel -
hi all,
I am doing mxml flex4 web application. i am using a login in my application. this login for multi user purpose.
My need is when a user login using his username and password his company logo should show the top of my application and his copyright details show the bottom of my application
if another user login means his company logo and copywrights should show in my application.
This logo and copyrights details should change dynamically based on the login information.
I want to create this using CSS file (skins and sparks)
How to do this,i am struck in this place,
Looking for useful and helpful suggession or snippet code,
Thanks in advance,
Cheers,
B.Venkatesan.If the user is logging in, presumably you are having the user hit a back end web-server and database and using something like Blaze to connect? Right?
I personally would not do this with CSS. I would map the company icons to the users in the DB, retrieve the proper company icon and then pass it down (or embed it in the app) when the user logs in. Then, I would just set the source of the icon to be what I passed down:
Add your image where you want it to go:
<s:Image id="emptyImage" x="locationx" y="locationy".../>
Then in your ActionScript, when the user logs in and you know what company the user belongs you could do this:
private function loginUserBlazeResponse(resultEvent:ResultEvent):void {
var bytes:ByteArray = ByteArray(resultEvent.target);
emptyImage.source = bytes;
addElement(img);
img.visible = false;
img.addEventListener(FlexEvent.UPDATE_COMPLETE, imageLoaded); -
Flex 3 vs Flex4 ..Application Layout Question
When we develop a same dummy application in Flex3 and Flex4 and run them.
Flash4: I see a space reserved for vertical scroll bar on the right side of the screen. How can we remove that as the reduces my screen size.
Flex3: i dont see any.Nevermind.
I got around this issue by renaming my sub-classed Application to "...Application".
Now I can use a directive to specify an import statement for the extends Application portion rather than specifiing the fully qualified spark.components.Application or mx.core.Application.
Lame - but done. -
CreateComponentsFromDescriptors doesn't work in Flex4
Hi all,
I set the application itself to have creationPolicy="none" and then try to call createComponentesFromDescriptors at the end of my event handler that parses the configuration file. But for whatever reason, it still doesn't instantiate all the children, even when I tell it to recursively.
Then i tried with createDeferredContent still no use. Is there anyother way to instantiate all the children.
thanks,
Jayagopal.Hi,
I have been loading a theme dynamically. So what i done was
I compiled the css files to swf.
Then i loaded the swf using style manager in the preinitialize event by setting the creationPolicy="none" in application tag.
(ex).
private var eventDispatcher:IEventDispatcher;
eventDispatcher = StyleManager.loadStyleDeclarations(themeUrl,true,true,ApplicationDomain.currentDomain);
eventDispatcher.addEventListener(StyleEvent.COMPLETE, themeCompleteHandler, false, 0, true);
In the complereHandler i tried to load the components
private function themeCompleteHandler(evt:StyleEvent):void{
IEventDispatcher(evt.currentTarget).removeEventListener(evt.type , themeCompleteHandler);
createComponentsFromDescriptors();
this i what i tried to do.
Note: It worked in Flex 3.1, but when moved it to Flex4.1 (ie) Flashbuilder4.1 it is not working. Components are not displayed. It shows a blank screen.
regards,
Jayagopal. -
FocusManager childhandler() problem with flex4
Hi,
The below error is my problem,,,,,,I am using Flex4 SDK
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at mx.managers::FocusManager/childHideHandler()[E:\dev\4.0.0\frameworks\projects\framework\s rc\mx\managers\FocusManager.as:1744]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at mx.core::UIComponent/dispatchEvent()[E:\dev\4.0.0\frameworks\projects\framework\src\mx\co re\UIComponent.as:12266]
at mx.core::UIComponent/setVisible()[E:\dev\4.0.0\frameworks\projects\framework\src\mx\core\ UIComponent.as:3038]
at mx.core::UIComponent/set visible()[E:\dev\4.0.0\frameworks\projects\framework\src\mx\core\UIComponent.as:2997]
at mx.controls::Button/http://www.adobe.com/2006/flex/mx/internal::viewSkinForPhase()[E:\dev\4.0.0\frameworks\pro jects\framework\src\mx\controls\Button.as:1953]
at mx.controls::Button/http://www.adobe.com/2006/flex/mx/internal::viewSkin()[E:\dev\4.0.0\frameworks\projects\fr amework\src\mx\controls\Button.as:1869]
at mx.controls::Button/updateDisplayList()[E:\dev\4.0.0\frameworks\projects\framework\src\mx \controls\Button.as:1754]
at mx.core::UIComponent/validateDisplayList()[E:\dev\4.0.0\frameworks\projects\framework\src \mx\core\UIComponent.as:8531]
at mx.managers::LayoutManager/validateDisplayList()[E:\dev\4.0.0\frameworks\projects\framewo rk\src\mx\managers\LayoutManager.as:663]
at mx.managers::LayoutManager/doPhasedInstantiation()[E:\dev\4.0.0\frameworks\projects\frame work\src\mx\managers\LayoutManager.as:736]
at mx.managers::LayoutManager/doPhasedInstantiationCallback()[E:\dev\4.0.0\frameworks\projec ts\framework\src\mx\managers\LayoutManager.as:1072]
I have done lot of work around & found that its adobe bug pls suggest me how to get rid of it....
I did tabEnabled = true ;//but did not work
used focusEnabled = false //but did not work
Pls do suggest me some solution..................................................
Thanks & RegardsHi,..............
From the suggested
link i came to know that the bug can be fixed only in flex SDK 4.5, but i am already using Flex SDK 4.0, pls suggest me whether i have any alternate solution or should i wait till flex SDK 4.5 release.....
Pls let me know what is the possibilities....................
Thanks & Regards -
Is there a new mechanism to play mp3 file in Flex4?
Hi All,
I am using the Flex 3 mp3 player, trying to load mp3 songs and having trouble canceling the file loading in case this is a big file (10Mg) and the user has pressed 'cancel'.
The user would expect that the mp3 file loading will stop, but in the network monitor i still see the file is beeing loaded.
Is there a way to solve this? Is there a new mp3 mechanism in Flex4?
Thanks in advance,
LiorHi,
Compile this and see if it works for you, the mp3 is 6mb. the label shows the bytes being downloaded, as soon as you press stop the download is stopped. This shows in the progressevent, also it will continue to play becuase of the buffer but it will stop playing at the point where the close() was called.
<?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/halo">
<fx:Script>
<![CDATA[
import mx.events.FlexEvent;
private var snd:Sound = new Sound();
private var Sndurl:String = "http://flashhub.net/song.mp3";
private function sndLoad(): void
snd.addEventListener(ProgressEvent.PROGRESS,sndStatus);
snd.load(new URLRequest(Sndurl));
snd.play();
private function sndStatus(e:ProgressEvent): void
lbl.text=String(e.bytesLoaded);
private function sndStop():void
snd.close();
]]>
</fx:Script>
<s:Button x="10" y="10" label="Start" click="sndLoad()"/>
<s:Button x="10" y="30" label="Stop" click="sndStop()"/>
<s:Label x="11" y="59" text="Label" id="lbl" width="78" height="21"/>
</s:Application> -
Flash Builder and Flex4 SDK 9731+ issue
Hello everyone. I've been working with Flash Builder Beta and latest Flex4 SDK nightly builds for some time now and did not have any major obsticles.
That was until I downloaded 9731 build. Flash Builder compiled my project without any problem, however, when I tried to launch the application in my browser I've got these errors:
VerifyError: Error #1014: Class IVisualElement could not be found.
(after I click continue)
ReferenceError: Error #1065: Variable CrossFade_CrossFadeShaderClass is not defined.
(after that)
ReferenceError: Error #1065: Variable Wipe_WipeShaderClass is not defined.
(and after that)
ReferenceError: Error #1065: Variable _cfdd017153b35cc39170086d5b82e02ae917ac7c68abee5c5b64ce1a052a4aac_flash_display_Sprite is not defined.
Of course when I click "Continue" nothing shows up on the screen.
The only similar issue I've managed to find is related with Flexmojos (http://code.google.com/p/flex-mojos/issues/detail?id=163) which, I think, has nothing to do neither with Flex4 SDK nor Flash Builder in this case.
Maybe anyone has ideas about this? Does this have something to do with Flash Builder incompatibility with nightly SDK builds? Or maybe the new SDK
has not been built correctly?
By the way, I've decided to stick with 9674 built and wait for more nightly builds when I first encautered this problem. Today I've downloaded 10008 built of
Flex4 SDK and the problem is still there.Hello ThinkLoop;
I have .10339 now working with no new issues. If this helps I started a discussion (below) in which I was getting an error, the error given seemed unrelated to the fix but... essentially when recreating the project, which seems to be a common event when updating the SDK, I have to re-attach the modules to the project.
Author
Subject
Views
Replies
Last Post
jdesko
Nightly SDK and Flash Builder Betain Flash Builder and Flex SDK
121
8
35 minutes agoby jdesko -
Strange behavior of flex4 service call
Hi Techies, I am stuck with strange behavior of flex4 service call. Our is a dashboard application where i have four modules(separae file for each) in a page. when page renders all these modules makes separate service call through remote objects. Though destination file is same but methods are separate for each modules. db+java takes 5 second for 1 and 3 module, 9 seconds for third module and 15 seconds for 4th module. Sinch LCDS calls are asynchronous ideally after 5 seconds module 1 and 2 should display data. similarly for 3rd module after 9seconds. For my wonder it doesnt go this way. data for all the modules appears simultaneously after 15-16 seconds. It behaves like when data for all the modules is available then only it populates charts and grids. Looks like call is being made in sequence and once maximum taking method is done then control returns back to flex. Any pointer will be helpful to improvise this.
Thanks,
RohitHi Techies, I am stuck with strange behavior of flex4 service call. Our is a dashboard application where i have four modules(separae file for each) in a page. when page renders all these modules makes separate service call through remote objects. Though destination file is same but methods are separate for each modules. db+java takes 5 second for 1 and 3 module, 9 seconds for third module and 15 seconds for 4th module. Sinch LCDS calls are asynchronous ideally after 5 seconds module 1 and 2 should display data. similarly for 3rd module after 9seconds. For my wonder it doesnt go this way. data for all the modules appears simultaneously after 15-16 seconds. It behaves like when data for all the modules is available then only it populates charts and grids. Looks like call is being made in sequence and once maximum taking method is done then control returns back to flex. Any pointer will be helpful to improvise this.
Thanks,
Rohit -
Flex4.5 SDK under Flash builder Burito doesnt dispatch Enter key event in Text Area anymore
Flex 4.5 under Flash builder Burito doesnt dispatch 'Enter' key event in Text Area anymore, in prev version 4.1 it was working properly, this stopped working after migration to Burito + Flex SDK 4.5?
What that suppose to be?Hi
That's true that Flex4.5 SDK under Flash builder Burito doesn't listen Enter key in Text Area for KeyUp or KeyDown event.
Here I found a work around you can use.
Add an eventlistener to the component in actionscript and set the useCapture=true next to eventlistener function. Now you can listen enter key for KeyUp or KeyDown Event
Hope this helps
Rush-me -
Flex4 LinkButton Rollover question ?
I know this is probably a simple fix but I have spent a few hours trying to it out. I am working with a Link Button and I can not get it show a rollover color of my choice, it seems to default to a standard lt blue when you roll your mouse over it.
What am I missing to get the link button to disengage from the default setting and make it work with the rollover color I choose. I have no problems when I do the same in flex 3 but I can not figure it our on the flex4/flashbuilder side.
ThanksAlso just for kicks I reinstalled flex4
beta two and still ended up with the same result. the link button
all the text color fuctions work fine while none of the button color fuctions are not responding, they showing up with the default colors. I am trying everything to figure it out -
How make a button enable property "true" while i am clicking a row from datagrid in mxml flex4 app
hi friends,
i am new to flex, i am doing flex4 web application with mxml tags.
i have struck in this place,please give some idea.
i have one data grid with 5 rows and 4columns,and also i am having one button (property enable is false).
while i am click a particular row from datagrid that time the button property enbale should be change to true.
where i have to write code.
any suggession or snippet code,
Thanks in advance.
B.venkatesan.Hi,
You can take help of following code :
<?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">
<fx:Declarations>
<!-- Place non-visual elements (e.g., services, value objects) here -->
</fx:Declarations>
<fx:Script>
<![CDATA[
import mx.collections.ArrayCollection;
[Bindable]
public var Arr:ArrayCollection = new ArrayCollection([{a:"AAA",b:"BBB"} , {a:"111" , b:"222"}]);
public function enable():void{
Btn.enabled=true;
]]>
</fx:Script>
<mx:DataGrid x="91" y="36" dataProvider="{Arr}" click="enable()">
<mx:columns>
<mx:DataGridColumn headerText="Column 1" dataField="a"/>
<mx:DataGridColumn headerText="Column 2" dataField="b"/>
</mx:columns>
</mx:DataGrid>
<s:Button x="210" y="237" id="Btn" label="Button" enabled="false"/>
</s:Application>
Thanks and Regards,
Vibhuti Gosavi | [email protected] | www.infocepts.com
Maybe you are looking for
-
How to use bonjour, in ichat or Imessages ???
friends please help,if anyone know how to use Bonjour ?
-
How do I change the default text in emails from "here are the photos I wish to share with you" to something more appropriate for me? I can certainly alter the text once the email is created but I would like to change the default.
-
Why is my macbook air webcam so slow?
i have the app PhotoBooth the one that the mac brought and even if im not using any programs or internet is kinda slow is faster when i dont use nothing but i thought that if i move or something it will do it at the same time not seconds later. IS TH
-
I keep trying to play Quick Time movie and get an error message, why wont it play?
-
I am a brand new customer but am thinking of leaving already. I purchased a new IPhone with a single line plan $60 a month 1GB data online. Phone arrived but had trouble activating and porting my old number so after much discussion with the help li