Flex :: Embed App Into Mediawiki In The Form Of An Extension
Aug 7, 2010I have a flex app, which I want to embed into a Mediawiki, preferably. in the form of an extension.
View 1 RepliesI have a flex app, which I want to embed into a Mediawiki, preferably. in the form of an extension.
View 1 RepliesI need to include an icon to the left of a label in my form. it would probably work best if the icon was part of the label. it seems to me that a form item cannot have anything preceed the label on the left side, is there anyway around this?
View 3 RepliesIn my Google Chrome extension content script I have the following:
[Code]...
I'm using Chrome version 10.0.648.127 on a Mac, but I also tried it on a PC with the same results
I have noticed two differences between spark and mx forms which are causing me some problems. It seems by default the mx forms are arranged to the label is above the form input item. In Spark they are arranged next to each other. Also the label in spark forms are bold by default.For example MX code could be
<mx:Form width="100%">
<mx:FormItem indicatorGap="0">
<s:Label text="label1"/>
[code].....
In flex when I allow user to download a file using :
dwFile = new FileReference();
dwFile.download(downloadURL, dwFileName);
Is there a way to ensure that the downloaded file always ends up with the extension .tar or any other extension for that matter? By default I give it a name like xyz.tar, but as of now the user can tamper with filename, including its extension. Can I prevent him from doing so?
For example I've got string /wiki/File:test.JPG I should check if it has one of extention "jpeg","jpg","png","gif"
Currently I've written that link.search(/.[j,p,g][p,i,n][e,g,f][g]?/gi) and it is works, but I'd like better regular expression.
I need user download JPEG file from my app, however, when user change the file name the saved file will be downloaded without extension.
For Example: I am using FileReference.download() and set the default filename as "demoPic.jpg" and user's windows system setting control file extension not being shown. So when the dialog opens a download window, only "demoPic" shown as the filename. If user saved file without changing filename, the saved file will be OK. But if user change file name, the download file will be saved without extension. is it possible to add file extension to filename when user forget it by flex code?
I made an AIR application that parses some specific files. I am using flex builder 4.5 and SDK 3.6. I want to attach Icons with those files and when I double click those files they should open with my application. How can I do this?
View 2 RepliesWe have a flex application which compiles fine on windows box using mxmlc ant task but when we try to run the same build scripts on linux, it throws the 'Invalid Embed directive in stylesheet' error indicating it is not able to resolve the path to the image files.
Can someone pls. educate me on if there is a difference in the way the image files are looked up, in a CSS file, on windows vs linux.
Flex sdk version is 3.3. The same sdk is used on both windows and linux. Not sure if this has been fixed by any future 3.x sdks.
am sending one user object from java to flex using remote object,now i want to get each item from that array to display in text boxes...how can i do this ?
userInfo=event.result as Array;
<mx:FormItem label="FirstName" fontWeight="bold" width="325" required="true">[code].....
Possible Duplicate: losing extension when use FileReference download I'm having an issue that looks common when using the FileReference class in FP10 when saving a file. The whole thing works fine as long as I don't change the default filename. If I do, then I loose the extension of the file... which is annoying >_< I haven't found any "acceptable" workaround, but the posts I've seen are from a couple of months already. So I'm inquiring hoping that something's been done regarding this issue since then =)
View 1 RepliesI am developing application with Adobe Flex on AIR platform. Using native extension for Android, it is possible to send SMS from my Flex application. Would it also be possible to receive SMS with my application (receive Broadcast carrying information about incoming SMS)? More generally, is it possible to receive Android Broadcasts in my Flex application?
View 1 RepliesI have a mp3 that is retrieved from the server via "somepage.php?id=100". When I load this into spark VideoPlayer it doesn't work. But when I copy that URL and put it into the browser URL I get a dialog that asks if I want to download "sound.mp3".
UPDATE!!!
// in the creation complete handler
var audioElement:AudioElement = new AudioElement();
audioElement.resource = new URLResource(path);
[Code]....
It seems the audio is cued up in order when added to the creation complete meaning that if one audio file is loading another will not start until after the first has completed.
has their own web-to-lead form that can be used to send leads from a website contact form. But I want to submit leads from a contact form inside a flex application. I can't see anything in the documentation, or on Google about this. Is it possible?
View 1 RepliesI created a form dynamically by adding each component in action script,now i want to get back the text/data entered in to that each component dynamically?[code]...
View 2 RepliesI have a Flex application that edits a moderately complex object, and I'd like to put some client-side validation in place on multiple parts of the editor.The editor is a set of nested objects:[code]The structure echoes the data model fairly closely, and the UI is what the project requires, so I'm not going to be too quick to restructure the classes there if I don't have to -- time is an issue too. What I want to do is have validators for each of the Component* instances that:[code]Show the validation tool tips and UI hints on the relevant UI element.Disable the SubmitButton when any part of the form is not valid(Optionally) provide enough information that I can display an error message in the form.
View 3 RepliesI'm designing a data entry app that allows multiple entries to its subject. For example, a person might have received education from multiple institutions. Each educational entry is a form and app user can click on a button to add another entry, which is a blank but identical form.I figure it involves states and custom form components but not sure how everything fits together.
View 1 RepliesI have a simple Form containing two input boxes. as shown in the code below :
<s:Form>
<s:FormItem width="242" label="Name:">
<s:TextInput x="1" y="0"/>
</s:FormItem>
[code]....
the problem is the input boxes are y distances apart and i want to bring them a little bit closer. if i had used the <s:VGroup/> or <s:HGroup/>, there is the gap property to close up the gap but that property is not in the Form tag.How can I close the gaps using the Form tag?
I am having some issues with a php email form that I am using in my AS3 project. the form works perfect and all communication is good.however when the user is on the page and wants to tab to the next text field it jumps to one of my hyperlinks on the same page and not to the next text field down on the php form.
is there any way to stop this from happening.I have tried placing the php form on a seperate layer in a seperate mc and I have done the same with the hyperlinks .you can see what I mean by visiting this development site.(after entering go to contact)http:[url].....
I have only two fields Name and Email in a Order form and a PayPal button for payment at PayPal ( into my account).I can do the mail portion but have no idea about PayPal code, however on search here I found one code and after pasting this one to the PayPal button it redirects to my PayPal account.But the question is anybody can post a message and leave the site without paying me. How can I do this thing so that the user will forced to pay before posting the mail form.
View 1 RepliesMaking one last plea on here as two attempts at contacting Adobe support have failed miserably. Both "techs" linked me to 2.6, which as we know, doesn't work with CS5.So before I redo my file code for SWFKit, and ditch AIR for this project, I'm hoping someone on here has a copy of the extension and can get it to me via dropbox or something.
View 1 Repliestrying to embed a web browser component into adobe flex.
I've seen in Adobe Air that there is a Item; however, in Adobe Flex 3 for a .swf file that would be somewhere - I do not see it.
I just copied Flex builder's generated html from the tags, and pasted in an ASP .NET page, the page shows up no errors , I can see a grey rectable the size of my flex file but there's nothing in it its blank and I am stumped why?? Why when it's showing up perfectly fine via the HTML file that flex generates.[code]
View 1 RepliesHow to embed PDF files into Flex App? Do I really need to transfer them to swf files first?
View 1 RepliesMaking a piano/keyboard application and trying to figure out the best way to set this up .I plan on having a directory of sounds for each 'instrument' in my assets folder (piano1/C4.mp3,piano1/D4.mpg,...)Is there a way to import/embed all of these as an array? Also is there a way I can pass a variable to this class to indicate which folder I want to import these from? Something that would be ideal
var type = "piano2"; //passed from class being called by
foreach(notes as note){
[Embed(source = 'assets/sounds/'+type +'/'+note+'.mp3')] private const C3:Class;
public var c3:Sfx = new Sfx(C3);
}
Or would it be a better idea to have a class for each of these "types" that pulls all notes?
I have a super involved and somewhat silly site I've been working on for a long time piecing together fragments of AS2 code and modifying them to the best of my limited ability.The site is here:http:[url]....I am finally adding the last steps, a series of contact forms with a PHP script in the back end. Anyway, I implemented a form script and have it triggered by clicking the "CONTACT" button you can see on the lower bar. So, click contact and once the form opens (an external SWF loaded into an MC), type away and everything works fine unless you use the letter "f" in either upper or lowercase. It causes the screen to flash and for the form input to lose focus.It works (in that you can enter everything normally -- the form doesn't function, but that's just the PHP which I have yet to edit.)
View 0 RepliesHow can I replace the value in the getstring for parameter partNumber=a100 with whatever the user typed into the search box.
[URL]
AS3 Code
var link:URLRequest=new URLRequest("http://www.stockmarket.aero/StockMarket/SearchActionR.do?partNumber=a100&communityName=BLU E&partial=true&theAction=search" + search_txt.text);
[Code]....
How can i embed and then read a xml file from and into a .swc file?
View 2 RepliesI use firebug a lot for my work. Recetnly I have begun to start embedding swfs into html pages, and they don't always work (no!) - debugging can be quite a slow process.
Is there a way I can use firebug to peer inside my swf - often the errors are stupid like pulling in assets with incorrect urls. Perhaps someone could recommend a firebug extension?
I'd like to create an API for my site. I have all the features almost working for one of my games (save, load, unlock achievement, submit score), but an API would make it a lot easier to integrate the features into new games.
View 3 Replies