I have AlivePDF with Flex, making a webapp. I've got version 1.5 of AlivePDF but can't seem to set the font:
myPDF.setFont( FontFamily.ARIAL, Style.BOLD );
this gives an error of "1067: Implicit coercion of a value of type String to an unrelated type int."
Am I doing it wrong?
...
this piece of code is being placed inside a swf which is then being placed inside a mxml swfloader. The ProductDesigner is the name of the application and the selectRed is a HSlider mxml component. The error that I receive is that "Access of undefined property ProductDesigner" in the Flash CS5 when testing the swf. Yes I am able to pick ...
Hello!
I have a Facebook application that has a picture gallery. It's build in Flex 4.
I want to allow users to link to a specific image.
How can that be done?
The only way I see this being done is adding a GET var like &my_picture=asd.jpg in the Facebook page URL, but I don't know how to read that from the iFrame.
...
I have an AdvancedDataGrid. One of the columns in the grid displayed with help of custom render. During the application run, I set another custom render to the same column. When I scroll data in the grid (change values for the custom renders) they display new view correctly.
I want that they dispaly new view automatically (when I set th...
Hi guys..
I am trying to load bunch of product detail into a canvas component from a List component.
Every time the user clicks on a product inside my List, the product detail will be displayed in the canvas component. The product detail might contain null and I want to check it before displaying in my canvas component.
In my canv...
I'm trying to detect overlap between elements on my canvas.
The attempt is to reuse some of the code for collision detection at
http://www.gskinner.com/blog/archives/2005/08/flash_8_shape_b.html
This is the smallest MXML sample I could come up with that gives me a type error.
<s:Application xmlns:fx="http://ns.adobe.com/mxml/200...
Hi all!
I have to create a custom header for the AdvancedDataGrid component. The custom header must have two buttons in it. The custom renderer must be applied to more than one column.
How I can fire, dispatch and handle events from the custom headers? Any examples or tutorials are welcome!
...
I have a flex component like this:
<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
...
width="100%"
height="100%"
creationComplete="init()">
.......
<components:NavigationBar id="nagivationBar"
left="0" bottom="0" />
This is supp...
Hi I have a datagrid.
I want to know which header the user clicked on to give the currently sorted view.
Is there an API in flex framework that I can use to achieve this? Hopefully I can get back a column index so I know how it is currently sorted.
Thanks,
Mike
...
I wonder since I am interested in developing an interactive musicial application to read and play midi or even midi keyboard through VST interface, can I do that or do I have to develop a command line application to handle it?
...
I have a datagrid which has id="myGrid" in my application, from it I call a component. Now from the component I can call parentDocument.myGrid.selectedIndex = 0; and it works fine.
But I want to make the component reusable, and I would like to pass the ID to the component each time, so myGrid will change, how to properly send the ID to ...
This is a cross post. I've already posted the question to flexcoders.
We work in flex as a technology. However a potential client has stated that they are worried about the lifespan of flex as a technology. Especially as apple doesn't support it on their mobile devices, and the increasing support for HTML5 within browsers.
What I would...
Hi2all! Earlier i used following structure:
Canvas -> Screen1
Canvas -> Screen2
When I feel need in common logic in my application I do next:
Canvas -> Screen
Screen -> Screen1
Screen -> Screen2
So when I try to apply it in my code
if(child is Screen){
return child.localToGlobal(new Point()).x;
}
It is not works!
When I see ...
Hi,
I am new to Adobe Flex.
I want to write some data stored in a string variable into a text(txt) file.
Can some one add sample code here would be helpful for me.
Thanks.
...
Hi guys.
I am trying to do a simple animation. I want to fade in and resize a List inside creationcomplete. My problem is that I can alway see the element flash in before the element animation begin. On the other word, the user will see the element appear for 1 second->then fade in and resize animation. I was hoping anyone here could ...
I have images that I need to manage access to. I've come across osmf and rtmp streaming which are flash/adobe technologies and would require me to install a special server. Anyone knows of other ways to get the same effect with php.
Edit:
By "manage access to" I mean that the average user would not be able to save the page and save the...
I have a Flex client making RESTful calls to a webservice using HTTPService. The server is returning JSON responses, which we would like to compress. Can Flex using HTTPService handle gzip-encoded responses? If so, what steps are required to make it work (e.g., which headers to set, how to decompress, etc.)? If not, can you suggest a ...
I am trying to return a django.contrib.auth.models.User object, and it fetches all the data properly, but the related fields are nowhere to be found, even utilizing "select_related()" as suggested in documentation.
class UserProfile(models.Model):
user = models.ForeignKey( User, unique=True )
In pyamf gateway:
def login_user( http_...
Hello guys..
I am trying to finish up my applications but encounter a big problem.. I have 3 applications that will display on different page. ex:product.html will contain product.mxml, new product.html will contain newProduct.mxml,user.html will contain user.mxml....
They are three different projects and I want to put them together ...
In AIR 1.5, I accomplished this by putting a 'eulaAccepted' file in Application Data\Adobe\AIR. This doesn't seem to be working in AIR 2.0. Has anyone figured out how to suppress the EULA dialog in AIR 2.0.2?
Thanks.
...