ActionScript 3.0 :: Components And Dynamic Content In Flash?

Oct 22, 2009

I have a specific requirement for a UI component that I am working on. I would like to make the component so that a designer can update a graphics in live preview mode whilst keeping the associated class the same.For example...ets take a button component which has an icon in the background and label. By setting an inspectable, I am able to set the label easily, but is it possible to point the icon to an image in say, the library or remotely etc? and have the image show as the background inside flash?[EDIT]Ahhh...I'm not able to load extenal files into the client so the graphic would have to be a library asset? Possible?

View 1 Replies


Similar Posts:


ActionScript 2.0 :: Edit Dynamic Content And Modify The Content And Save It All Within Flash?

Oct 1, 2007

how it is possible to edit dynamic content and modify the content and save it, all within flash.I have tried some experiments in the past and have got the text to change etc which is easy but i need a way to save the content so the next time anybody sees the flash it will have the latest content until i change it again.

View 2 Replies

ActionScript 3.0 :: Loading Components - Content No Longer Shows And The Mask Disappears

Jul 25, 2011

I have an application written in AS3 that is loading swfs written in AS2. Most of them work fine, except for ones that contain the old AS2 accordion component. Loading one results in it working correctly, but each one that is loaded after it breaks the previous one (the content no longer shows and the mask disappears). It's not just limited to the accordion, any of the AS2 components that came with Flash Pro cause breakage. I've tried loading the swfs to separate movieclips, tried using applicationDomain, tried everything else I can think of. Rewriting the swfs in AS3 is not an option due to circumstances out of my control.

View 2 Replies

ActionScript 2.0 :: Extend Components If Place Images Next To The Content Inside A ListBox Component

Mar 30, 2005

how to extend Components, like if i hav to place images next to the content inside a listBox Component, how do i do that?

View 1 Replies

Flash :: Flex Dynamically Created Components Added To Custom Components

Sep 8, 2009

I am created a dynamically adding a VBox, that contains two images. Into a Custom Component that is derived from UIComponent. The problem is the Vbox that contains the two image is only a really tiny size. I would like the VBox stretch to the size of the two images. This is how I am creating the Vbox....

[Code]...

View 1 Replies

Load Dynamic Content Outside Of Flash?

Feb 9, 2011

I would like to create a Flash menu but want to load HTML inside a targeted div on the same page dynamically without refreshing. I've seen several people say iframes can be used but I would prefer to stay away from iframes and use divs if possible. I'm guessing some fancy javascript would be required?

View 1 Replies

Dynamic Content Flash Dropping Processes?

May 10, 2009

I have been working on a full flash website and am encountering a strange problem (or at least its strange to me).
  
I have the main shell of the site, which contains:The layoutNavigationA movieclip which pages are loaded into (external swf's)Some actionscript which streams in an MP3The controls for the background musicA piece of actionscript which loads an animated background (another external SWF) 
 
I then have a series of pages in their own SWF's which get loaded into a movieclip within the shell when the user clicks the relevant button on the menu. Most of these pages contain:The panels for the content on that pageSome dynamic text areas for the text content on that pageSome actionscript which loads the content for that page from a couple of text files and populates the dynamic text areas Then there is a showreel, which has a menu and a customized FLVPlayback component to play audio and video tracks; the data for the menu and the tracks themselves are stored in XML files. 
 
If I am using a connection over 2MBit: Initial preloader appears, shell loads, background music streams in nicely and then the content page is loaded in, panels animate in and the text content appears; all is well and its pretty quick.
 
If I throttle my bandwidth to below 2MBit (the main tests being done with the connection throttled to 1.5MBit), this happens: Initial preload appears, shell loads, background music streams in but takes a bit longer to start up, content page loads in, panels animate in and the content appears for about 2 seconds.
 
THEN the contents of the text areas disapears and the word "undefined" appears. So the content seems to be dropped. I've done some testing to identify the cause and if I comment out the code which streams in the background audio, the issue disapears and everything works fine, so it appears to be related to the audio. I will say, its not the most lightweight of sites; its quite graphically heavy (nothing too excessive though) and the background music is a 6MB MP3; the owner of the site is a movie composer so he has a lot of high quality streaming audio.
 
So I was wondering if anyone knows why this type of issue would occur, it seems strange that Flash would drop the content thats been loaded in, that background music would break the process.

View 6 Replies

Professional :: Dynamic Scale Of A Flash Content?

Mar 20, 2010

I use Flash CS4 and most of the explanations you find online are for CS3.I used a mechanism once in HTML that set the flash site to 100% width, 100% height, which did scale it but there was no maximum limit and all the content got scaled equally. I would like to do it like in the HP above, where certain elements are differently scaled.

View 1 Replies

Flash - Adding Dynamic Content Through Interval

Jan 19, 2012

I am having an issue with adding dynamic content through an interval. The content is being added to the screen, but the X position, as well as the tween, seem to be completely out of sync. The below is a screenshot when the interval is at 100 milliseconds, as it shows it best. The application needs to work at 200 milliseconds (where the error is not as clear, but the lines are still occationally too close, roughly every 4th). As can be seen, there is a clear discrepancy between positioning. It remains fine for a few, then changes, changes again and then finally reverts back to what it was.

Here is my code that controls this section:
function XYZ(){
Score = 90
var timeBefore = Score
if(timeBefore <= 2.4){
timeBefore = 2.5
[Code] .....

Note: It also happens with 200 and 300 milliseconds, although less prominent.

View 1 Replies

Flash Movie Loading In Dynamic Content Which Is Controlled By A CMS?

May 31, 2011

The images are uploaded with an html form onto the server and their path names are loaded into a .txt file for my flash AS to use.The problem I am having seems to be either server lag or browser issues (catching perhaps?).I manage my content via the CMS and once returning to the flash movie it is either old content, half working or just doesn't work, period.What is interesting is that once I locate the text file and view/refresh it manually, it works 100% fine. Now, it's obviously not a very useful set up if I have to manually refresh my txt files so is there a way, (php?, Java? etc?) to refresh these files?

View 5 Replies

ActionScript 2.0 :: Providing Dynamic Content Within A Flash Site?

Jan 19, 2007

What are the best practices for providing dynamic content within a flash site? I am trying to get my head around the idea and I am not sure how to think about this. Are there sites that use a graphic frontend for updating flash content? If so, what is the common way of doing this? XML? PHP+XML+SQL? etc. I am relatively new to all of this but I have been messing with Flash and XML. I can update stuff on my site by just modifying the XML but I want to go a step further now and create a frontend on the web where people could do this.

View 3 Replies

ActionScript 1/2 :: Make A Simple Flash 500x300 With A Dynamic Content From Certain URL?

May 9, 2009

how to make a simple flash 500x300 with a dynamic content from certain URL

View 3 Replies

ActionScript 2.0 :: Dynamic Flash Content Embedded Into A Facebook Fanpage?

Jan 10, 2011

I have dynamic flash content embedded into a Facebook fanpage. The flash file consists of an interactive environment where the mouse icon is substituted with a "flashlight" (i.e.spot of light), and the user "looks" around the dark room, lighting up the different areas with the light. When the light passes over certain areas (invisible buttons), specific "effects" are triggered and an animation ensues, along with an accompanying sound effect.It works great on the original webpage! But the Facebook page has some issues:1) The embedded flash file loads relatively slowly. I can deal with this, but the next issue is what is frustrating;

2) Everything works initially. The "flashlight" works. The background audio works. When the effects are triggered, the accompanying SOUND EFFECT works, but not the animation. After this, none of the effects will trigger. If I refresh the page, and let it load again, then everything will work.This is very frustrating, I can provide a link, if need be (I've had a somewhat similar problem on a website I designed with certain things loading a times, but not at others.

View 2 Replies

ActionScript 3 :: Flash - Can't Change The Content Of A Dynamic Text Inside Of A Button

Oct 11, 2010

I'm starting with AS3, i have a problem. I have a button, and inside the button i have a dynamic text field. The button is inside of a movieclip, the instance name of it is News, the instance name of the button is collegamento and the instance name of the dynamic text is Testo. So knowing this I'm triyng to change the content of the text using:

News.collegamento.Testo.htmlText="text here";

But Flash is giving me this error:

ReferenceError: Error #1069: Property
Testo not found on
flash.display.SimpleButton and there
is no default value. at

[code]....

View 1 Replies

Actionscript 3 :: Make The Actual Stage Dynamic To The Content Loaded In The Flash File?

Nov 9, 2011

I was wondering if there is a way to make the actual stage dynamic to the content loaded in the flash file.

Firstly the method I am using is importing a external swf to the stage into a container called container. The main stage, lets call it index, is still on default size, and I want this to expand dynamically as content is loaded in. page1 may be 900px width, page2 may be 500px width, and as I load the content the index stage should expand the width to that of the page loaded. Some steps I have tried but did not work.

if page1 button is pressed stage.stageHeight = 900; - not working (how do I set stage size in as3)made a movieclip in page 1 spanning the page size and called it p1_stage so I can reference the data from there. trace(container.p1_stage.height); gives this error: TypeError: Error #1010: A term is undefined and has no properties. at index_fla::MainTimeline/frame1()

View 3 Replies

ActionScript 2.0 :: Load Dynamic Content (movies, Text, Or Whatever...) In Flash That Automatically Changes Daily

May 12, 2005

how to load dynamic content (movies, text, or whatever...) in flash that automatically changes daily, depending on the day of week (mon.-sun.)?

View 2 Replies

ActionScript 1/2 :: CreateClassObject Returning Null Value When Creating Dynamic Components?

Sep 7, 2009

createClassObject returning null value when creating dynamic components. I am using the following code

[Code]...
 
this.mc is a movieclip which has the correct value during runtime but when i use createClassObject()  with it its always returning null value.

I have the component dragged into my library. Also the code fails even when i am using mx.controls.Button instead of  controls.PixtorieButton .

View 4 Replies

ActionScript 2.0 :: CreateClassObject Returning Null Value When Creating Dynamic Components?

Sep 7, 2009

createClassObject returning null value when creating dynamic components.

I am using the following code

var __reg2 = new Object();
__reg2.label = _label;
__reg2._width = _w;
__reg2._height = _h;

[Code]....

this.mc is a movieclip which has the correct value during runtime but when i use createClassObject() with it its always returning null value.

I have the component dragged into my library.

Also the code fails even when i am using mx.controls.Button instead of controls.PixtorieButton .

View 0 Replies

ActionScript 2.0 :: Building A Dynamic Content Page In Flash That Consists Of Using AttachMovieClip And CreateEmptyMovieClip With Coordinates To Place Photos And Objects

Oct 15, 2006

I'm building a dynamic content page in flash that consists of using attachMovieClip and createEmptyMovieClip with coordinates to place photos and objects, which are loaded from an external source and scrolling their thumbnails I've run into a problem setting the variables correctly because the scrolling thumbnails required that the thumbnails be nested inside a scrolling controller clip and that has somehow messed up my preloading and sequential text caption loading for the tumbnails.

View 4 Replies

Flex :: Components - Components - Any Component With The Functionality Such As Horizontally Collapsible Window Or Panel

Aug 22, 2010

Do you know any flex component with the functionality such as horizontally collapsible window or panel I found arc90, but it folds vertically.

View 1 Replies

Is It Bad Design To Nest Components Inside Components Using Flex 4

Sep 15, 2010

Is it bad practice/design to nest components inside components using Flex 4? Should I simply be creating components and inserting them into my main application as below, or doesn't it matter?

<com:MyComp1>
<com:MyComp2>
<com:MyComp3>

[code]....

View 1 Replies

ActionScript 2.0 :: Content To Load Into The Loader And Have Its Content Change Once Click On The Other Button Flash 8

Aug 15, 2009

I'm have made some buttons (movie clip) and when I click on it, I want a file (home.swf) to load in a loader (mx.contents.loader) and I want the other buttons to do the same, all load into the same loader. I have no Idea how to do that. The way I have it set up now, the home.swf will load over the entire screen and that is not what I want. I just want the content to load into the loader and have its content change once I click on the other buttons. Here is a copy and past of that I have at the moment, I'm using Flash 8 to do it all.

[Code]...

View 1 Replies

ActionScript 2.0 :: Dynamic Content To A MC?

Jun 13, 2006

On the main timeline I have

_root.float.page_body = '';
loadVariables("content/flash/color_studies.txt", _root.float.page_body);

and I'm using it to pass a txt file to a dynamic text field ( page_body ) inside a MC ( float ). When the text field was on the main timeline, this approach worked great, but now all that appears in the text field is:

View 5 Replies

ActionScript 3.0 :: Have The Swf Content Dynamic?

May 27, 2010

Currently I already have a swf which is pulling parameters from a xml file. Just wondering if an asp cms can rewrite this xml file, so that the swf file is controlled by the cms. Or I should have the CMS directly provide parameters to the swf file, in other words, there is no xml file inbetweet swf and cms. Or there will be other methods..?

View 5 Replies

ActionScript 3.0 :: Flash - Loading External Content On Top Of Main Content?

Jan 28, 2011

I'm loading one SWF into another but the internal one is coming over the main content and that can't happen.here is the part of my code where the external content is being loaded anyone hason what I can do to fix this? here is my code:

Code:
var loadAnimBox:Loader = new Loader();
var vid_mc:MovieClip;

[code].....

View 2 Replies

ActionScript 2.0 :: CS3 Dynamic Content From ASP Page

Aug 5, 2009

I am attempting to dynamically display a series of questions with answers in my flash movie from an existing ASP page. Initially, the dynamic questions imported from an ASP page appear on the Flash page (question 1, 2, 3, etc.). When the user clicks on a question, the flash movie advances a frame and displays the answer. I can display the questions properly, but I am having a difficult time carrying over the question ID to the next frame so that the appropriate answer will display.

The current database fields look like this:

-QuestionID
-Question
-AnswerID
-Answer

This is very simple to do in ASP or PHP but I am having a tough time trying to tie everything together in Flash. Should I create two separate ASP pages, one to query the questions and one to query the answers? How do I carry the QuestionID to the next frame in Flash?

View 4 Replies

ActionScript 3.0 :: Add Dynamic Content To ScrollPane

Dec 16, 2008

I have created a Address Class that uses Remote Hosting to get addresses for site locations and creates the appropriate listings in a MovieClip.

I am trying to use this class as the source for a scroll pane inside another movie clip.

I get the site locations to show up in the scrollPane but they will not scroll.

I believe I need to pause some how in the constructor until I have all the site addresses created. how to get the scrollpane to scroll.


Here are some snippets

The container MovieClip

import FlashCFMXApplication.AL_Addresses;
import fl.containers.ScrollPane;
var scrollPane:ScrollPane;

[Code].....

View 3 Replies

ActionScript 3.0 :: Masking Dynamic Content?

Feb 3, 2009

I'm loading images into an otherwise empty MovieClip called container_mc using UILoaders and spacing them horizontally. I also have the image names as TextFields below the images all within the container. I'm masking the container clip using the following syntax:

container_mc.cacheAsBitmap = true;
mask_mc.cacheAsBitmap = true;
container_mc.mask = mask_mc;

This USUALLY works, but for some reason when I load over 20 images into the container -- the mask no longer works. At first it appears as though it's working but then the text disappears and when I mouse over the images to scroll them horizontally, the mask (which is magenta) appears and disappears -- flickering strangely. Should I be caching? I was under the impression I had to for the dynamic text to show up. Maybe it's the where I placed the code (load-order)?

View 0 Replies

ActionScript 3.0 :: How To Scroll Dynamic Content

Jun 29, 2009

I'm using CS3 and i wrote a in actionscript 3 an .as file that sends a request to a server and gets as a response an xml file. After loading the xml i create dynamically i big number of questions each one of them with some possible choices for the user to select(Radio buttons). The problem is that i have about 40 questions with about 120 radio buttons to show the user but only 5 fit the screen and the others are not visible. Can anyone give me a help using scrollpane or something else so i can give the user a way to see all of the questions and radio buttons available?

View 0 Replies

ActionScript 3.0 :: Presentation With Dynamic Content

Jul 3, 2009

A client asked me to make him a flash presentation file in order to put it on a cdrom and distribute it to his clients.He asked me also to make the presentation file dynamic so it is easy for him to update the content of the presentation and distribute it anew, when there is a change of the content.If it was a web based presentation, I could use php to read folders and populate the data in his presentation file (I had in mind to put folders relative to the file with the content in it ("client_description.txt", photos, "work_description.txt", etc.)). But now that the file he needs is a presentation file. Is it possible to have as3 read the folders of the cdrom?Do you have another proposition to make in order for the making of a dynamic presentation file?

View 5 Replies







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