Professional :: Controlling External Information Using Cue Points?
Apr 13, 2011
I am trying to change information on my site using cue points in my video. My video is in a flash quiz and I am trying to change my objects such as an ad or photo with these cue points. In otherwords, when a video begins, or when a cue point is reached the photo outside the video would change. I am currently using cue points to go to the next frame after the video completes, but I don't know how to make it change things outside the video.
View 2 Replies
Similar Posts:
Jan 11, 2011
I'm trynig to control an sound of a external SWF but I can't seem to get it right,here is the code i'm using to import the sound
mport flash.media.Sound;import flash.net.URLRequest;import flash.display.Sprite;import flash.media.SoundChannel;import flash.events.Event;import flash.events.MouseEvent;var _som1:Sound;var _channel1:SoundChannel;var _playing1:Boolean = false;var[code]...
View 16 Replies
Jul 20, 2009
I'm using the new 3D tool in flash to let pictures rotate around there center. To not let it look distorted I will have to adjust the vanishing points for these images separately, however I can't find an option to control them separately. The seem linked for all my 3D movieclips. This will result in having only 1 moviclip animated right. So the question is: how do I control the vanishing points for each movieclip separately?
View 1 Replies
Aug 4, 2010
I've got a project that has an FLV with cue points controlling when graphics appear in the swf file. The graphics are being loaded into empty movie clips via AS on the stage (everything is being loaded and unloaded into the first frame of the main stage). What the client wants is a pause button that will pause/play both the FLV and graphics being loaded in the swf.
View 1 Replies
Oct 6, 2005
does the file have to be loaded before you can read the ID3 tags of an MP3?
View 2 Replies
Oct 9, 2006
I need to read an external information from a TXT file or from an XML file, but as a number. I know Number() should convert string to number, but seems like the XML gives me an array, while I used XPath.selectNodes(durationXML, "/xml/@")... I used this code:
Code:
durationXML = new XML();
durationXML.ignoreWhite = true;
durationXML.load("duration.php?filename=projects/tracks
[Code]....
View 4 Replies
Dec 3, 2008
I am trying to use external xml to set cue point times (for video), titles, and other parameters. I have everything set up, except getting the proper data from the xml file to set the parameters for my cue points. I am researching hard and learning quickly
View 2 Replies
Apr 30, 2010
I have a question about the loader class.I was reading some of the documentation on the follow web page:http:[url]....And I didn't get very far before I had my first question about how the loader class pulls in external information:
Quote:The loaded display object is added as a child of the Loader object.
Question one: By "display object" they are referring to your external content (.swf / .jpg / .mp3) correct?
Question two: "is added as a child of the Loader object" Dose this mean that you could define one instance of the loader class, and then have several URLRequests that plug into that one loader class.So in other words can you have multiple forms of content from different directory's being loaded through ONE loader class instance?I'm a visual person so I mapped my current understanding of this process in the follow Img.
View 2 Replies
Jan 26, 2012
I have a video that is playing in an FLVplayback Component, inside of a MovieClip. I have a cue point in the video about half way through, that triggers a seperate MovieClip (on the Parent timeline). This worked perfectly until I removed the Parent MovieClip, and made it an External SWF. Now the cue point triggers this in the Output window:
Code:
ArgumentError: Error #2109: Frame label head_fade not found in scene head_fade.
at flash.display::MovieClip/gotoAndPlay()
at M_fla::head_intro_7/fl_CuePointHandler()
at flash.events::EventDispatcher/dispatchEventFunction()
[Code]....
Do i have to do anything different now that this is in an external file.
View 3 Replies
Jul 5, 2009
I'm kinda noobish when it comes to getting information from XML information sent to my flash file from the socket server. OK so for example the server sends me this:
[Code]...
I want to get the name of the user and the X and Y position! Is there a way I can get this information without a load of fuss from functions and other junk remember im kinda noobish.
View 1 Replies
Feb 11, 2011
I want to build a program built around my pc specs. Is there a way to access such information as how much ram I have or how much cpu usage is being consumed, etc.?
View 2 Replies
Apr 14, 2009
how use a button (or movieclip) to filter information out of a datagrid based on an external XML document. For example, say, the data were types of fruit along with their corresponding prices, but the user was only interested in the price of apples. To see only those records or rows with apples and the corresponding apple prices, the user would press the "Apples" button.
Creating the datagrid seems pretty straight forward, it's just the second part that's stumped me. Whatever the answer is would seem to go at the end where the "trace" is now. There seems to be many, many Web sites that sort of touch on this subject.I typed of the following from memory (I'm at work now), but I think this is pretty much what I have so far.
import fl.controls.dataGridClasses.DataGridColumn;import fl.data.DataProvider;
var food:XML;var urlLoader:URLLoader;var urlRequest:URLRequest = new URLRequest("food_list.xml");urlLoader = new URLLoader();urlLoader.load(urlRequest);[code].............
View 2 Replies
Jan 26, 2011
I am using location.loadMovie("image 1.jpg") to load images into my site, seeing how these images are not within my swf. but externally stored they load when I goto the location in the timeline, not in the beginning of my swf file with the other content (after my preloader runs) is there a way to have a preloader show up ( I want to use load % and movie clip for preloader) and tell you how much is loaded so someone knows there is an image there that is being loaded and not just a blank screen?
View 1 Replies
Jun 9, 2011
I want to add the required information to the 'Summary' tab when looking at the properties of an SWF file.Could somebody tell me how to do add the required informations .
View 5 Replies
Dec 30, 2009
I have a question and would like some help with creating a flash gallery but for showing information rather than pictures. I will try to make this as clear as possible but if its confusing please let me know and I will give more details.
Basically I trying to make a vertical timeline on the lefthand side with years (in text) which expand slightly on mousover and when clicked show the relavent information on the righthand side for that year.I can't seem to get the text to expand on mouseover?
View 2 Replies
Dec 23, 2010
What I'm trying to do, is to get weather informations from a flash animation on a web page. I'd like to convert those informations into data for statistical purposes.
View 4 Replies
Oct 22, 2011
I already know that AS3 cannot retrieve mysql database information directly
so instead you have to access it with PHP print the contents into xml and have AS3 read the XML are there any other methods of doing it?
View 3 Replies
Mar 21, 2012
I have been importing illustrator .ai artwork into my project, and along the way, something wierd has happened with resizing stuff. If I am putting font iside a movieclip that is being used for a button, I can put the same size font into two different moviclips and they are different sizes. I somehow zero them out so they are 100% at the size I want or do I have to resize in another porgram and then reimport into Flash?Am I missing a magic button here?
View 2 Replies
Apr 17, 2011
I am unable to produce the kind of synchronization effects I would like to in ActionScript. The issue is that I need to make several external calls to get various pieces of outside information in response to a user request, and the way items will be laid out on the page is dependent on what each of these external calls returns. So, I don't care that all of these calls return asynchronously. However, is there any way to force some amount of synchronization on ActionScript, so that at least calling the method for doing the final layout and placement of items on the page is dependent on all of my calls finishing?
View 1 Replies
Jul 6, 2009
I'm attempting to create a website that uses externally loaded swf files into a shell animation like in Creating A Full Flash Site, only I'm trying to give each swf its own website url (ie. site.com/home, site.com/page2) while still using a single shell animation.
View 1 Replies
May 3, 2010
I have spend my whole day trying to find a good way to access ID3 tags in AS3.0;In my project I am making a sound object and assigning it a URL: Then I stream the sound into a sound channel:[code]I want to read the ID3 tag somehow and display the artist name or anything in the ID3 tag, onto the screen.I Have the URL change through user input, and naturally I want to update all the information with the new ID3 tags information.[code]
View 9 Replies
Feb 5, 2011
I'm have some videos and I would like to add analytics so I can track how many times they were played. Although it sounds like a simple task, I can't seem to find much on the subject.
View 1 Replies
Jul 20, 2011
I am thinking of creating an app which will read the contents i mean the library of the fla/swc file and use it to check whether the items present in that swc/fla is used in as3 project.... can do it manually... but wanna automate it..
View 1 Replies
Dec 17, 2011
I would like my video to play through the external flv once, and then loop back to the middle of the external flv.I have made 3 cue points on the stage in actionscript, labeled "beginning","middle", and "end.here is my code which seems like it should work, however, I get an invalid seek 1009 error.
stop();
import fl.video.FLVPlayback;
import fl.video.VideoEvent;
import fl.video.MetadataEvent;[code]......
View 3 Replies
Aug 27, 2007
I am working on a project that needs to have the swf controlled by an external javascript file, I'm looking for something very simple like basically telling the swf what frame to go to in the main timeline. I know it's possible because I did it 4 years ago, the problem is that project and computer are long gone.
View 0 Replies
Feb 14, 2009
I've loaded my external SWF, now I want to animate a MC within that external swf, however, when i try, the animation freezes (or won't start at all), but the external SWF DOES load.Here is my loader code
Code:
var _externalMovie:MovieClip
var _url1:URLRequest = new URLRequest("intro.swf")
[code]........
View 4 Replies
Jul 30, 2009
I'm trying to figure out how this is done or if this is even do-able. here is my situation, I using AS2.0 and with that i have created a mc loader, here is the code for that
[Code]...
View 1 Replies
Jun 19, 2007
I can't find a way to control an external SWF in AS3 like I used to be able to in AS2. This used to be a real simple way (among others) in AS2:[code]Unfortunately this has been abolished in AS3 . To load a SWF externally from a separate SWF file (on a separate CPU) in AS3, you now must now use a URL request along with a load request. However, the SWF is tied into this loader object of which's class does not contain "play", "stop", "currentFrame", "nextFrame", "prevFrame", "gotoAndPlay", "gotoAndStop", etc.According to the help panel, you can target any of the loader's child's methods by virtue of calling "loader.content" but it doesn't work. When I trace my "loader.content".... all I get back that it is an [Object Main Timeline] when I would expect it to be [Object MovieClip] if it were to have the methods I need.I need to do all sorts of gotoAndStop / gotoAndPlay functionality with external SWFs on another CPU. I have a nice XML server running successfully.
View 12 Replies
Jun 11, 2008
i am loading an external swf in to a movie clip and controlling it by using a slider with a knob. once the onEnterFrame is encountered the swf starts to play. This can be paused. But after pause the knob cannot be moved by using the startDrag().
View 1 Replies
Jan 20, 2010
I have a flash website in development and I'm using external .swf files for the sub pages. In my main.swf file I have a loading function that works and everything is fine and dandy there. My problem is that when I am loading the external "content" swf files into my main swf file, the actionscript that is embedded in my external .swf is not functional (there are buttons in the content swf with event listeners to control them). I have a movie clip holder set up and placed on my stage in the main swf file and that is what I am adding the content swf's to.
Now in all of my attempts to isolate the problem I have noticed one thing. If I add the external "content" swf directly to the stage of my main swf file, the code works, but if I add it to my container mc (which I have basically set up to control the position that the content is loaded to and to set up boundaries/masks to control the content from overspilling) then the code is not operational.
Code:
The code below is called by my loadContent function on my main swf
contentmc = MovieClip(event.target.content); // the external swf is assigned to a movie clip object
addChild(contentmc); // when using this, code works in the external swf
contentwindow.addChild(contentmc); // when using this, code in the external swf no longer works.
View 2 Replies