I am facing a problem in flex 4.1 sdk. (thou I was using flex 4.5 sdk, but for some reasons I had to use 4.1, I can explain that too, but its relevant to the problem I am facing now) I fixed all the errors that I got when I complied my code in Flex 4.5 to Flex 4.1, now I dont get any error. Basically most of the error were because there is no Image class implemented using the Spark architecture in Flex 4.1. So, I switched to mx.controls.Images class.
Now I dont get any errors, but after building the project, and running it, I do not see any images in the entire application. I also compiled the code again with 4.5 (with mx.control.Images class) I see the images properly.
I have some dynamic textfields populated from XML files. The problem occurs when there're images:About 3 blank lines appear at the top of textfieldsThe first line of text is displaced 1 char to the right You can see what I mean in [URL] menu "Ortega Muñoz", submenus "Biografia" (with images) & "Antologia crÃtica" (no images). Sorry, english version is not yet implemented, it's just a draft
XML file for BiografÃa submenu:
<?xml version="1.0" encoding="UTF-8"?> <contenido> <texto> <img src="imgs/om/foto-sanvicentedealcantara.jpg" hspace="0" vspace="0" align="right"/><img src="imgs/om/foto-paris.jpg" hspace="0" vspace="5" align="right" /> San Vicente de Alcántara
I have Developed a vertical XML Gallery. But I am not able to Get all the images in xml file, By default Gallery is moving but I want that to be in stand Mode and whenever the Mouse move up gallery should move up and whenever the mouse move down gallery should move down.
The script below works when I test the index.swf file in Flash as well as testing the index.html file in Dreamweaver. When I upload the HTML and SWF file to my webhost (Just Host), however, it doesn't load the images!!! Is there another line(s) of code that needs to be added or is there something wrog with the webhost? to reduce the size of my website which is my ultimate goal.
var my_loader:Loader = new Loader();my_loader.load(new URLRequest("http://www.awoodruffsart.com/img/ab2.jpg"));container1.addChild(my_loader);
I have a flex 3 app that is attempting to load images from Amazon S3. The images fail to load, so I fired up debug mode. In debug mode, the images load, but I also get the following output in the debugger[code]...
Trying to create an isometric game but unable to get my images to sort dyanmically, as those tricky little movie clips wander about the screen. The theory behind it is to order myArray by the .y value (so smallest number is called first), and then remove and then add the clips again according to that.[code]
What I'm trying to do is to create a class loading three images as a pile into a movie clip and be able to switch from one image to another (with a fade effect) thanks to a method (setPic).
The problem I have is when I want to store my loaded image into my array( magnitude[i-1] = loader.content; ) it doesn't load anything, provoking the addchild(magnitude[i-1]); to return a null error. I know the file is properly loaded because if I addchild(loader.content) directly it does load the image (but I can't store it and access it later obviously).[code]...
I am trying to write a small flash app which will load and display images provided as a query. My flash app works fine when I provide the image path directly in the browser address bar, but it is not working when I do the same using html. Here is the direct link to the flash app: [URL]
Here is the link to the html with which I am trying to invoke the app. [URL]
I know my app is getting invoked and it appears to work fine when I hardcode the image url into the flash app. But the query method just does not seem to be working!
I have an image scrolling setup like in itunes, however I am unable to click on the images to play a frame in my timeline (i.e. I�m going to click on one of the revolving pictures, which change to another frame, enlarging a square on the page which contains information). So every image that is rotating enlarges a square at the bottom. What changes do I have to make in order to do this. Below is the action script:
i m using flash on a module of Joomla to display images, i embed flash player code into javascript , it fetch images from an XML files wher images are predefined and it works fine, now i have a problem that i m collecting images from database, means images are dynamically, so i m unable to fetch that images an display on flash, i just want to knoe how to add dynamic image array into flash. do i need to create xml??
I have created a style in which i am defining a font family.When i apply this style to label it reflects the font were as there is no change when it is applied to a spark button.I Tried various way to Apply font style but it doesn't work.Other properties work fine except font family. Even i tried creating skin class and set the font family style of label in it. While previewing the skin i can see the changes but when i apply it to buttonApproach 1
I need to load dynamically a few images (4-6) so that by clicking on particular image user would invoke particular action. Embedding images solves the problem but at the expense of file size. If I load them dynamically, they lose their ID.
I work with Flash Pro allmost 11 hours per day and every while i get a error which messes up everything. Approximetly i get this after about 2-3 hours withevery project.After i get this error there is no chance to test movies afterwards.I see a fast flash of the loader window but it dissapears so fast i cant even really see if it is loader.
I can identify the type of an object in flex? In particular I have an array where I store multiple types in (but all UIComponents) now as I evaluate the array I want to find out whether I have a TextInput Control or a RadioButton. Does someone have an idea?
So on the focus change i want to run the "end_preview_on_focus_change()" but this is not working. As per my understanding, i think the canvas not getting any focus in the first place. I was trying to use focusManager.setFocus to do that after the canvas's creation complete. but even that is giving me an error.
I am using the mxmlc to compile the examples from google to get started in using Google Maps API in Flex 4.But after compiling the swf file the map does not load.
I've registered for an API key Downloaded and included the Maps SDK in the xml config file used at compile time C:sdkflex4frameworksflex-config.xml
I have an Flex 4 application that I am developing in Flash Builder 4. I'm trying to use a library developed by a coworker, which was delivered as an SWC.I added the library to the Library Path in the project properties. Component set: MX + Spark, Framework linkage: Merged into code. When I attempt to instantiate a component from this library, I get the following error:unable to add archive file: [library].swc$localeen_US....sourcesimagesAcceptButton.png (The system cannot find the path specified)
In the sample above, sometimes all the data in the "Location Origin" will be null, so under the visible property I put a value which is either true or false depending on the data. But even when all the data is null and the visible property equals false, it still stays visible.
In my application a canvas object has height = 90 px & width = 86400 px (indicating number of seconds in a day [60 * 60 * 24] ). The canvas is scrollable and the user can add or delete components in that.Now, I want to have snapshot of the whole canvas & shrink it to size 910x30 to draw taken snapshot in another canvas.Can anybody tell me how to take snapshot of such large Component?I have tried to take snapshot in BitmapData object but as it max width is 2880 can not give whole canvas snapshot.
When I try to access the uncaughtErrorEvents dispatcher when loaded directly, everything works well. But when I try the same code when loaded by another swf I get a reference error.
I have a series of projects that we have been using Flex3/Flashbuilder to work with, but I've recently been trying to move over to Flashdevelop for most of my development but I have hit a snag with a certain project structure that Flex/FB can handle but FD/mxmlc can't with sdk 3.*What I have is something like this:
project_root/ /src /resources
The resources in flex is added as a class path to the project and I am embedding images like this: [Embed(source="/wardrobe.png")]
This all works fine in Flex/FB but FD I get there errors for all my images :
Error:unable to resolve '/wardrobe.png' for transcoding Error:unable to transcode /wardrobe.png
This problem don't occur when I'm using the Flex 4 sdk, but for these projects I require 3.2.
In my flex application I am showing a titleWindow as popup which has a swfLoader and it loads one swf file. My application and the loaded swf file communicate with the help of LocalConnection. And here is the flow.When the popup opens, I create a connection.
connection:LocalConnection = new LocalConnection(); connection.client = this; connection.connect('ApplicationConnection');