F10 :: App Generate A Custom PDF?
Jun 26, 2010
Is it possible to have some server-side tech create a custom PDF based on variables entered into a flash app on a website?
I have a simple survey built in flash and I want to give users who fill it out the option of receiving a pdf that tells gives them their answers to their questions and an analysis based on those answers.
View 1 Replies
Similar Posts:
Sep 10, 2009
The idea is to fill some custom curved shape surface with generated circles with various radiuses. Look at attached image.
Well, I assume I know what approach I should use, but getBounds() will not work in my case, since the shape is not a square. So I think I need to get the 'targetCoordinateSpace' of a custom shape, but I don't know how to do that and I'm not even sure if that will work.
View 1 Replies
Jun 2, 2009
I know how to make a webpage pop up out of flash that links to a certain site or whatever...
But can you put the HTML inside flash itself, so all the source is contained in the flash, and when you open the webpage, it will be generated as stored in flash?
View 2 Replies
Jun 25, 2010
is it possible to have some server-side tech create a custom PDF based on variables entered into a flash app on a website?I have a simple survey built in flash and I want to give users who fill it out the option of receiving a pdf that tells gives them their answers to their questions and an analysis based on those answers.
View 1 Replies
Mar 2, 2012
This is NOT duplicate of my earlier post (its is slightly different)But this is similar issue with similar error but its not the same error The error I am getting now is below while dispatching the custom event from my custom component
TypeError: Error #1034: Type Coercion failed: cannot convert events::MapEvent@a74ab51 to flash.events.MouseEvent.
dispatchEvent(new MapEvent(MapEvent.CLICKED_ON_MAP));
Note: The error in my earlier post is giving below error message
Type Coercion failed: cannot convert flash.events::Event@81ecb79 to com.events.ShopEvent
The difference here are two things, the earlier error is while converting flash event to custom event and now this one is while converting custom event to flash event and secondly, I have no clue why it is trying to convert to the mouseevent where I am just dispatching my custom event with proper listeners.
This is my custome event
package events
{
import flash.events.Event;
import ui.map.MapElement;
[code]...
View 1 Replies
Nov 4, 2011
I have the following situation:I have an event handler, that displays small messages in my application's statusbar.These messages get passes through by dispatching events from custom components.A simple message could be like "HTTP Error" or so.Now, the main event listener, in the main application file, listens to the event dispatched by any custom component,but seems to refuse listening to events dispatched by custom AS classes.Here is my code for the custom event:
package main.events
{
import flash.events.Event;[code]..
So to sum it all up:
- The event listener listens to the custom event dispatched by any custom component.
- The event listener does not listen to the custom event duspatched by an AS class.
Those who wonder, the event really gets dispatched, that's why I added a trace call.
View 2 Replies
Dec 11, 2010
In the main file, I would write[code]...
But if I want the component to have that behaviour innately, where do I write it in the mybutton mxml file to have it reference itself?[code]...
View 2 Replies
Aug 25, 2009
i am a bit embarassed to ask this, but i do this so much i have to ask. Occasionally, i need to pass/handle custom events on the fly. Rather than creating a whole custom event class, i will just do something like
Code:
myObject.dispatchEvent(new Event('thisCustomEvent'));
//and then handle it later
[code]....
View 12 Replies
Jan 25, 2010
I couldn't work it out yet...
package components {
public class templateSelection extends VBox {
static public var tempSelectionBag:Dictionary;
[Code]....
I want to have a custom class tempSelection with a Dictionary as a public accessable property of that class. If I use this code, the compiler tells me:
1046: Typ wurde nicht gefunden oder war keine Kompilierungszeit- onstante:Dictionary
Which translates to:
Type was not found or was not a compile-time constant: Dictionary
View 1 Replies
Jun 22, 2011
I have a Custom Component that has a couple of Canvas with some background colors assigned to them. Now i have hard coded the colors, i want to move them to an external css file. So i would like to have the css declaration like this :
[Code]...
My question is if i can define custom style names like dividerRightColor and if so, how can i use that value inside my MXML Component? I have seen examples of using them inside Pure AS components.
View 2 Replies
Sep 8, 2011
I have a custom Flex 4.5 component (to be used in a List) -
Game.mxml (represents a clickable playing table in a card game):
<?xml version="1.0" encoding="utf-8"?>
<s:ItemRenderer [code].......
But I never see the "game clicked: " trace. Does anybody please know why? I'm probably missing something minor, because I can see the "Clicked: 8946" trace.
View 3 Replies
Feb 16, 2012
This is similar to the question asked here. I am dispatching custom event "ShopEvent" but i am getting error "Type Coercion failed: cannot convert flash.events::Event@81ecb79 to com.events.ShopEvent"Note: Error is thrown from the parent custom component (3rd code snippet), I have added more details thereThis is my custom event. See the first constant, I copy pasted the event name in custom components.
package com.events
{
import flash.events.Event;
[code]......
View 3 Replies
Jan 16, 2009
I have created custom TreeItemRenderer in which i am trying to draw colored Hbox bar at each node except root. Intially when i click on root node it opens first child node with bar but when i open leaf node it does not showing bar and removing existing bard from other few child nodes. Its calling itemrenderer on mouseonver eventhough i have disabled.Attaching Code here
package Adodbe.renderers
{
import flash.display.DisplayObject;[code].....
View 0 Replies
Sep 6, 2011
I created a custom MXML component, TurboContent, that extends the NavigatorContent class:
<s:NavigatorContent xmlns:fx="http://ns.adobe.com/mxml/2009"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx">
[Code].....
In this case, the 'myButton' component never shows up, but all the elements of the base component do (3 buttons and a datagrid).
View 2 Replies
Dec 28, 2009
Is there a point of creating custom event class if i dont need to pass custom property with that event?
View 3 Replies
Feb 1, 2010
In the past I have created a php file that generates the XML and then referenced it in place of the xml file and it has worked. I am trying this with a precompiled flash app and it is not working.
It works if I run the script, save it and then reference that file to the swf. I would rather not generate a file to the filesystem if possible. Anyone any solutions?
View 4 Replies
Sep 18, 2009
I'm working on the UI for a project. I have a question that hopefully is rather simple. But my whole project hinges on whether or not it's possible, so it's important to me.
generate a .swf from another .swf. Let's say I have a .swf that I export from Flash, and it lets the user choose a number of settings for a piece of generative art, and once they've customized it to their liking, can they then click a button that says "save as a .swf"?
View 2 Replies
Mar 9, 2011
a very simple, basic question (unfortunetely I forgot this): how can you generate markers in flash?, in a frame in the timeline.
View 1 Replies
Apr 2, 2010
I'm just beginning to learn to generate xml with actionscript here's what I have so far:
var xml:XML = <ErikPhotos> </ErikPhotos>; while (xml.photo.length() < 20){ var item:XML = <photo /> var photoIndex = xml.photo.length() + 10001;
item.@name =
[code].....
View 5 Replies
Jun 23, 2011
I'm trying to generate a pdf using fpdf. What are the possibilities that might be avoiding generating this PDF. The swf and the php works fine I tested it in another server. Is there any areas that I need to do any adjustments in my server?
View 7 Replies
Oct 7, 2009
I have an API that inherits flash.display.Sprite .When I try to generate the ASDocs for the API, The ASdoc shows that my class inherits from flash.display.Sprite, but doesnt link or there is no click-able link to the Sprite's ASDoc. Can anyone tell me what I am missing.
[Code]...
View 3 Replies
Jan 13, 2010
Is it possible to generate multiple thumbnails from a FLV using only as3? The flv is on the same server as the swf so I'm not using any dedicated streaming server. I'd imagine that as long as the flv has load the video you'd be able to pull bitmapdata from a specific time of the flv. My idea is to pull around 8 images from every flv, convert them to buttons and use them as links to specific chapters in the flv. If this is not possible, would it work better with a dedicated streaming server like red5?
Edit: I'd also like to know how to do it if it's possible :) The idea is to not use the server. The thumbnails will only be used within the swif, so no saving to another location.
View 2 Replies
Aug 12, 2011
I am trying to create an image gallery similar to Androids "Gallery" where it is a horizontal scrolling list of images. I am doing this with an HBox and Bitmap objects wrapped in a UIComponent. The problem is I am trying to do this for mobile and having many full size images open in memory causes problems. I have been trying to have the images load right as they are scrolling into view and unload once they are out of view, but the loading/unloading while scrolling requires too much cpu and causes a very choppy and poor UI. What I am looking to do is be able to load several low quality versions of the images in memory so I dont have to do as much loading/unloading. I have tried decreasing the height/width but it dosnt seem to have an effect on memory usage.
View 4 Replies
Sep 5, 2011
I am trying to create a bar chart with an extra Y-axis that maps the %-age of the bars.[code]But i can't seem to be able to generate the second y-axis.This y-axis should have 0% at the bottom and 100% at the top. Then i will provide the data of how many % the column x has. This should be drawn as a red line.
View 1 Replies
Nov 9, 2009
generate an FLV from Flash?I'm looking to create a slideshow builder that users can operate online, and then export their final creation (including audio) to a movie format (FLV I am guessing is the easiest).
View 6 Replies
Jul 4, 2010
This is what I got so far; I'm using Flash Cs5 to create an IPhone App, It is designed to automatically generate a trick for bmx when you click a button.. If you want to do a type of grind you would hit the "grinds" button and it would display a trick.
ActionScript Code:
stop();
import flash.events.MouseEvent;
grind.addEventListener(MouseEvent.CLICK, generate_1)
[Code].....
View 7 Replies
Jul 27, 2011
I wan to generate an xml file with AS 3.0[code]...
why do I get < and /> instead of chars < and >? What should I do to get < and > chars?
View 3 Replies
Jul 1, 2009
I have a slight issue generating a swf using the flash IDE. I can import c300 images via the 'Import To Stage' option but then the program crashes and dies as it runs out of memory.
Is there a way to create a swf by reading a folder of images? PHP is a possibility but the swf capabilities are limited.
View 1 Replies
Jan 17, 2006
this question/challenge is inspired by the 25 lines actionscript contest. i was thinking it would be neat to do an audio entry. but i think there is no way to generate audio using only actionscript. am i wrong? can we fool the player into playing image data?
View 4 Replies
Dec 23, 2009
how put images and text to a new pdf file by flex? I think I should use an opensource to put images and text to pdf file but I don't still find it.
View 2 Replies