From flash develop into flash builder?
Recently, I'm trying to use flashbuilder as the editor to associate with augmented reality. I'm useing in2ar sdk to compile the ar function. In the official in2ar tutorial they used flash develop as a example. However, when I import the sdk to the flash builder and try to run the example, it just samplely not working. In the console window, it just show [SWF] with the path of Main.swf - 1.285 bytes after decompression. Anyone know what wrong with this? The sdk and example works perfect in flash develop.
Go to the Insert menu in DW and select swf. Find the .swf that you want to use and select it. Save the file and then use the Preview in Browser tool. Alternately, you can use the Publish function in the File menu in Flash to publish an html docuement that you can then open in DW.
Similar Messages
-
Import a video player made in flash cs4 into flash builder 4
I want to import a video player made in flash cs4 into flash builder 4. Are there any pitfalls that i should be aware of?
pdf is not a supported file type in flash.
-
Retrieving the score value from the captivate into flash
Hi,
We have used Captive 2 to built course & publishing it as
a non e-learning output
and loading the published swf file in custom built flash
movie (wrapper).
We have accessed some of the captivate variables to control
the captivate swf.
Does anyone know how to retrieve the score value from the
captivate into flash ?
Thanks
Regards
ChetanHello,
Use the Object Browser in .NET and search on "Summaryinfo" and you'll find the API to use.
Thank you
Don -
Pull images from SQL/PHP into Flash
I have a website that displays images that are stored in a
SQL database using PHP as a method for pulling and displaying the
images. These images are stored in the database as text (ex:
image1), then the PHP looks for the image like this:
<img src="images/Photograph/<?php echo
$row_rs_Photos['Image']; ?>.jpg" alt="" width="<?php echo
$row_rs_Photos['Thumb_Width']; ?>" height="<?php echo
$row_rs_Photos['Thumb_Height']; ?>" border="0" title="" />
I want to pull these images into Flash. I've done a bunch of
ActionScripting, but am no expert. Really don't have the foggiest
idea where to start.
-kirkI seem to have this one working, kinda. It has an array and
automatically numbers the buttons, but there are some buttons, that
ask SQL to return a photo that doesn't exist. For instance, there
is no 7 or 8 ID in my SQL, so those buttons don't work:
http://www.lbiphotos.com/Flash/loadImages_finished.html
PHP Code:
<?php require_once('my.php'); ?>
<?php
if (!function_exists("GetSQLValueString")) {
function GetSQLValueString($theValue, $theType,
$theDefinedValue = "", $theNotDefinedValue = "")
$theValue = get_magic_quotes_gpc() ? stripslashes($theValue)
: $theValue;
$theValue = function_exists("mysql_real_escape_string") ?
mysql_real_escape_string($theValue) :
mysql_escape_string($theValue);
switch ($theType) {
case "text":
$theValue = ($theValue != "") ? "'" . $theValue . "'" :
"NULL";
break;
case "long":
case "int":
$theValue = ($theValue != "") ? intval($theValue) : "NULL";
break;
case "double":
$theValue = ($theValue != "") ? "'" . doubleval($theValue) .
"'" : "NULL";
break;
case "date":
$theValue = ($theValue != "") ? "'" . $theValue . "'" :
"NULL";
break;
case "defined":
$theValue = ($theValue != "") ? $theDefinedValue :
$theNotDefinedValue;
break;
return $theValue;
$colname_rs_Photos = "-1";
if (isset($_GET['passID'])) {
$colname_rs_Photos = (get_magic_quotes_gpc()) ?
$_GET['passID'] : addslashes($_GET['passID']);
mysql_select_db($database_LBI_Photos_Connection,
$LBI_Photos_Connection);
$query_rs_Photos = sprintf("SELECT ID_Photos, Image,
YearPhotographed FROM Photos WHERE ID_Photos = %s",
GetSQLValueString($colname_rs_Photos, "int"));
$rs_Photos = mysql_query($query_rs_Photos,
$LBI_Photos_Connection) or die(mysql_error());
$row_rs_Photos = mysql_fetch_assoc($rs_Photos);
$totalRows_rs_Photos = mysql_num_rows($rs_Photos);
$imageId = $_GET['passID'];
//MUST use code below to grab $images
$images =
$row_rs_Photos['YearPhotographed'].'/'.$row_rs_Photos['Image'];
print "image=" . $images;
?>
<?php
mysql_free_result($rs_Photos);
?>
ACTIONSCRIPT:
function loadImage(passID:Number) {
var resultLv:LoadVars = new LoadVars();
var sendLv:LoadVars = new LoadVars();
resultLv.onLoad = function(success) {
if (success) {
mcLoader.loadClip(imagePath+this.image+".jpg",
loadContainer);
trace("passID: "+passID);
sendLv.sendAndLoad(phpPath+"?passID="+String(passID),
resultLv);
function loadInit(target:MovieClip) {
trace("Begin Loading File");
trace("imagePath + this.image ; "+imagePath+this.image);
function assignButtons() {
for (var i in loadButtons) {
this[loadButtons
].numberTxt.text = String(Number(i)+1);
this[loadButtons].onRollOver = function() {
this.gotoAndStop(2);
this[loadButtons
].onRollOut = function() {
this.gotoAndStop(1);
this[loadButtons].onRelease = function() {
trace("String(this).length "+String(this).length);
if (String(this).length == 16) {
loadImage(Number(String(this).substring(String(this).length-1)));
if (String(this).length == 17) {
loadImage(Number(String(this).substring(String(this).length-2)));
var loadButtons:Array = new Array('loadBtn1', 'loadBtn2',
'loadBtn3', 'loadBtn4', 'loadBtn5', 'loadBtn6', 'loadBtn7',
'loadBtn8', 'loadBtn9', 'loadBtn10', 'loadBtn11', 'loadBtn12',
'loadBtn13', 'loadBtn14', 'loadBtn15', 'loadBtn16');
var loadContainer:MovieClip =
this.createEmptyMovieClip("loadContainer",
this.getNextHighestDepth());
var siteUrl:String = "
http://www.lbiphotos.com";
var imagePath:String = siteUrl+"/images/Photograph/";
var phpPath:String = siteUrl+"/Flash/images.php";
var mcLoader:MovieClipLoader = new MovieClipLoader();
var mcLoadObj:Object = new Object();
mcLoadObj.onLoadInit = loadInit;
mcLoader.addListener(mcLoadObj);
//below centers called image
loadContainer._x = (Stage.width/2-100);
loadContainer._y = (Stage.height/2-100);
assignButtons(); -
Compressing and importing from Final Cut into Flash
Hi,
I am trying to import a short film into Flash to create a swf file which I want to use on the web.
I compressed the film to a smaller Quicktime film and imported it into Flash, worked fine, but I don't get any sound.I did mark the box import audio.
Any suggestions?
thanks
Silkeextract the audio from your original movie and attach it to your SWF
dunno too much about Flash, but you should try importing your audio and video as seperate assets
or forget flash - u could just put it up as a movie (QT,MP4,WMV(!).....) or create an animated gif (e.g. with fireworks) and attach the audio file to it......
good luck! -
Loading Image from HTML page into Flash component
Ok, after doing much research on the internet, I am pretty
sure you have to be a Flash and Actionscripting Jedi in order to
solve this issue. Here we go:
I have created an HTML page using PHP and MySql that displays
image thumbnails. When a user chooses and clicks on one of the
thumbnails, I want the larger image to be loaded into my swf. It is
a jigsaw puzzle component I picked up here: www.crifano.com. Here
is the puzzle on my page with an image manually inserted using
Flash 8 (Note: This is only working in Internet Explorer right now,
for whatever reason):
http://premieretans.com/puzzle/jigsaw.php.
I want the image on this page to be chosen by the user from a
number of images that are populated on a regular PHP/HTML page from
a MySql database. What is the best way to go about this?
Thanks so much for the help on this matter. I know I am not
the only person who has run into this dilemma, so I hope your
knowledge will save others with a similar problem the hours I have
spent on this issue myself. Thank you!
Cheers-
CharlesHi,
There's no direct support for this. But you could implement
drag and drop the way you normally would in javascript. Except
here, on mouseUp over a div encapsulating the object or embed tag
(the flash object), you'll need to make a call into actionscript
from javascript indicating that a drag and drop happened.
For more info, see
how
to drag and drop using javascript and
actionscript
and javascript communication -
Importing Flash buttons into Flash
I've created a nice button as a movie clip in Flash 10 CS4
Actionscript 3 so that the button changes with mouse_over and it
all works fine, both with Test Movie and separately playing the swf
file. The problem is I want to use this button in a variety of
Flash applications. I thought all I would have to do was to export
the button as swf and then import it into the new Flash program as
a button symbol and add the ActionScript code for mouse_click etc.
I didn't expect to be able to edit the button in the new program,
but I thought it would run OK. What happens is that the button
appears, but all the movie clip behaviour is missing -- it's just a
static object that doesn't respond to mouse_over. I've tried
importing it as a button and as a movie clip -- neither works.
Given my primitive experience of ActionScript and Flash, the only
work around I can think of is to put all the ActionScript code for
the button in each application. This will be a big task, as various
layers and scripts are involved.
There must be something simple that I am missing, but I can't
seems to find this problem addressed anywhere. Most people seem to
want to use their Flash buttons in non-Flash applications like html
web pages. Help, please, from someone who can make Flash sing and
dance (or at least more than I can) ...You can copy and paste any item in the Library of one movie
to the Library of a second movie. If you do that, you can get the
button into your new movie. You will still need to bring the
actionscript over from one movie to the other. You can do this in a
similar copy and paste manner. -
Importing Flash MovieClips into Flash
When I import a SWF (a published flash project), I seem to
have an issue with the fat that all of the internal ActionScripts
which are part of the imported file just dont seem to run. I was
hoping to have the Movie Run as its own instance while the
application does what is suppose 2.
Is it suppose to strip all the ActionScript stuff? If so, can
I not explicity ask it not too?It doesn't strip out the AS, but depending no how the AS is
written, it may not run properly. Usually, its a scoping issue. For
instance, if the original SWF has a reference to _root, that
reference means something different once its brought into your
wrapper SWF. Probably need to go back to the original FLA (and the
original developer) to fix it.
Good luck! -
How do I insert Flash Gallery into Flash page?
Hi, I've created my own web page in Flash (Dreamweaver front) with Flash elements in a separate swf file. I want to create a gallery only on the front page of my site but I'm not sure if I can create new and insert on the page, or if need to create a new swf file on the timeline - not sure how to do this and not mess up my site? Any help?
Create an empty movieclip symbol in the main file and palce it on the stage exactly where you want the top left corner of the gallery to be. Assign an instance name to that movieclip.
Then use the loadMovie or MovieClipLoader.loadClip functions to load the swf file into that movieclip. If you need to somehow control the gallery via the main file, then you would be better off using the loadClip approach because it supports having an event listener to be bale to tell when the file is loaded.
You should be able to find an example in the Help documentation of using the loadMovie function for loading it into the empty movieclip I said to add earlier.
If your gallery uses _root references in its code, you will probably have to add " this.lockRoot = true; " to the main timeline of the gallery file. Otherwise, those references will be targeting the main file it is loading into. -
Embed flash movie into flash site
I'm sorry if this has been answered elsewhere i searched around a while and couldn't find a solution.
Basically i have these buttons that I want to link to a movie that would come up in a popup window that has the controller options- to stop play, fastforward, etc. I made one already using flash CS4 and exported it to a .swf file. how do i link the button to the .swf file to open a pop up window- where i can control the size of the pop up window? also- when i upload the .swf file do i need to upload the encoded .f4v video to my server too? I'm open to a completely different way of doing this as well!! any help is appreciatedHi thanks for the reply. i had looked through this link before. the problem is I am not trying to a website to open in the popup window. I want to open a .swf file in a popup window....any other suggestions?
also- i imported a .f4v movie to flash cs4- chose one of their skins and exported is as my .swf file. will this work?
thanks a million for any help im rather daft at this!! -
Retaining transparency in After Effects, to be imported into flash
Hi
I have created a sequence in after effects using Illustrator images and the partical system. I want to export/render this out with a transparent background and in a format recognised by Flash. Then I want to bring it into Flash and play it over realtime footage from a webcam.
Anyway I have tried to:
render it out using FLV
render it out using Quicktime with RGB + Alpha and millions of colours+
Render it out using Targa etc
I have tried to:
Export it with SWF
Export it with XFL
Ant others I just cant remember.
Is it possible to bring a transparent backgrounded file from After Effects into Flash?
If so, how can it be done?
Any help is greatly appreciated.
Thanks Maireadbogiesan wrote:
Animation is the one I use most often. I should be using ProRes 4444 for ease of integration into Apple's Motion and Final Cut apps but I keep forgetting it's available.
...and here's another candidate: PNG the codec, not the image sequence. It also supports Alpha Channels, and unless you're making animated lower-thirds, the file sizes are generally smaller than Animation files.
Animation uses run length encoding, so in situations with large expanses of transparency as in lower-thirds, the file sizes can be downright compact. -
Loading purchased swf into Flash Builder 4 Flex app
I have purchased a Flash "fundraising thermometer" from an online Flash components site. It takes input from an xml file and displays a thermometer with the goal at the top and the current amount raised indicated. It came with the following files:
thermometer.swf
thermometer01.fla
thermometer01.html (A sample that works.)
xml/thermometer.xml (The source file: goal amount, current amount, mark interval, etc.)
caurina/transitions (Mostly .as files.)
Since the test html (thermometer01.html) works fine, I thought this would be a no-brainer.
I first unzipped the files into a "thermometer" folder in my current project. I then went into Flash Builder and created a SWFLoader object as follows:
<mx:SWFLoader
id="myLoader" source="../thermometer/thermometer.swf" complete="initThermometer();" autoLoad="true" scaleContent="false"/>\
private function initThermometer():void {
Alert.show('Thermometer loaded');
The Design view looks fine. I can see the thermometer default image (see below).
When I run the app, I get no errors, just a broken image link in a box (see below). The alert box also never shows up.
I'm new to Flex, so I may be doing something stupid that keeps this from working. I contacted the author of the thermometer widget but he doesn't know anything about Flex.
Any help figuring out how to get this to work in a flex app would be appreciated.You should probably add more event handlers to see what's going on. Especially "ioError". The complete list is below. For coverage, add a handler for each event. You can also use in MXML
complete="initThermometer(event)
and add an argument to your Actionscript method, to find out details about the event.
private function initThermometer(event:Event):void {
Alert.show('Thermometer loaded ' + event.type);}
Events
complete="No default"
httpStatus="No default"
init="No default"
ioError="No default"
open="No default"
progress="No default"
securityError="No default"
unload="No default
General info here:
http://livedocs.adobe.com/flex/3/langref/mx/controls/SWFLoader.html
I did not test my code suggestions, but it's probably close. -
Application Type: Flex Mobile Application
Target Platform: iPad
AIR Version: 4.0
Development Environment: Flash builder 4.6
I want to run some code just before iphone application goes into background. I need function similar to didEnterBackground
of native xcode app
(https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIApplicationDelegat e_Protocol/Reference/Reference.h
tml#//apple_ref/occ/intfm/UIApplicationDelegate/applicationDidEnterBackground:)
I tried using devactivated function of flash.display.STAGE.
I used following addEventListener:
STAGE = this.parent.stage;
STAGE.addEventListener(Event.DEACTIVATE, onAppDeactivated);
It worked for me but only when device is connected to development environment in debug mode. When I create my release build
it is not working.
So how can I make sure that my code runs before application goes into background.Even I am facing almost same issue
Problem installing Adhoc version to iPhone and iPad - Development Environment Is - Adobe Flash CS6 -
Starting iOS development with Flash Builder 4.6
Hi guys,
I want to start iOS development with Flash Builder 4.6. I have iPad 2 with iOS 6 installed (latest version available).
I was following this tutorial step by step: http://help.adobe.com/en_US/flex/mobileapps/WS064a3073e805330f6c6abf312e7545f65e-8000.html #WSe4e4b720da9dedb5-27e02e9a12ee20e4a60-7fff
As a part of it I also did this:
Convert a developer certificate into a P12 file - http://help.adobe.com/en_US/as3/iphone/WS144092a96ffef7cc-371badff126abc17b1f-7fff.html
Installed AIR SDK version 3.4.0.2540 as for 4.5 (I have 4.6) - http://helpx.adobe.com/flash-builder/kb/error-run-debug-deploy-ios.html
I try Now I am getting the follwoing errors:
Error occurred while packaging the application:
SDK is missing file /Applications/Adobe Flash Builder 4.6/sdks/4.6.0/lib/aot/lib/AIRInterpreter
Error occurred while packaging the application:
SDK is missing file /Applications/Adobe Flash Builder 4.6/sdks/4.6.0/lib/aot/bin/ld64/i686-apple-darwin9-ld64
Required files are missing indeed. But where can I find them if AIR SDK doesn't have them? What should I do now?All the files in lib/aot/ are part of the AIR sdk.
You'll have to overlay the AIR sdk on top of the Flex SDK (which comes with FlashBuilder).
On windows, simply copy-paste the AIR folder on the Flex SDK folder. (merge the two folders)
On mac, use a command line and ditto the AIR sdk folder on Flex SDK folder. -
ELIPS Studio from Open Plug to develop with Flash or Flex
ELIPS Studio is a development application which converts Flash/Flex into a usable Apple Store iPad app, as stated by Open Plug, the owners of ELIPS, who can be found at www.openplug.com They state you can develop apps using Flash/Flex and their software will convert the Adobe Flash/Flex code into a product usable on Apple iPhone, iTouch, and iPad products. I want to confirm this statement from Apple that this software is accepted as a development platform for your products and that I can sell apps created with ELIPS Studio on the Apple Store with no complications or rejection from Apple. The recent controversy with Adobe Flash and Flex platform has made me skeptical and wanted an "OFFICIAL" verdict on ELIPS from Apple.
Thanks
Alex DoveSorry, but you will not get any sort of official responses from Apple here. These forums are for user-to-user technical assistance and are not an official method for communicating with Apple.
I've not seen Apple make any statement of official support on any third-party application development platform, but if you're a member of the Apple Developer Program for iOS, you can try contacting Developer Support and see if they can give you an official statement on the matter.
Regards.
Maybe you are looking for
-
$49 Adobe Special Mainconcept Encoder?
What happened to that stand alone $49 Mainconcept Encoder. Ordered it, credit card didn't go through, went back, and now it's not available. I really liked the trial version quality. It was regular $149. Can't find it any where. Was version 1.05.01.0
-
Accessing data from other SAP system
Hi experts I need to access data from one SAP system from other. My requirement is , perform applications (programs) in some SAP system, but using/accessing data from other SAP system . For example, when we press F4 we get the match code (search he
-
How can I download from digital voice recorder (DS-2000) into itunes?
I would like to download recordings from my Olympus DS-2000 into itunes so I can then burn a cd for use elsewhere. However, when I connect the DS-2000 to my G5 the recorder goes into remote mode and doesn't show up on the desktop as an unidentified i
-
Best settings for Airport extreme
I have grande internet service - fiber optic to the house. What are the best settings for my AEBS? When I connect directly - bypassing the AEBS - I get much much faster internet service. What are the best settings? Thanks
-
Invalid identified error in procedure
hi I have a package that has a declare variable ,vfilename. I set the value of the variable vfilename to a file name for eg 'abc.txt' when the package scenario is callled. Now this file is the source for an interface that loads from this file to a ta