Target Flash 10.3 With Flex 4.6?

Feb 3, 2012

How would i go about compiling a Flex 4.6 Project for Flash Player 10.3 ? In the Flex compiler settings, I have set the additional compiler arguments:-target-player=10.3.0 -swf-version=12

And I added the 10.3 playerglobal.swc Here are my settings (I cannot change the "Adobe Flash Player options"): But the resulting swf still requires Flash 11.1.

Am I missing something or do Flex 4.6 Projects not compile to Flash 10.3? I have been using Flex 4.1 previously and didn't add any Flex 4.6 specific components.

View 1 Replies


Similar Posts:


Flash :: Using A Vgroup As A Drop Target In Flex

Dec 3, 2010

Is it possible to use a VGroup as a drop target in flex? I like the functionality of a vgroup (adding elements easily, etc) but I haven't found a way to get it to register when things are dropped on it.

View 1 Replies

Flex - Why Is Flash Demanding A Crossdomain.xml File When The .swf And Http Target Are Both On Localhost

Jun 3, 2011

I've got a small client/server test application where I have a Flex app that makes an HTTP request of a server app. The server app is a script running on my local machine, listening on port 8001. The client is a swf that I am running locally, and uses mx.rpc.http.HTTPService to make the page request.

The HTTPService is being set up as per below:

_HttpService = new HTTPService();
_HttpService.url = "http://localhost:8001";
_HttpService.contentType = "text/xml";

When I make a basic page request, my server app is first receiving a "GET /crossdomain.xml HTTP/1.1" request, which is failing since I don't have a crossdomain.xml file in place. The reason I don't have one in place is because this is all happening on my local machine (for now) and I shouldn't need one (I don't think).

I definitely had this code working before without a crossdomain.xml when I was using Flex 3.x. I thought I had it working with Flex 4 as well. Now I'm using Flex 4.5. Is there an issue here, possibly due to security policy changes?With all of this happening on localhost, why is the Flash player requesting a crossdomain.xml file?

[code]...

View 2 Replies

ActionScript 2.0 :: Stop Further Items Being Dragged Onto A Target When The Target Box Is Full?

Sep 29, 2003

On the attached exercise, is it possible to stop further items being dragged onto a target when the target box is full?

View 1 Replies

Flex :: Can E.target Use To A Button

Oct 22, 2010

Rather than assign to every buttons with MouseEvent, I assign to AIR application with:

private function init():void {
this.addEventListener(MouseEvent.MOUSE_DOWN,mpressKey);
}

[code].....

View 2 Replies

Flex :: Target Of Assignment Must Be A Reference Value

May 4, 2010

Target of assignment must be a reference value

for (var z:int=0; z<this.tags.getItemAt(i).yearPopularity.length; z++) {
summedPopularity.getItemAt(z) = summedPopularity.getItemAt(z) + tags.getItemAt(i).yearPopularity.getItemAt(z);
}

View 3 Replies

Xml :: Flex 3 - Target XML Data With ID Of Textarea?

Mar 6, 2012

Consider the following scaled down example of a much larger application:I have text areas with id attributes and click events:

<mx:TextArea click="launchMyPopUp(event);" id="box1" text="blahblahblah"/>
<mx:TextArea click="launchMyPopUp(event);" id="box2" text="blahblahblah"/>
<mx:TextArea click="launchMyPopUp(event);" id="box3" text="blahblahblah"/>

[code].....

View 1 Replies

Flex4 :: Difference Between Target And Current Target

Nov 28, 2011

What is the difference between target and currenttarget in flex?What is the difference between Target and Current Target in Flex especially in mouse events.

View 2 Replies

Actionscript 3 :: What Is The Difference Between Target And Currenttarget In Flex

Feb 25, 2010

the difference between target and currenttarget in flex?

View 3 Replies

Flex :: Non-editable Text Paste Target

Sep 22, 2011

Users need to be able to paste the contents of an Excel spreadsheet into a grid in my flex application. I have implemented this using a TextArea with a change event handler that parses the text the the user pastes - splitting it up by newlines and tabs - and adding it to the ArrayCollection that is bound to the grid. However, it makes no sense for users to be able to manually enter text into the TextArea. How can I prevent them from doing so?

View 1 Replies

Actionscript 3 :: Target A Group Using Index In Flex

Oct 17, 2011

i am trying to target a group in run time. here is a simple code

var removeGroup:Group = new Group();
removeGroup = getElementAt(swap);

it gives error since getElementIndex return IVelement. How can i make it to target the group at specific index in my created mxml.

View 1 Replies

Flex :: Possible To Drag And Drop From 2 Sources To 1 Target?

Feb 2, 2012

My question is simple. Let's say I have 2 List Controls. 1 of Users and 1 of Tickets. (The 2 Sources). And I have a DataGrid (the target). Is possible to select 1 user and 1 ticket in the 2 list mentioned before and drag & drop them at the same time to the DataGrid? I know it's not as simple as they are going to get automatically mixed.. If it is possible... I would have to use the DragEnter Event of the Datagrid or something to mix them and create my dataProvider. But I don't know how you can drag & drop 2 items at the same time from different sources. It is possible with one source.. But no idea of how to do it with 2 sources.

View 1 Replies

Flex - Don't Let The Drag Icon Get Out Of The Drop Target?

Feb 5, 2012

I have a list with itemrenderer with dragEnabled true and dropEnabled true. Now, I am trying to tell flex not to let the dragged item (even the icon indication) leave the drop panel. I don;t care if it stop the dragging or just freezes it as if it was the application border - and I cannot. I tried to stop the dragging on dragExit handler but it seems to ignore it. Does anyone know of a working mechanism to do such? (Flex 4)

View 1 Replies

Flex 3 :: Determine If An Event Target Is Descendant Of Component

Nov 19, 2010

I have a custom component with a couple of text input fields (among other things) that is used as the row components in a tree. I have had to write my own drag and drop handling, and have almost finished the start handler (which I did last), using mouseDown as the event to kick if off.It basically works, but when the tree is expanded enough so that a scroll bar shows, using the scroll bar drags a row of the tree at the same time ! Not the desired behaviour.Looking in the debugger, I can see that when a row of the tree is dragged the currentTarget is the tree itself, and the target is the textInput component. Looking at the parents of that component I can see my custom component (that contains the textInput) a couple of levels up.My question is, is there an easy way to determine if this target is descended from my component, so that I can initiate a drag only if that is the case ? event.target is doesn't work by the way.

View 2 Replies

Flex :: Any Way To Show Error ToolTip To Left Of Target?

Dec 20, 2010

I'm creating an errorTip that gets displayed when the user mouses over an image. I would like the popup to appear to the left of the image, but the only properties I can pass to create the toolTip are "errorTipRight", "errorTipAbove" and "errorTipBelow".

Sample code:
<?xml version="1.0" encoding="utf-8"?>
<mx:HBox xmlns:fx="[URL]"
xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx">
<fx:Script>
[Code] ......

View 2 Replies

Flex :: Get Current Target Values While Effect Executing?

Jun 29, 2011

At a certain point in an effects execution i would like to execute some code.

Say for example that i have a move effect on objectA and half way through this effect i want to make objectB disapear.

Is there any functionality built in to the spark effects framework to do this or do i need to implement the effect myself by hand?

View 2 Replies

Flex :: Swf - HTML Templates Disappearing In Builder When Target Fp10?

May 19, 2009

When I target flash player 10 in flex builder 3, the index.html template along with some other files (history.js, etc) are removed and no wrapper html page is built.Anyone else experiencing this? I have an ant build script as well, but I was trying to run the built in fb builder.

View 4 Replies

Flex :: Making MXML Component Report Target Of Click?

Jan 24, 2011

I have a component based on canvas, and within that component I have two images. I have the component listen for a click and when that event occurs one image goes transparent and the other becomes visible. This part works perfect. Now, on clicking that component, I also want to do something to the parent canvas, I already have this working for more basic types (image, canvas, text, etc) but the problem with my component is that the click event has the internal image as the target, so what I want to happen to the outside canvas is happening to the canvas of the component. How do I make my component as a whole the target of any clicks on it?
3.5 SDK

View 2 Replies

Actionscript 3 :: Finding Target's Id When Its Parent Generates Event In Flex?

Aug 10, 2011

I'm trying to get the id of the target in showMe(). For example, when I click button or image panel's showMe() function executes first. Here I want to capture the button/image's id.

private function init():void
{
pnl.addEventListener(MouseEvent.MOUSE_DOWN,showMe);
}

[code]....

View 2 Replies

Actionscript :: Target And Display An Object Of List Control In Flex

Oct 1, 2011

i have made a list control. i want to display the name of the objects in it in a text control box

the code i am using here is

public function add(event:MouseEvent):void
{
var str:String;
str = mylistcontrol.dataProvider.getItemAt(0).toString();

[Code]....

The problem with this code is i am using index value of 0. however i want to display the name of object on which i have clicked or which is highlighted.

View 1 Replies

ActionScript 3.0 :: Target Movieclip With E.target?

Aug 30, 2010

qi have a movieclip which is added to the stage:

var profileholder:profileHolder=new profileHolder ;

inside of profileholder is another movieclip(infoBtn) that acts as a button.when the mouse is over profileholder i want to do something with infoBtn like:

//profOver is the over state of profileholder
function profOver(e:Event) {
e.target.infoBtn.alpha=1;
}

this doesn't work and brings up this error:ReferenceError: Error #1069: Property infoBtn not found on flash.display.Loader and there is no default value.
at main_fla::MainTimeline/profOver()

i also tried:
function profOver(e:Event) {
var item:profileHolder=e.target as profileHolder;
item.infoBtn.alpha=1;
}

and get this error:TypeError: Error #1009: Cannot access a property or method of a null object reference.

View 1 Replies

Flex :: Move Effect Only Animating Last Target In Array Of Multiple Items

Feb 5, 2011

I am animating a number of items using the Move effect. I am adding each item to an array after it has been added to the display list and once all items are added calling the play method, passing an array of the items to it. Only the last item plays in my animation.

Here is my code:
MXML: s:Move id="coinFall" yFrom="-400" duration="2000" />
public function showCoins(n:Number):void{
holder.removeAllElements();
var targets:Array = [];
if (n>=2.5){
[Code] .....

View 1 Replies

Actionscript :: Flex : Ensure That Events All Travel Down One Object Tree, Regardless Of Target?

Mar 5, 2011

I have numerous objects, many of them are stored within other objects (and overlap in physical space). As I zoom into an object, it begins to fade away. At the moment it begins to fade, I load in the child object (or create a child object if one doesn't exist). I want to turn off the parent object's ability to respond to most events. The exception is the scroll wheel, which needs to be sent to both objects simultaneously so that the parent can continue to fade out as I zoom farther in. Try as I might, I can't find a way to tell Flex "hey, for right now dispatch these types of events ONLY to this object." I either end up with event dispatch stack overflows from trying to manually redirect the events, or I get events that don't activate at the correct time or on the correct object. What can I do?

View 1 Replies

Flex :: Drag Manager - Access The Target Of Dragging Event In DragDropHandler?

Mar 29, 2011

I'm making a Matching Game where I have some images on my left and I can drag them onto images on my right and if they are matching, they should both disappear from the stage.

[Code]....

findMatch() is a function that finds in my XML file the path of the file that matches the file that is being dragged. Having that path, I send it to dragEnterHandler where it compares it with the path of the dropTarget file and if they are the same, it accepts it. Then in dragDropHandler, I'm changing the source path of my second image to "", so that it disappears from the stage. How can I access the first file (the one that was being dragged), so that I can change its path to "", to get rid of it?

View 1 Replies

Flex :: 4 - TouchEvent StageX & StageY Properties Fluctuate Under Transformed Target

Aug 3, 2011

I've written code that enables DisplayObjects to be fully manipulated under two touch points (drag, scale, rotate). The problem I'm having is that as the DisplayObject is being manipulated, it causes fluctuations in the TouchEvent's stageX & stageY properties. These fluctuations are feeding back into the tranformation code and as a result, the object shakes/shivers.

It seems that the stageX & stageY properties are being calculated from the localX & localY properties of the TouchEvent. I've tried adding listening to the stage itself for the TouchMove event, but as soon as I drag my finger over a transformed object, the traced stageX & stageY values change slightly, going from integers to floating-point numbers. This is evidently what's causing the shakey feedback loop.

View 1 Replies

ActionScript 2.0 :: Error - Target Not Found: Target="whoweare" Base="_level0.instance20.instance48.instance49"

Mar 14, 2005

i don't know why this isn't working.i got a button. and when it's pressed, i need it to go and play a frame in a movie clip. i'll test it and then when i click on it, i get this:

Target not found: Target="whoweare" Base="_level0.instance20.instance48.instance49"

this is the code that i am using:

on (press) {
tellTarget ("whoweare") {
gotoAndPlay (51);
}
}

View 14 Replies

ActionScript 3.0 :: Target Flash From PHP?

Jun 17, 2010

I am using AS3 and PHP. I have created a flash animation and and it put in a index.php file. Its a web site, some pages are in flash and some pages are (like shopping cart) not in flash. My problem is when i am in pure php page (cart page) when i click the link about us, it should go a particular frame or particular content in the flash, instead of running from the beginning.

View 1 Replies

ActionScript 3.0 :: Target FP 10.3 From Flash CS5 Mac

Jul 4, 2011

So how can I compile for 10.3 or 10.2 from the Flash CS5 IDE on mac? Where do I get the needed files?

View 11 Replies

Flash - How To Target URLs In AS3

Oct 27, 2011

How would you add a target="_self" function onto the buttons in this actionscript (as3) I need the buttons to open within the same browser window and not a new (_blank) window:

skype_btn.addEventListener(MouseEvent.MOUSE_DOWN, mouseDownHandler);
function mouseDownHandler(event:MouseEvent):void {
navigateToURL(new URLRequest("skype:mySkypeIdentifier"));
} email_btn.addEventListener(MouseEvent.MOUSE_DOWN, mouseUpHandler);
function mouseUpHandler(event:MouseEvent):void {
navigateToURL(new URLRequest("mailto:myEmailAddresss@myDomain.com?subject=rts
Esolutions enquiry"));
}

View 1 Replies

Flash :: Get The E.target.name From A Movieclip?

Jan 21, 2012

I am trying to trace the name of the button that started the eventListener. But instead I keep getting

instance11 instead of the name of the movieClip which should be a number between 0-5

below is part of my actionscript.

import fl.transitions.Tween;
import fl.transitions.easing.*;
import fl.transitions.TweenEvent;

[Code]....

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved