Flex :: Builder Endpoint Tokens?

Aug 25, 2009

I'm trying to get a better understanding of how endpoints work. I've read this and have learned that the services.config is "baked" into the swf at compile time. In that article he references the tokens.[URL]..

where server.port, and context.root are the tokens. I guess what I'm wondering is what tokens are available to me, and if they act like variables can I set my own custom token?

Edit: We're moving to another development server soon. We have 2 main flex developers and when they check out projects from the repository we want their projects work work independently of each other... so I want to make sure the endpoint will get set correctly for each developers project location.

View 1 Replies


Similar Posts:


Specify Endpoint URL At Runtime In A Flex App Which Communicates With PHP?

Nov 22, 2010

How would I change/specify the endpoint URL at runtime in a Flex App which communicates with PHP?I always used a services-config.xml so far.

I tried to overwrite the endpoint in the mxml Remote Object, with no success.

View 2 Replies

Flex :: Use Custom Tokens With Ant Tasks?

Oct 26, 2011

I am trying to use the flex ant task to build my Flex project.Before using ant, I ran the mxmlc command like this[code]...

The thing is now I am supposed to use flex ant tasks and it looks like they disabled (or forgot about) the custom tokens like += as I haven't found a way to pass those to the mxmlc task.[code]...

View 1 Replies

Flex :: Convert Flex Builder 3 Project To Flash Builder 4

Oct 6, 2009

I just upgraded to Flash Builder 4 (beta 2) from Flex Builder 3 which I have been using since it came out. Problem: All the projects that were in my workspace from Flex Builder 3 did not carry over into Flash Builder 4 (e.g. in the "Flex Navigator" view if FB3). Flash Builder 4 now uses the .FXP format to manage projects, but Flex Builder 3 did not. Is there an easy way to get all my projects back into Flash Builder 4?

View 2 Replies

Actionscript 3 :: Make Flash Builder Package Explorer Emulate Flex Builder's Navigator Window?

Apr 21, 2010

Does anyone know if there is a way to make the new Package Explorer window in Flash Builder emulate Flex Builders 'Flex navigator' window?

Bottom line is I don't always need to peer into SWC's, and I don't like having a 'default package' automatically created for me. Not sure why the interface wasn't made simpler, allowing access to more power and complexity only if necessary. I want to focus on the code, not on how to navigate and use the bells and whistles in the coding environment.

View 1 Replies

Flex :: Builder - Using Flex Builder With Source Control?

May 25, 2010

When setting up a source control repository for a Flex Builder workspace, what do you consider to be worth checking in? Do you exclude the workspace .metadata folder but keep the .project and other project specific files? Keep both? Throw away both? Is there a guideline you use to decide which is worth holding onto or do you do it out of practical experience?

View 2 Replies

ActionScript 3.0 :: Runtime-type A Class With Tokens?

Jun 1, 2009

Is there a way to runtime-type a class with tokens, like the Vector class, or it is exclusive to FlashPlayer and Adobe Team?

[Code]...

View 2 Replies

Php :: Getting The 'Zend Amf Endpoint' Mesage On Dreamhost But OK On Localserver

Aug 22, 2010

I've been working with Zend Amf for few months and everything is fine on my localserver (and was fine on my test server hosted by dreamhost) until recently. Now every time I try to access the gateway via the URL (i.e. http://hostname/gateway/) instead of the 'Zend AMF endpoint' message should be getting, the browser simply prompts me to download an application/x-amf file.

I have checked my code for any leading or trailing spaces (made sure all my PHP didn't have an endtag).Checked the PHP version..it's 5.2..updated Zend to 1.10.7. I was hoping that this wasn't interfering with my remote flash calls but that doesn't seem to be working as well. Flex doesn't even report a fault code.

Is there any specific PHP settings I should be checking?

View 1 Replies

Actionscript :: Tokens In Haxe Build Process?

Jan 10, 2011

I'm using HaXe to make a few simple SWFs for RTMP video streaming. Everything is working great, but what I'd really like to do is tokenize a few properties so that the SWFs are compiled with environment specific properties ALA Ant.

[Code]...

I've poked around in documentation and on forum posts and can't see how to do this, though I'm sure it's possible. anyone point me in the right direction?

Note: I considered using flashvars and managing the address in the web application, but that seems less efficient. If that's the better way to handle this please explain why.

View 1 Replies

Flash - Overwrite BlazeDS / FlexDataservice Endpoint?

Apr 30, 2011

I'm using the build in Flex Dataservice to connect to a BlazeDS server. Flex is using the *.fml file within the model folder for the connection details, within that file you can find the following:

<annotation name="ServiceConfig">
<item name="DEFAULT_ENTITY_PACKAGE">valueObjects</item>
<item name="contextRoot">/MYWEBAPP</item>
<item name="rootUrl">http://192.168.178.21:8080/MYWEBAPP</item>

[code]....

the _super_Database class created by Flex DataService uses that configuration to setup a remote object for communications.Now i'm looking for a way to overwrite those settings within the Database class which extends the _super_Database class.

View 1 Replies

Flash :: What Tokens Are Available (by Default) For Use In Mxmlc Config File

Jul 14, 2011

The flex compiler (mxmlc) allows the use of token substitution in the compiler config xml file, as referenced in the documentation.From the linked documentation it is clear that you can specify your own tokens for substitution on the commandline, but there are also some default/magic tokens available that Adobe has put in place.For example, the snippet below is reduced from an Adobe example on how to fiddle with the framework RSL sourcing:[code]I have highlighted two tokens in use there, namely hosted.rsl.url and build.number. These work "magically" without specifying them on the commandline.

Here is another example that vaguely shows the existence of a ${flexlib} token.Unfortunately, aside from those limited examples I can't find a whisper of documentation on what tokens are available... Is the list of tokens documented somewhere that I can't find? If not, does anyone know what the available tokens are so that this SO question can be the documentation? referenced build.number, I might as well also note that build.number doesn't seem to work quite like Adobe seems to think it does since for me it simply gives me the build number, not the whole string. ie: For flex 4.5.0.20967, ${build.number} just gives me 20967 which is not much help). I had a web link where someone was complaining about the changing implementation of these tokens, but I can't find it anymore.

View 2 Replies

ActionScript 3.0 :: Change Motion Tween Endpoint At Runtime

Sep 1, 2009

I've created a symbol and motion tween and given an instance name to the tween (lets call it mt1) on Layer 1, frame 1 - frame 10. On layer 2, frame 1 I create a button and stop and add the MouseEvent hander and function. Can I, from the function on layer 2, alter the end point of the motion tween on layer 1 via the function? I've tried, but unsuccessfully. Can't seem to access the tween properly. Or I am way off base. Here's the Actionscript frame 1, layer 2:

[Code]....

View 2 Replies

Flash :: Flex - Migrating A Project From Builder 4.0 To Builder 4.5 Is Producing The Error "The Required Skin State 'disabledWithPrompt' Is Missing"

Nov 28, 2011

I am trying to migrate a project from Flash Builder 4.0 to Flash Builder 4.5. After Flash Builder prompts me to choose my new SDK, I choose 4.5, Then I get the following error:" error "The required skin state 'disabledWithPrompt' is missing".

View 1 Replies

Php :: Embed Video On External Sites While Still Using Tokens To Protect The Content?

Mar 23, 2010

On our own website, it's easy to protect against direct links to our video content by grabbing a token through AJAX and verifying the token through PHP before the file download is started.

However I'm also researching how I could provide an embed feature, like YouTube or vimeo etc., without compromising this security feature.

The problem is that the embed code I want to provide should look something like <object>...<embed>...</embed></object> -- but I don't know how to grab and append the token to the filename. I mean, I guess I could attach a script that did some gnarly JNOP business, but that's too dirty.I'm using JW Player for the actual video container.

View 2 Replies

Zend Framework - Zend_AMF Endpoint Protection In A Flash Game Deployed In Facebook?

Apr 25, 2011

feasable protection of my Zend_AMF gateway? I mean, how can I prevent someone from calling my service methods?

View 1 Replies

Flex - Importing Flash Builder 4.5 Project Into Flash Builder 4.5.1?

Jun 27, 2011

I have an AIR project that I was working on Flash Builder 4.5 which now I'm trying to import to my updated Flash Builder 4.5.1 and it is prompting me to fix some paths before the import is completed. I'm kinda clueless what I should put in those fields.

[URL]

The project access a web server to retrieve data using JSON.

View 2 Replies

Flex :: Working With Data In Flex By James Ward / EmpWeb Example In Flash Builder 4.0 Beta

Jul 31, 2009

From a video on AdobeTV, I tried to play with example empWeb (LiveCycle Data Services).In Flex Builder 3 (FB3) everything works fine. When I tried this on Flash Builder 4.0 Beta (FB4) it doesn't work. When I replaced original xmlns declarations (2009, spark, halo)with declarations from FB3 (2006) it works. Could you explain why?I'm using the default SDKs (Flex 3.2 for FB3 and Flex 4.0 for FB4). I investigated this (please see 3 source code examples). Source #1 works OK in FB3 and FB4, Source #2 gives a FB4 compilation error message: [code]

View 1 Replies

Flex :: Upgradation From Builder 3 Standard To Flex Builder3 Professional?

Oct 24, 2009

I had purshased one licenses for each, flex builder 3 standard as well as flex builder professional. First, I installed flex builder 3 standard and entered the license key, it worked. As it was standard charting library has 'flex trial' water mark. Then I tried to uninstall flex builder 3 standard and install flex builder 3 professional again on 'same machine'. But here I faced the real problem, as soon as I run the exe, the license key automatically gets copied from windows registry file and it behaves as standard edition. Then I tried to use 'manage flex license' option and use 'upgrade to professional' option. Now as my key is for 'Flex 3 professional' and not 'upgrade to Flex 3 professional' it does not accept as valid key. I have few softwares which restrict me from reformatting my system

View 3 Replies

Flex :: Get HTML Text From Adobe Flex Builder RichTextEditor?

Jan 29, 2010

How to get HTML text from inputed and edited text into Adobe Flex Builder RichTextEditor control? I mean with valid HTML coming from the Flex RichTextEditor component Not Badly formated HTML, with no spaces, with tags not closed! So we have some text edited with RTE a-la

View 2 Replies

Flex :: License The Application Developed With Flex Builder Trial?

Mar 19, 2010

Can I create an application with Flex Builder Trial ( that I have just downloaded ) and use that application on my website ? But all of you that use Flex Builder have the licence?

View 2 Replies

Flex :: Display Content Assist In Flex Builder For All Classes?

Jul 16, 2010

I have a components and classes project library. Within the library, flex builder only seems to display content/code assist options for top level classes (e.g. arguments, Array) but not other classes such as VBox. Also, within the non top level classes, class properties are not provided by content assist.

View 2 Replies

Can Flash Load A Flex Mx:module Created In Flex Builder 4

Feb 16, 2011

I have a Flex module created in Flash Builder 4 as a swf file. I am trying to load and run in within a Flash application. I can get the module loaded but I can not get the flash application to access any module functions. Here is how I load the module in Flash and the error I get. If I change the module to an application type swf then it loads and runs but now I have two applications on top of each other. I would like the loaded module swf to be able to have access the Flash stage object.

ReferenceError: Error #1069: Property application not found on MyModule__mx_core_FlexModuleFactory and there is no default value.
var loader:Loader = new Loader();

[code].....

View 1 Replies

Actionscript 3 :: Flex Web Application Resize Method(and Scale X / Y) Not Working On Server But Works On Local Flex Builder

Oct 18, 2011

I have a quite different problem with resizing. I have a Flexbook component which uses the middle part of screen (center) with a html header menu and footer. The problem: The scaling works perfectly when we run in the local machine ( Flexbuilder). But when we deploy it to the server its like scaling never existed.. The requirement: when user maximizes the window or minimizes it, the Flexbook should be resized to fit the screen.

[Code]....

View 1 Replies

Actionscript 3 :: Get Started Using Flex And Ecplise Without Using Flex Builder?

Dec 27, 2009

I am a ASP.NET web developer who wants to learn Flex and Actionscript. I want to first learn how to develop web applications using Flex without having to pay for Flex Builder. From what I have researched so far there is a way to get Flex working with Eclipse and I did stumble upon this website: [URL]

I tried to download the components they used, but I am still not sure how to get Flex working. Can somebody please point me to a step-by-step guide on how to get started using Flex in Eclipse?

So, far it looks like you download Eclipse 3.5 + Flex 3.5 SDK + various plug-ins listed, but I'm not sure what to do next.

View 4 Replies

Flex :: Develop And Compile A Flex Application Without Builder?

Mar 8, 2010

How to develop and compile a Flex application without Flex Builder?

View 2 Replies

Flex :: Builder - Deploy Flex App Using Different Web Service Urls?

Sep 28, 2011

Is there some sort of configuration settings in FlashBuilder 4.5 where you can easily switch between webservice urls? Right now I have to delete and recreate the web service every time I switch from local to production and vice versa.

View 2 Replies

ActionScript 3.0 :: Difference Between Flex Builder And Flex SDK?

Jun 7, 2010

what is a difference between in flex Builder and Flex SDK?

View 5 Replies

Flex :: Use Sdk In Builder 3?

Mar 18, 2010

Can i use the flex 4 sdk in flex builder 3? i have a licensed version of flex builder 3 professional. so if i need to use flex 4 sdk in it, do i need to buy flash builder? cant i get all the new components in flex builder 3?

View 2 Replies

Flex :: Install SDK 4 To Builder 3.0.2?

Aug 30, 2009

i am really going to be crayz. I did everything to install nightly compiled SDK 4 to FB. When i am going to design mode it says, Design mode: Cannot load textLayout.swc (reason: ERROR: Load Verify). It may require classes (such as Adobe AIR components) that are not supported by design mode. Check the Eclipse error log for more details.and also when i'm pressing CTRL+SPACE, code complition is not working.

View 2 Replies

Flash :: Flex - Does Builder 4 Now Use AIR 2?

Jun 14, 2010

I just got CS5 master suite which includes Flash Builder 4 and Flash CS5 Pro. When I create a new AIR app in CS5 pro it says "AIR 2" but when I create a new AIR project in Flash Builder I do not see anything indicating that it is AIR 2 or 1.5?

Is there a way to tell which AIR runtime it is using?

View 2 Replies







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