Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




Flex And Fcs3 Not Playing Well Together



i havent woked on any as3 projects in a few months but now am getting back at it with a new project although now fcs3 and flex dont want to play well together like they used to.first problem is when i have a movieclip in fcs3 linked to a AS3 class and put another movieclip inside it (in fcs3) and give it a variable name and try to declare it in the AS3 class
Code:
public class Puzzle1 extends MovieClip{public var myImg:MovieClip;
it gives me this error: 1151: A conflict exists with definition myImg in namespace internal.my second problem is when i try to pass tat same Puzzle1 class to another class it wont let me
Code:
public var pGrid:PGrid = new PGrid(this);
it gives me this error: 1067: Implicit coercion of a value of type Class to an unrelated type game.p1uzzle1.but if i pass it in as a MovieClip it works fine, this i know can not be right.any ideas on what the problem could be?



KirupaForum > Flash > ActionScript 3.0
Posted on: 11-29-2007, 04:52 PM


View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread

Flex And Fcs3 Not Playing Well Together
sorry for repost, can someone delete this?

Flex Determining When Animation Has Finished Playing
I tried googling but nothing came up (atleast not that i found it) so i tried doing it myself.
In my app im embedding a swf file and then use this code to display it:

Code:
_animation_swf = new LaserAnimation() as MovieClipLoaderAsset;

_animation_loader = new SWFLoader();
_animation_loader.load(_animation_swf);

this.addChild(_animation_loader);
I googled and found out MovieClipLoaderAsset has methods to determine current frame playing and total frames. Perfect for me. I wrote this little class:

Code:
package components.init_screen.components
{
import events.AnimationPlayEvent;

import flash.events.Event;
import flash.events.TimerEvent;
import flash.utils.Timer;

import mx.core.MovieClipLoaderAsset;

public class Animation extends MovieClipLoaderAsset
{

private var _timer:Timer;

public function Animation()
{
super();

_timer = new Timer(100);
_timer.addEventListener(TimerEvent.TIMER, detectPlayback);

this.addEventListener(Event.COMPLETE, startDetection);

}

/**
* starts when asset finishes loading
* */
private function startDetection(event:Event):void{
_timer.start();
}

/**
* is being repeated periodically and detects if animation has finished playing
* */
private function detectPlayback():void{
if(currentFrame >= totalFrames){
_timer.stop();
dispatchEvent(new AnimationPlayEvent(AnimationPlayEvent.PLAY_COMPLETE));
}
}


}
}
and changed the display code to this:

Code:
_animation_swf = new LaserAnimation() as Animation;

_animation_swf.addEventListener(AnimationPlayEvent.PLAY_COMPLETE, addLanguageMenu);

_animation_loader = new SWFLoader();
_animation_loader.load(_animation_swf);

this.addChild(_animation_loader);
The problem is it reports a runtime error: Cannot access a property or method of a null object reference. on line where i add an event listener. If I try commenting that line it seems the app just freezes... no http service response, no animation showing...
Does anyone know what i did wrong?

Actionscript/Flex 3 - Seeking Tutorial That Connects Flex With Various Architectures
I am looking for a step-by-step detailed tutorial that will show me how to connect the following technologies with my Flex Application (from installation to actual usage to understanding what each part does). My flex application needs to be able to save data from a datagrid in the database and retrieve it. All suggestions and examples are welcome.Thanks

# Presentation Layer

* Flex 3

# Remoting and web messaging technology Layer

* BlazeDS


# Business Layer

* Spring

# Data Access (Object-Relational Mapping)

* Hibernate

# Data Storage

* MySQL

# Application Server

* JBoss

# Build

* Ant or Maven

Flex Displaying Labels/Text Vertically In Flex 3
Hi All,

I have a chart in Flex 3 and am currently displaying the axis names using <mx:Label! I want to display the vertical axis name vertically, that is
p
r
i
c
e

instead of

price

I was wondering if anyone knew how I might be able to do this? Any help really would be greatly appreciated!

Thanks,
Derm

Flex Drop Alternate Labels From A Flex Bar Chart
Hi,

I have a bar graph in flex. i need to show labels on the x axis only after a definite intervals. actually this is to avoid overlapping of labels. for eg. if it is the 12 months shown on x axis, i need to show Jan April July etc. instead of Jan,Feb,March,April etc.
Any help would be appreciated.

Thanks
Ananya.

Flex Reconnect Flex To Debugger Flash Player
I upgraded my OS (OSX) and Flex seems to have lost its connection to the the Debugger version of my Flash Player. I don't see an easy way to re-establish the connection. I've already directed the OS to open all .swfs in the debugger version of the player.

Flex Flex 3 Update 2 ( AS3 ) And Visual Basic 2008
Hello i am newbie for your forum . A lot of thanks for welcome.

I would to know about Flex and Visual Basic 2008 ( 9 Version with SP 1 ) because it is different with "fscommand" or "externedinterface.call"

I know that adding with shockwave in Visual Basic 2008 like old version of using object.
http://www.kirupa.com/developer/mx/flashvb.htm

But it is old version! I am using Visual Studio 2008 Pro with Service Pack 1 ...
I want to create swc with externedinterface or fscommand like MDM Zinc 3.x or Rapid applications...
Can you say me when your simple example for code?
I want to know:
- How do i exit an Application from Visual Basic 2008 while i click with externedinterface by Flex-Application.

Edit:
Flex Builder 3: Code:
Code:
<?xml version="1.0" encoding="utf-8"?><mx:Application
xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"><mx:Script>
<![CDATA[

publicfunction myAppexit():void
{
fscommand("vb_exit", "");
}
]]>
</mx:Script>
<mx:Button label="Exit" click="myAppexit()" left="10" top="10"/>
</mx:Application>
Visual Basic 2008: Code:

Code:
Public
Class Form1PrivateSub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) HandlesMyBase.Load

AxShockwaveFlash1.Movie = "C:Dokumente und EinstellungenSnakeMediaEigene DateienVisual Studio 2008ProjectsWindowsApplication1WindowsApplication1myApp.swf"
EndSub
PublicSub AxShockwaveFlash1_FSCommand(ByVal command As System.String) Handles AxShockwaveFlash1.FSCommand
Application.Exit()
EndSub
End Class
2 Errors were outputs.. i can not try.. Please answer me for help!!


Thank you.

Best regards, SnakeMedia

Develop FLEX Applications, Without Purchasing FLEX Server
BIG news today, Mike Chambers has announced that the next version of flexbuilder (codenamed zorn which will be an eclipse plugin) will be able to compile mxml and Actionscript files into swfs, without having the flex server. There will still be things that you need flex server for (enterprise level features, no word on what these are just yet) but you wont need it for most of your flex swfs. This is a HUGE deal btw.

You can see the post here: http://weblogs.macromedia.com/mesh/a...zorn_requi.cfm

make sure you read through the comments, esp. my question and his answer.

[Flex] Creating A Flash SWF And Using It In My Flex Project?
Hi there,

I recently got the demo for txeff and i was messing around with it. Quite cool, id consider a purchase but over 100 notes for some text effects is a scandal in my own meaningless opinion.

Anyways it had me wondering about something else. For example lets take a new Flash CS3 file containg a dynamic textField instance called "tF".

Is it possible to embed the SWF into a Flex project and dynamically populate the textFields propery?


Code:
[Embed(source="/assets/textFieldThing.swf")]
public var EmbeddedTextFieldThing:Class;

var myNewTextField:Sprite = new EmbeddedTextFieldThing() as Sprite;
//PS. Just wondered, can this be also done as Sprite(new EmbeddedTextFieldThing())? and what way is correct?

myNextTextField.tF.text = "I am trying to display this text in the embedded SWF".
addChild(myNewTextField);



This dont seem to work, it was worth a try though. Can anyone else give me some knowledge if this is possible or not. I find myself often using the API in flex when i could save alot of time in Flash IDE.

Cheers

[FLASH+FLEX] Call A Method In A Flex Swf From As3
Hello

here it is:
i have a flex file with methods inside and some as3 swf
The idea is to load the flex file in as3 swf, and when flex file is loaded, call a method from the flex file

here is the code process

Code:
var _loader:Loader = new Loader();
var flexAppli:URLRequest = new URLRequest("flexfile.swf");
_loader.contentLoaderInfo.addEventListener(Event.INIT, onLoadInit);
_loader.load(flexAppli);
and

Code:

private function onLoadInit(event:Event):void
{
var loader:Loader = Loader(event.target.loader);
var newSprite:MovieClip = new MovieClip();
newSprite.name = "LeFlexCharge";
newSprite.addChild(loader.content);
addChild(newSprite);
setChildIndex(newSprite, 0);
// here the method call
newSprite.mymethod(); //dont work
}
The problem is : when calling the mymethod from flex file, it does not work

So i did a trace on all elements in as3 file and i get an object like this
_MyFlexAppli_mx_managers_SystemManager

First question : What's this ?
Second Question : How to call my method ?

Thx for yr help
tofu

Flex Tutorial: Twitter, Flex And JSON
I put up a tutorial that should get you started on how to use the Twitter API in Flex: Twitter, Flex and JSON

Flex Flex Tile List Component
How to make the Flex Tile list component scroll the content continously like in Scribd ? The tile list does not scroll continuously, but it abruptly jumps and fits the content place holders in the viewable area.

Flex Dynamic DataGrid Creation In Flex 3
Hi All

Can anyone please suggest me a way to create a data grid dynamically in Flex 3.(I actually was want to create it thru Action Script.)
The data would come from the XML and the rows of the grid are also not going to be fixed. It will be dependent on the number of nodes in the XML.
The data grid will have 3 columns 1 containing a text field, and the rest 2 will contain small icons, all created dynamically.
It would be gr8 if some code related to that can be provided.

Thanks for any help that can be provided.
Vicky

Flex RawChildren Ruins Layout In Flex 3
Hey all!

I've been playing around with Flex lately, and having come from a pure AS3 background, I couldn't help but create some simple effects in there for fun. That's when I hit a snag. Now, with Flex, I'd have to use the UIComponents' rawChildren object in order to add widgets of DisplayObject types... fair enough. Problem is when I do that, the components stop obeying layout rules, transitions stop working, etc.

The best way to really demonstrate this problem is to see the project itself. Here's a link to the project source:

http://www.thurinusworks.com/public/problem_src.zip

In there I created a Panel component that has view states and transitions, and an Application that holds that Panel and houses a bit of actionscript to create a sparkly mouse toy effect. If you commented out all the script for the mouse toy, you'll see that the Panel centers on the Application as you resize the window, and clicking the 'Register' link would display a nice elastic transition effect between view states. When the mouse toy is active, the Panel position stops working correctly, and clicking on the 'Register' link would simply display the view state with no transition. It happens intermittently, but seems to guarantee happening after the first SWF launch, so if you don't see it happening, relaunch the SWF and it should screw up.

I don't know what's causing it to break like this. It's either my error or a serious bug in Flex, and I dearly hope it's the former... If it is, what must I do to fix it? If it isn't, is there a work-around?

Thanks for *any* help you can provide!

Best regards,
Jay

Flex Filling Non-Flex Objects In A Repeat
Filling non-Flex objects in a Repeat

Hi guys,

For our current project were trying to put as much as possible of the display list structure into mxml. Because that's more readable.
This of course also includes using Repeat's for dynamical parts.

But, we build some parts in Flash. Just little peaces for skinning.
(We publish those as swc and use them in Flex)

We can't of course just use this in flex, but we have the DisplayObjectWrapper from Mr. Grant to fix that.
But despite of this wrapper I can't change the properties of non-Flex components within a Repeat, in mxml.

A simple example:


HTML Code:
<?xml version="1.0" encoding="utf-8"?>
<mx:Canvas
xmlns:mx="http://www.adobe.com/2006/mxml"
xmlns:text="flash.text.*"
xmlns:ui="com.gskinner.ui.*">

<mx:Script>
<![CDATA[
[Bindable]
public var texts:Array = ["a","b","c"]
]]>
</mx:Script>

<mx:Repeater id="r" dataProvider="{texts}">
<ui:DisplayObjectWrapper>
<text:TextField text="{r.currentItem}" />
</ui:DisplayObjectWrapper>
</mx:Repeater>


</mx:Canvas>
This gives the (compile) error:
"Unable to generate initialization code within Repeater, due to id or data binding on a component that is not a visual child."

I went searching but couldn't find much. Only that you can get this error if you use the DataGridColumn in a certain way in a Repeat.


Anyone any idea how to get this working?

Thnx

Flex How To Connect Flex App (View) To Controller
I have a Flex app with a centralized event controller. What's the best way to connect the app to the controller? Right now the View instantiates an instance of the Controller but the controller isn't aware of the view.

Flex Move A Flex Project From One Folder To Another
How can I relocate a Flex project on my system and reestablish the connection to in Flex Builder? I don't see an easy way to relink once I've moved it.

Flex How To Change The SWF I Have Loaded In Flex During Runtime.
Guys

I have a Flex application in which i have a SWF loader which loads a swf from an external Actionscript project.

I want that SWF file (from External AS project) to be modified when the user does some operation on the main Flex Application.... I mean i have to create some other objects on that SWF file.

Please help guys...
thanx in advance..

[fcs3]
Hello, novice here

Right the basic problem is this:

I have one Main.swf file and I’m importing symbols from a seperate.swf using the import for runtime sharing options. What I have in the Main.swf is a container symbol and in the separate.swf file I have a symbol containing a bmp that needs to scale up at runtime when it is imported by the Main.swf to fit the size of the container symbol. Do you know if this is this possible?

I have the importing/exporting part working fine, it is just the scaling that I can’t get to work. Any ideas

[Fcs3]
hi, ive been trying to make myself a portfolio using flash cs3, and so far everythings been running pretty smoothly, ive been following a tutorials by cartoonsmart.com, but ive started running into some trouble now, i created a function that tweens out a section off to the side when i click on a new section, but for some reason the tween refuses to work with certain sections...even tho the code for each section is identical...

heres the code:

frame one(the function)

Code:
function swapSections(){

if (sectionVar == "home"){
new mx.transitions.Tween(home_section, "_x", mx.transitions.easing.Regular.easeOut , 95.0, 800, 30, false);
}
if (sectionVar == "about"){
new mx.transitions.Tween(about_section, "_x", mx.transitions.easing.Regular.easeOut , 75, 800, 30, false);
}
if (sectionVar == "contact"){
new mx.transitions.Tween(contact_section, "_x", mx.transitions.easing.Regular.easeOut , 95, 800, 30, false);
}
if (sectionVar == "sigs"){
new mx.transitions.Tween(sigs_ection, "_x", mx.transitions.easing.Regular.easeOut , 75, 800, 30, false);
}
if (sectionVar == "sites"){
new mx.transitions.Tween(sites_section, "_x", mx.transitions.easing.Regular.easeOut , 95, 800, 30, false);
}

}
frame 50(home)

Code:
new mx.transitions.Tween(home_section, "_x", mx.transitions.easing.Regular.easeOut , -700, 95, 30, false);

// function called to move out the old section (this function is on frame 1)
swapSections();

//variable used in the function above to determine the current section
sectionVar = "home";

stop();
frame 60 (about me)

Code:
new mx.transitions.Tween(about_section, "_x", mx.transitions.easing.Regular.easeOut , -700, 75, 30, false);

// function called to move out the old section (this function is on frame 1)
swapSections();

//variable used in the function above to determine the current section
sectionVar = "about";
frame 70 (contact me)

Code:
new mx.transitions.Tween(contact_section, "_x", mx.transitions.easing.Regular.easeOut , -700, 95, 30, false);

// function called to move out the old section (this function is on frame 1)
swapSections();

//variable used in the function above to determine the current section
sectionVar = "contact";
frame 80 (sigs)

Code:
new mx.transitions.Tween(sigs_section, "_x", mx.transitions.easing.Regular.easeOut , -700, 95, 30, false);

// function called to move out the old section (this function is on frame 1)
swapSections();

//variable used in the function above to determine the current section
sectionVar = "sigs";

[fCS3] Why? Just Why?
Sorry about the unclearness of the title but that's the question i have been asking myself all day!

I am making a part in my flash game where you can select the level. I have made an input text box and set the var name to levelinput. Then i made a button and gave it this code:


Code:
on(release, keyPress"<Enter>"){
if(levelinput.toLowerCase eq "tutorial"){
gotoAndStop("Scene 2", "tutorialstart");
}else if(levelinput.toLowerCase eq "level1"){
gotoAndStop("Scene 3", "hsstart");
}else{
gotoAndStop("Scene 1", "invalidlvl");
}
}


for some reason i always get the invalidlvl frame. I would really appreciate some help guys, cos i haven't even done the main part of the game yet, and i don't like moving on while things don't work.


oh, btw, i made sure the frame labels are correct and used the script assist to confirm it. nothing wrong with the code... I followed a tut on this kind of thing and that didn't work either....

[FCS3] Actionscript 2 Or 3?
Hi

I've been learning flash for about a year, and have slowly been trying to get to grips with using actionscript (2). I normally grab bits of script from forums and tutorials and piece and adapt them to how I need.

Thing is, I really want to understand what I'm using and to be able to write my own script. With that in mind, am I best to forget the basic knowledge of AS2 and learn AS3? Or should I attempt to learn AS2 first, then AS3???

Also, if anyone could reccomend a book or tutorial that would be good to learn with, that would be great!!

Thanks
Wayne

[fCS3] Can't Add Actionscript To MC
Ok so i'm trying out fCS3, and I can't seem to add actionscript to MC's. I click on the MC, press the button with the arrow on the bottom pannel/right click then hit actions, and it says that I can't add actionscript to it. Am I pressing the right button or what? and also when I import/open something from F8 that already has actionscript it adds a panel with Actions - MC. and yes I am aware that fCS3 uses actionscript 3, is it that or what am i doing wrong? lol yes a very noob question. ty for any answers

[FCS3]How To Call External SWF's
I am creating an eLearning class using Flash CS3.

I would like to use basic controls to control the class (i.e. play, next, back). What I am trying to figure out is how to each new slide.

Example: At the main menu screen users have three different chapters they can go to, each chapter is a seperate .SWF file. How do I call this SWF so that it loads and plays, without it being in a seperate FLV playback window?

Anybody have any ideas on how to do this? I am sure it is possible, but I am new and ignorant.

I do not want to use the slide show application becaquse it only supports AS 2.

(FCS3) Combo Box Flickers, Why?
Hi, got a combobox inside a mc in a 1.swf that I import into 2.swf but there the combobox just flicker. It works fine when I test it using
´Test Movie´ in flash. And if I go straight to the directory and open 1.swf.

Any ideas?

And another newbie question how do I relabel a datagrid instance? (I am using a script from a mate and I need to relable the datagrid)

Help really appriciated!

B

[FCS3] Point-Roll?
does anyone know a good script for Point-roll that works cross-platform? i've created a point-roll in Flash CS3: hover over Flash movie and unfolding the pane. it needs to play in both IE and Safari/Firefox ? we got it to work in IE but not Safari/Firefox.

thanx much,
Sara
scsirain@yahoo.com

[FCS3] Tween Trouble In CS3
My Flash experience is in using Flash8, and I'm currently using CS3 for the first time. I am however using AS2.0, not 3.0.

I'm using several motion tweens between various keyframes in a layer of a movieclip. Each tween is from a keyframe with a symbol instance set at color: Alpha, 0% and the same symbol with color: Alpha, 100%. These appear to be functioning properly. Below that layer I have a layer with almost identical "static" symbols. The intended effect being part of the swf "fades in."

However, by the second frame as the alpha starts to tween in, the entire image (including the normal static layer) is washed out as if the tween layer has 100% opacity over the static fill layer.

I've done the exact same thing in the past using Flash8, so maybe I'm just forgetting something. Thanks for any help!

[FCS3] Dynamic Layers
How do I dynamically control which object is shown above or below another? I want to create a rotating menu, where icons are revolving around a vertical axis. So the icons in the foreground will eventually become icons in the background and thus their view will get obstructed by the icons coming into the fore.

I'm figuring that the actionscript is needed to dynamically assign assets to layers. How do I achieve this?

(I haven't touched flash in ages and this may not be the correct place to post this)

[FCS3] Interface Annoyance
This is driving me nuts.

I'm using CS3 and since I like a large screen I'm in the habit of docking everything and collapse/expand my libraries. I also keep my properties panel docked at the bottom. Before, when I opened the library panel, it used to show up over everything. Now, I don't know which wrong button I pressed but the bottom of it keeps getting covered by the properties panel. The only way I can have it on top of properties is if I undock properties, which isn't what I want. Can any gurus out there help me with this annoying issue? Thanks in advance.

[FCS3] Including Php Links
I am working on a HTML/PHP site which uses php links to forward/include a refID. The links within the HTML have changed from standard HTML <a href="page.html"> to PHP <a href="<?writeLink('page.php')?> so the refID will always remain in the address bar for the contact.php page to pick up when relevant.

This is all fine, however I also use an animated Flash map to link to (for example) page.php. How can I update the standard getURL links in my Flash file to carry this RefID onwards?

The writelink code is:
<?
function writeLink($strLink)
{
echo $query_string;
$refId = $_GET["ref"];
if ($refId=="")
{
echo $strLink;
}
else if (parameterAlreadyExists()==true)
{
echo $strLink."?id=".$_GET["id"]."&ref=".$refId;
}
else
{
echo $strLink."?ref=".$refId;
}
}
function parameterAlreadyExists()
{
if ($_GET["id"]=="")
{

return false;
}
else
{

return true;
}

}

Not sure if I'm just being dumb, but I've spent hours trawling through various sites and Flash/PHP tutorials without finding the answer! Any help, as always, would be appreciated.

Class Exclusion In FCS3
Hi all :)

My question is related to the exclusion of classes during the compilation of a fla file (not using the Flex Builder !!!) using AS3. Simply, I'm searching a way to do the same as the exclude.xml using AS2. As I want to set a Document Class to my fla, I cannot use a describeType-solution or a solution
like that :(
Is there a way to do that ? I already launched a topic on Media-Box [FR] but it seems that isn't possible yet...

Best regards !

[FCS3] Class Limit?
There are 77 classes in my project and around 30 of them are linked to MovieClips. If I do a size report it says that my Actionscript classes are 110296 bytes.

I am having a mysterious problem. I have a MovieClip, and I would like to link a class to it in the library.

But I get the following error:

The class or interface 'gui.screens.game.ContinueGame' could not be loaded.

The class at the moment is empty (see code below), although I have tried renaming, deleting and recreating it a few times.


Code:
class gui.screens.game.ContinueGame extends MovieClip {
public function ContinueGame() {

}
}
I have also tried linking the class to other MovieClips that have been successfully linked other classes before - which didn't work.

I have tried linking other classes I have used before to the MovieClip - which worked. So the problem lies with the linking of the specific class. Since I have tried renaming it, I'm wondering if there is you can only link a certain number of classes or something. Or I am missing something obvious and will kick myself when I find it.

[FCS3] Help: Animated Navigation Bar
i'm trying to create a nav toolbar of some sort like the one that was mentioned here.
being an actionscript newbie relying on kirupa tutorials i am stumped on a few items.

questions.

1. how do i make the buttons inside the scrolling mc or any animated mc to work.
2. i am able to swap the z order of the scrolling items using swapDepths using "onRelease"... how do i make it work on something like "onRollOver"?
3. is there a way to maintain the object spacing on the scrolling items while the focused item is enlarged?

...i know there was one more question in my head... i kinda forgot what it was. update this post when i remember it =]

any help would be appreciated.

thanks!

Logging On With Flash (FCS3.AS2)
i've looked on the site and it doesn't quite have what i need (great site btw)

anyway this is what im looking for.

actionscript 2 for;
a stand alone flash program
that several users can log on
and multiple accounts can be made
and it will save and remember where the user was if they log in again

basically i'm making a puzzle flash game

if they finish level 1 level 2 gets unlocked and level 3 after level 2 is complete.

i'm thinking of heading on the lines of

if the user logs on and plays the variables (level 1, level 2, level 3) change from false to true until they complete the previous level (with the exception of level 1 always being true)

then when logging on again if the name and password is the same as previously used then they will be able to resume from either level 1 2 or 3 (they will have to start from the beginning of the puzzle naturally, not from their last move)

so is there any way to do this without mySQL and without PHP? or do i have to use them? because i'm using a stand alone flash file and at most use a simple .txt or an .xml file.

also its preferred that all scripting done on the first frame and not on buttons and using instance names not the var box down in the bottom right hand corner.
(if not ill translate it on my own)

fast help will be greatly appreciated
thanks in advance!!

z~

PS im not a flash wiz or anything... i just know the basics...

FLEX Rocks [would Like A Flex Forum]
This awsam new technology will deffinitely change the web programming!
So I think it deserves it's own forum.. ;-)

Flex Example Applications: http://www.adobe.com/devnet/flex/ind...?tab:samples=1

I did a little testing - and I am amazed with every single thing that I discover!

Integration of your custom Actionscript 3 classes is great (link: my background test).

Running A Flex App Outside Flex Builder
Hi all,

I've been working on a flex widget for a number of weeks and have just completed development and testing and want to upload the swf to a server! If I run the swf from flex builder it connects to the server fine and runs through the entire operation!

However if I try and run the swf from anyother location (I've only tried off a folder in my c drive and my desktop) I get an error connecting to the server?

Does anyone have any ideas why this is happening or more likely what I'm doing wrong? I'm copying the swf from the bin folder in flex builder and then pasting it to a seperate location and trying to run it! It runs fine by double clicking on it in the bin folder but won't run anywhere else??

Any help would be greatly appreciated!!
Thanks in advance,
Derm

Flex Flex Button Question
Very basic question for the flex people.
How do you get rid of that very annoying blue rect round a button when you roll over it ?
I've tried about every style property in the Flex doc.

Flex I Need A Window Class In Flex
Hi ! I'm trying to make an application with windows. I want to load buttons, text, pictures, etc in each window. and i want to let the user move the window, close it ... maybe resize it and maximize/minimize it ... And the most important: It must have scrollBars. Because my content might be larger than the Window.

Now ... i am using Flex and it has some nice classes but i didn't found anything like what i was thinking about. For example the mx.containers.TitleWindow is a nice window that has a close button and i can easily add Children to it, it has that scrollBar ... But i can't move it, i can't resize it ...

Do you know any class? Or should i make a new one that extends the TitleWindow? and add the things i want ?

Flex 2nd Flex RIA - QuickView Portfolio
I'm in the process of learning Flex and MXML. I decided to make a mini site to show off my work. All created in Flex Framework. CHec out more here. Give me your opinions, Thanks

http://blog.kreativeking.com/2009/01...lio-mini-site/

I Am New To Flex And I Want To Create One Report In Flex
I tried to use it and was success till some extend is starting the flex but i am facing the problem in compiling it.

I think i am confused in it.

I am not able to run the swf and xml file as i use to do in flash.

Free Flex 2 SDK Or Flex Builder 2
Am i correct in thinking you can only go so far with the Free Flex 2 SDK? And if you want to build something serious and efficiently you need buy stuff i.e Flex Builder?

I don't want to sound stingy and am quite prepared to pay for authoring tools. But don't want to buy things I don't need.

[FCS3] Problems With Gotoandplay And GetURL?
I just started using Flash CS3 and am trying to do something seemingly very simple. All I want to do is loop Scene 2 and have the flash movie link to a certain web page. I managed to get it to loop Scene 2, but once I added the button with the link, it stopped looping. I'm not sure if I even have the link working either.

I made a mockup of my FLA. This is exactly how I do it in my real FLA.

Any help is appreciated

[fcs3-as2] Save Listbox To File...
Hi again,
Well, using AS2, because I just don`t know whats to great about AS3 above AS2 yet. I`m used to Delphi, so maybe AS3 would be better, but for now, it`s AS2

And to the question;
I`m making a little program. It contains lists witch can be edited (add/remove/edit-line). It`s holding information like programs/games/movies and stuff you`v got on your computer.

All the buttons are working, but I still need one more thing; save the lists to a .txt file(or .ini, or whatever).

How do I do this? Just a simple methode to save all the lines in a way that they can be read back again. (Need help with the read thing too..)
And is there any way to "hold" the information inside the flashfile as long as it`s running? Because, I`v got 5 areas witch loads on different keyframes (depending on what cathegory you click on in the main menu) and each time I switch to another place on the timeline and back again, the text is gone...
Would work to just save/load each time too...

Thanks in advance!

[FCS3]Simple Textbox Problem
Hey guys,

For some reason when i click in a multiline textbox the cursor appears on the 2nd line not the very top line. Does this happen to everyone or is there a way to fix this? Seems a bit unprofessional on my contact form...

Thx

[fCS3] How Do I Break Out Of A Movie Clip?
Ok, this is confusing.

I have made a button inside a movieclip. I have a applied actionscript to the button. The actionscript has an IF statement which, when true, should take me to a frame on the main timline that i have labeled "window". however, this doesn't work.

basically how can i get a button in a movieclip to take me to somewhere on the main timline?

[fCS3] Auto-Kern Query
What is auto-kern, and why has it stopped me from using vars in my input text boxes?

[Fcs3] Tricky Carousel Question...
hi...

Just a simple carousel based question, (it's tricky for me though). I was utilising the tutorial over at gotoandlearn. I'm trying to load a mc from the library in flash instead of an external movie via the xml file...


Code:
<icon image="img/frame7.png" tooltip="Funky" movie="funky.swf" />
^^^ is an example of a line of code in the xml file which loads an external movie into a mc called myLoader in the main flash movie.

Any ideas how to use a library item instead of an external movie. I've tried code:
//load movie from directory...
myLoader.attachMovie(t.movie);

whereby t.movie is the attribute movie in the xml file, (which I gave the linkage ID of "funky" instead of "funky.swf"). no luck though...

thanks in advance
Jeff

FCS3 - XML Content & Direct Access
Hi People,
I have a question regarding direct access to XML Data nodes. Please bear in mind I am building this application for an Online Advertisement so loading times are essential.

The first question to ask is: How much XML Data is acceptable to be loaded on the first frame? There will be about 100 different products, each with 6 attributes (Name, ImgPath, etc). Is this going to be too much? If yes, please read on...

I am building an application which will contain around 100 different products, I generally build XML applications by bringing all the data in at the beginning, putting it into Arrays and displaying it when necessary. This has served me well in the past and I would like to stick somewhat close to this for sanity's sake. I am hoping to reduce the amount of data brought in on the first frame to reduce loading time and make it easier for myself to debug, is it possible for me to access specific child nodes by a name that will be retreived from the users selection. I am hoping this will reduce loading times and make it easier for me arrange everything, as I will only have to data I need and can update it when necessary.

Any assistance greatly appreciated,
thanks in advance.

[FCS3] Updating Email Link
I bought a Flash kit site. I have made all the changes. Missing is how to access the code so I can add the correct email link. How do I do that?

Copyright © 2005-08 www.BigResource.com, All rights reserved