![](/img/trans.png)
[英]Using images from SWC libraries in Apache Royale 0.9.8
我們正在使用 Apache Royale 進行遷移項目,該項目包含大量包含 JPG 和 PNG 圖像的 SWC 文件。 我們一直在嘗試直接從庫中使用它們,但沒有任何成功。 如果我們將文件直接復制到源文件夾,它就可以工作。 但是我們需要能夠引用和使用庫中的圖像。 文件夾結構如下所示 ascongig ...
[英]Using images from SWC libraries in Apache Royale 0.9.8
我們正在使用 Apache Royale 進行遷移項目,該項目包含大量包含 JPG 和 PNG 圖像的 SWC 文件。 我們一直在嘗試直接從庫中使用它們,但沒有任何成功。 如果我們將文件直接復制到源文件夾,它就可以工作。 但是我們需要能夠引用和使用庫中的圖像。 文件夾結構如下所示 ascongig ...
[英]Apache Royale : how to show Handcursor over Jewel Label?
當鼠標 go 超過j:Label ? (相當於 buttonMode="true" useHandCursor="true" )。 問候 ...
[英]Apache Royale Jewel How to use ScrollableSectionContent into ScrollableSectionContent?
我有這樣的事情: 我不明白為什么它不起作用。 上面的例子只顯示了 ABC: 如何在j:Card內部有一個 50px 高度的滾動視圖(在我的示例中以可滾動內容顯示 0、1、2、3、4、5)? 我希望父容器是 ScrollableSectionContent 因為如果我將瀏覽器 windows 設置 ...
[英]Apache Royale Jewel TextArea : how to have a carriage return ? (for text to go to a new line)
按回車鍵時是否可以在<j:TextArea>中有回車符(對於 go 到新行的文本)? (實際上它似乎忽略了它)。 SDK 使用的是 0.9.8#2556 問候 ...
[英]Apache Royale : what is Jewel DataGrid rowHeight property equivalent on SDK 0.9.8#2556
我從 SDK 0.9.7 移動到 SDK 0.9.8#2556 以成為“最新的”。 Jewel Datagrid 上的rowHeight屬性似乎不再可用。 我沒有找到如何設置默認行高。 (我希望我的所有行都具有 64 像素的高度)。 我是否需要一個珠子或添加一個 itemrenderer 來設 ...
[英]Equivalent of parent parentDocument from flex
我必須將 Flex 代碼轉換為 Apache Royale 代碼,但在我的研究中,我沒有找到等效的屬性。 在 Flex 中,要從父 mxml 調用 actionScipt 函數,我有: <mx:Button label="Login" click="parentDocument.myfun ...
[英]Royale-Apache Error: "This tag could not be resolved to an ActionScript class. It will be ignored."
我是 Royale-Apache 的新手,當我運行“helloWorld”程序時。 但我不知道為什么會出現錯誤:“此標記無法解析為 ActionScript 類。它將被忽略。” 當我在mxmlc src/hello.mxml運行mxmlc src/hello.mxml (我使用 @apache-ro ...
[英]apache royale command line Error: unknown configuration variable js-dynamic-access-unknown-members
我正在嘗試構建 Tour de Jewel 示例項目,下載自: nightly build number #1861 我正在使用 Visual Studio 代碼。 但不能用終端消息構建: 請幫忙。 ...
[英]How to control the indicator gap on an Apache Royale Jewel form?
我有一個簡單的表格: 我想控制標簽和文本輸入框之間的間隙。 我以為我可以用 CSS 做到這一點,但我找不到正確的組合。 怎么控制這個差距? 或者有更好的方法來做表格嗎? ...
[英]Target attribute for a form post in Apache Royale
有沒有辦法設置目標屬性以使用 Apache Royale 發布表單數據? 我們正在嘗試將 Flash Player 停用對從 Flex 遷移到 Royale 的影響降至最低。 我不能使用 BrowserWindow("URL", target) 因為這對於我們使用 HTMLframes 的舊應用程序 ...
[英]ReferenceError: BlobPropertyBag is not defined
我使用 apache Royal 0.9.7 stable 來實現從服務器顯示 pdf 的功能。 這是一個示例代碼: 嘗試查看 pdf 文件時,我在控制台中收到此錯誤: ReferenceError: BlobPropertyBag is not defined 我在https://gith ...
[英]Recode Flex URLRequest and navigateToURL form emulation to Royale JS
我有一堆 Flex 頁面需要轉換以擺脫 Flash 播放器,但一直無法看到如何僅使用 javascript 復制此代碼。 Flex 代碼收集數據並在 POST 中將其發送到另一個框架(名為 FrameData)中的 Cold Fusion 頁面。 Cold Fusion 從 FORM 變量(F ...
[英]Apache Royale Jewel TabBar / SectionContent onShow or valueCommit Event like in sdk 0.9.8?
我有類似的東西: <royale:TB_One/>和<royale:TB_Two/>是<j:SectionContent> 我需要在顯示 TB_One 或 TB_Two 或標簽欄 selectedIndex 以編程方式更改時觸發事件。 我在 TabBar 上嘗 ...
[英]Flex to Apache Royale migration
我在 Flex 中有一個大規模的應用程序,我現在想從 Flex 遷移到 Apache Royale。我對 Apache Royale 的經驗為零,事實上我幾天前才聽說過。 我需要遷移方面的幫助,我已經閱讀了 apache Royale 的文檔,但我仍然難以按照 apache 皇家標准轉換我現有的視圖 ...
[英]Apache Royale : addEventListener / removeEventListener best practice
在 Flex 中,使用addEventListener時的最佳實踐是調用removeEventListener以避免 memory 泄漏和/或如果組件可以被創建多次(如彈出窗口),則事件被調用兩次所以addEventListener主要用在addedToStage事件 function 和remov ...
[英]Apache Royale : How to detect enter key on j:textInput
我有這個代碼: 不幸的是,看着https://apache.github.io/royale-docs/component-sets/jewel/textinput我沒有找到 KeyDown 事件的珠子。 是否有特定的事件來監聽它? 有沒有辦法知道是否按下了輸入鍵? 感謝和問候 ...
[英]Does apache royale support two-way data binding now?
如題。 我沒有找到任何關於雙向數據綁定的示例或博客。 如果不支持,只能處理ui更改事件,還是有更好的方法來更新模型(值對象)? ...
[英]How to setFocus on Apache Royale Jewel Button?
一切都在標題中......我想在應用程序啟動時在 css 中觸發這個定義: 但是我在 j:Button 上沒有看到任何 setFocus 或 focus 屬性你能告訴我怎么做嗎? 謝謝 問候 ...
[英]Apache Royale : equivalent of enabled property on j:Button
我在將“啟用”與j:Button一起使用時遇到問題。 我知道我必須用這個珠子添加功能: 但現在我有按鈕顯示禁用狀態。 由於j:Button上沒有enabled屬性,如何使用 AS3 代碼更改啟用/禁用? 問候 ...
[英]Apache Royale : issue with DataGrid Jewel on SDK 0.9.7
由於我想使用 Apache Royale 的新功能,我從今天下載的 SDK 0.9.6 切換到 0.9.7 #716(JSOnly Nightly Build)。 但是當嘗試使用 Jewel DataGrid 時,我有一個 js 錯誤: 這是測試用例: 我相信我必須添加一個珠子或類似的東西 ...